Online source for Czech republic

Started by bratrekim, September 15, 2014, 04:48:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bratrekim

Hello everybody and thanks to the author for this awesome app!



Yesterday I started to mess with onlinemapsources.xml file in order to add some good new sources.

I partially succeeded, but at last I encountered quite a strange problem. I added this source of very good hiking maps:


<onlinemapsource uid="72">
<name>MapyCZ Turisticka (CZ)</name>
<url><![CDATA[http://m1.mapserver.mapy.cz/turist/{$z}_{$x}_{$y}]]></url>
<minzoom>3</minzoom>
<maxzoom>13</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>t</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
</onlinemapsource>


For some reason it keeps downloading an error tile which says "This zoom level is unavailable for this map. Try different zoom level or a different map.".



Oruxmaps app is apparently trying to download tiles that are out of zoom range or out of map borders.



URL is OK. You can try e.g. http://m1.mapserver.mapy.cz/turist/8_8000000_8000000">//http://m1.mapserver.mapy.cz/turist/8_8000000_8000000



Could you please help me?

orux

#1
Quote from: "bratrekim"Hello everybody and thanks to the author for this awesome app!



Yesterday I started to mess with onlinemapsources.xml file in order to add some good new sources.

I partially succeeded, but at last I encountered quite a strange problem. I added this source of very good hiking maps:


<onlinemapsource uid="72">
<name>MapyCZ Turisticka (CZ)</name>
<url><![CDATA[http://m1.mapserver.mapy.cz/turist/{$z}_{$x}_{$y}]]></url>
<minzoom>3</minzoom>
<maxzoom>13</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>t</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
</onlinemapsource>


For some reason it keeps downloading an error tile which says "This zoom level is unavailable for this map. Try different zoom level or a different map.".



Oruxmaps app is apparently trying to download tiles that are out of zoom range or out of map borders.



URL is OK. You can try e.g. http://m1.mapserver.mapy.cz/turist/8_8000000_8000000">//http://m1.mapserver.mapy.cz/turist/8_8000000_8000000



Could you please help me?


Hi,



That map doesn't use the google tile format.



x = 8000000, y = 8000000, z = 8 is not a valid tile.



orux

bratrekim

#2
I see... more complicated than I expected.



Never mind, I found another source of almost identical maps that works fine. (http://mtbmap.cz/">http://mtbmap.cz/)