OruxMaps

Uncategorized Boards => MAPAS/MAPS => Topic started by: bratrekim on September 15, 2014, 04:48:37 PM

Title: Online source for Czech republic
Post by: bratrekim on September 15, 2014, 04:48:37 PM
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



Could you please help me?
Title: Re: Online source for Czech republic
Post by: orux on September 15, 2014, 08:56:01 PM
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



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
Title: Re: Online source for Czech republic
Post by: bratrekim on September 16, 2014, 01:09:36 PM
I see... more complicated than I expected.



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