OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Join the forum, it's quick and easy

OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>
OruxMaps
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Speedup some WMS sources

Go down

Speedup some WMS sources Empty Speedup some WMS sources

Post  yip Wed Feb 08, 2012 6:11 pm

Hi

just my 2 cents

some WMS can be quite a pain to access, the URL being long and the protocol is unforgiving.
I've discovered recently that some WMS servers can be accessed like the GoogleMaps servers, with X,Y,Z simple URL, and therefore be configured in "onlinemapsources.xml" and not wms_services.xml.

latest MapServer software ( version > 5.0 ) can be polled with Gmap style URL instead of WMS URL:
see this url : tilemode

the URL ends with something like "&layers=XXX&mode=tile&tilemode=gmap&tile=x+y+z"

Another advantage is that it is a bit faster (from my experience). I think its because the WMS server can now cache predefined tiles instead of generating new one at each request of each client.

the software behind the WMS has to be MapServer > 5.0. other server would not work.

The easiest way to test this for your favorite WMS is:
- fetch the GetCapabilities and check if it's a MapServer one.
- if yes, test it by replacing the HTTP parameters by "&layers=XXX&mode=tile&tilemode=gmap&tile=x+y+z" with x,y,z taken from a known googlemap tile

jm

yip

Cantidad de envíos : 40
Fecha de inscripción : 2012-01-21

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum