HI Mitxel
 
good idea to extend the Wiki. Go ahead!
 
There is already a place with other ready to go maps:
 
https://bitbucket.org/maproom/qmapshack/wiki/DocMapsTipsTricks#markdown-header-some-more-wms-wmts-server-maps
 
If  the dropbox link is a stabel you can add it there.
 
 
I am following the discussion here
 
http://www.mendiak.net/viewtopic.php?p=711089#p711089
 
Thanks for advocating QMapShack and also thanks to Toliao for writing the nice review.
 
Oliver
 
Gesendet: Dienstag, 18. Juli 2017 um 14:02 Uhr
Von: Mitxel <[email protected]>
An: "QLandkarte GT" <[email protected]>
Betreff: [Qlandkartegt-users] WMTS server as TMS (workaround for spanish IGN maps)
Hi all
 

Nearly the same trick applied to WMS  can be done to build a WMTS request. Here is an example for Spanish IGN Raster map:

 

 

<TMS>

<Layer idx="0">

<Title>IGN topografico</Title>

<Script><![CDATA[(

function convert(z1,x1,y1)

{y=(1<<z1)-1-y1;

return "http://www.ign.es/wmts/mapa-raster?request=getTile&format=image/png&layer=MTN&TileMatrixSet=GoogleMapsCompatible&TileMatrix="+z1+"&TileCol="+x1+"&TileRow="+y1;

}

)]]></Script>

</Layer>

<Copyright>IGN</Copyright>

</TMS>

 

For most cases you only have to edit the URL string before &TileMatrix=

 

Note that WMTS request is `getTile` instead of `getMap` , so there is no need to define a BBOX, but the `TileMatrix`, `TileRow`, and `TileCol` parameters must be included.

 

This is a useful workaround if loading a map with its WMTSCapabilities.xml file fails.

 

I will put it in the wiki ;-)

 

--

 

and more:I have put some  Spanish IGN onlinemaps TMS files  to download here:

 

https://www.dropbox.com/s/sfzxdehmdqfs784/ESP_IGN_QMS_onlinemaps.zip?dl=0

 

Mitxel

 

 

 

 

------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to