Custom TMS map: flipped Y axis

Started by edorap90, April 11, 2018, 11:09:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

edorap90

Hi all,



I have created some custom TMS maps that have a flipped Y axis.

I should apply the conversion formula (2^z - y - 1) in the <yop></yop> field inside the onlinemapsources.xml file.

I know I can use SQLite syntax but SQLite has no power function available.

Do you have any idea how to perform this easy math operation inside the onlinemapsources.xml file?



Thanks,



Edoardo

orux

#1
Quote from: edorap90 post_id=13211 time=1523437799 user_id=7264
Hi all,



I have created some custom TMS maps that have a flipped Y axis.

I should apply the conversion formula (2^z - y - 1) in the <yop></yop> field inside the onlinemapsources.xml file.

I know I can use SQLite syntax but SQLite has no power function available.

Do you have any idea how to perform this easy math operation inside the onlinemapsources.xml file?



Thanks,



Edoardo


Hello;



you can use '0' yop; it is that function:   <yop>0</yop>



also remember that 2^ is a shift binary opperation; you can use sqlite transformation:  ((1​<<$z)-1-$y)





orux

edorap90

#2
Hi orux, thaks for the reply.



I tried with <yop>0</yop> but the tiles are still not loaded.

If I try <yop>((1​<<$z)-1-$y)</yop> the onlinepasources.xml file is not loaded at all.



The tiles are generated with Qtiles plugin in QGIS.



Here is the code in my onlinemapsources.xml file:


  <onlinemapsource uid="920">
      <name>Slope</name>
      <url><![CDATA[https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/{$z}/{$x}/{$y}.png]]></url>
      <minzoom>10</minzoom>
      <maxzoom>16</maxzoom>
      <projection>MERCATORESFERICA</projection>
      <servers></servers>
      <httpparam name=""></httpparam>
      <cacheable>1</cacheable>
      <downloadable>1</downloadable>
      <maxtilesday>0</maxtilesday>
      <maxthreads>0</maxthreads>
      <xop></xop>
      <yop></yop>
      <zop></zop>
      <qop></qop>
      <sop></sop>
   </onlinemapsource>


The layer is visible between zoom=[10:16], lat=[41.63135N:43.02222N] and lon=[13.00781E:14.77524E].

orux

#3
Quote from: edorap90 post_id=13222 time=1523480299 user_id=7264
Hi orux, thaks for the reply.



I tried with <yop>0</yop> but the tiles are still not loaded.

If I try <yop>((1​<<$z)-1-$y)</yop> the onlinepasources.xml file is not loaded at all.



The tiles are generated with Qtiles plugin in QGIS.



Here is the code in my onlinemapsources.xml file:



The layer is visible between zoom=[10:16], lat=[41.63135N:43.02222N] and lon=[13.00781E:14.77524E].


Hello;



I think <yop>0</yop> it is working fine.



if (x,y,z) = (1103,760,11) --> (1103,1287,11) but the server response is:



https://www.meteoaquilano.it/abruzzo/ingv_dem10_slope_qtiles3/11/1103/1287.png">https://www.meteoaquilano.it/abruzzo/in ... 3/1287.png">https://www.meteoaquilano.it/abruzzo/ingv_dem10_slope_qtiles3/11/1103/1287.png



is tile missing



if you use the sqlite formula, replace < with &lt;

<yop>((1​&lt;&lt;$z)-1-$y)</yop>





orux

edorap90

#4
Sorry, there was an error in the url, the right one is https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/%7B$z%7D/%7B$x%7D/%7B$y%7D.png">//https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/{$z}/{$x}/{$y}.png.



Now you can see the tile https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/11/1103/1287.png">//https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/11/1103/1287.png.



But still it doesn't work in oruxmaps with both the functions that you suggested.

orux

#5
Quote from: edorap90 post_id=13224 time=1523484354 user_id=7264
Sorry, there was an error in the url, the right one is https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/%7B$z%7D/%7B$x%7D/%7B$y%7D.png">//https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/{$z}/{$x}/{$y}.png.



Now you can see the tile https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/11/1103/1287.png">//https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/11/1103/1287.png.



But still it doesn't work in oruxmaps with both the functions that you suggested.


Hello;



it works;



refresh the map list if you manually change something in the xml file.



https://ibb.co/h6GZjx">



<onlinemapsource uid="920">
      <name>Slope</name>
      <url><![CDATA[https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/{$z}/{$x}/{$y}.png]]></url>
      <minzoom>10</minzoom>
      <maxzoom>16</maxzoom>
      <projection>MERCATORESFERICA</projection>
      <servers></servers>
      <httpparam name=""></httpparam>
      <cacheable>1</cacheable>
      <downloadable>1</downloadable>
      <maxtilesday>0</maxtilesday>
      <maxthreads>0</maxthreads>
      <xop></xop>
      <yop>((1&lt;&lt;$z)-1-$y)</yop>
      <zop></zop>
      <qop></qop>
      <sop></sop>
   </onlinemapsource>

edorap90

#6
I used exactly your code and it doesn't work to me, I have no clue why.

I refreshed the map list and deleted the map cache every time I edited the onlinemapsource file.

I tried OruxMaps v.7.2.5 and OruxMaps v.7.2.13beta1 using both the default profile and a custom one. I can see the map in the map list but if I select it the tiles are not loaded.

I'm running Android 4.1.2

edorap90

#7
Quote from: orux post_id=13226 time=1523521847 user_id=2


Hello;



it works;



refresh the map list if you manually change something in the xml file.



https://ibb.co/h6GZjx">



<onlinemapsource uid="920">
      <name>Slope</name>
      <url><![CDATA[https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/{$z}/{$x}/{$y}.png]]></url>
      <minzoom>10</minzoom>
      <maxzoom>16</maxzoom>
      <projection>MERCATORESFERICA</projection>
      <servers></servers>
      <httpparam name=""></httpparam>
      <cacheable>1</cacheable>
      <downloadable>1</downloadable>
      <maxtilesday>0</maxtilesday>
      <maxthreads>0</maxthreads>
      <xop></xop>
      <yop>((1&lt;&lt;$z)-1-$y)</yop>
      <zop></zop>
      <qop></qop>
      <sop></sop>
   </onlinemapsource>



Quote from: edorap90 post_id=13227 time=1523524506 user_id=7264
I used exactly your code and it doesn't work to me, I have no clue why.

I refreshed the map list and deleted the map cache every time I edited the onlinemapsource file.

I tried OruxMaps v.7.2.5 and OruxMaps v.7.2.13beta1 using both the default profile and a custom one. I can see the map in the map list but if I select it the tiles are not loaded.

I'm running Android 4.1.2


I made a fresh installation of OruxMaps v.7.2.12 on another device running Android 4.4.2, I've added the code you posted in /oruxmaps/mapfiles/onlinemapsources.xml, refreshed the maplist, selected the new Slope map, positioned the map where I'm sure there are tiles but they're still not loaded.

orux

#8
Hello;



it works, or using '0' xop:



<onlinemapsource uid="920">
      <name>Slope</name>
      <url><![CDATA[https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/{$z}/{$x}/{$y}.png]]></url>
      <minzoom>10</minzoom>
      <maxzoom>16</maxzoom>
      <projection>MERCATORESFERICA</projection>
      <servers></servers>
      <httpparam name=""></httpparam>
      <cacheable>1</cacheable>
      <downloadable>1</downloadable>
      <maxtilesday>0</maxtilesday>
      <maxthreads>0</maxthreads>
      <xop></xop>
      <yop>0</yop>
      <zop></zop>
      <qop></qop>
      <sop></sop>
   </onlinemapsource>

edorap90

#9
Quote from: orux post_id=13229 time=1523528145 user_id=2
Hello;



it works, or using '0' xop:



<onlinemapsource uid="920">
      <name>Slope</name>
      <url><![CDATA[https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/{$z}/{$x}/{$y}.png]]></url>
      <minzoom>10</minzoom>
      <maxzoom>16</maxzoom>
      <projection>MERCATORESFERICA</projection>
      <servers></servers>
      <httpparam name=""></httpparam>
      <cacheable>1</cacheable>
      <downloadable>1</downloadable>
      <maxtilesday>0</maxtilesday>
      <maxthreads>0</maxthreads>
      <xop></xop>
      <yop>0</yop>
      <zop></zop>
      <qop></qop>
      <sop></sop>
   </onlinemapsource>



I guess you meant "using '0' yop".

Anyway, I tried already in this way on both devices and OruxMaps verisions and it does not work.

edorap90

#10
I made a try changing the name of the .png files using the formula  y = (2^z - y - 1), and I can see them in leaflet.

Then I edited the onlinemaprource file leaving the <yop> empty but I cannot load the tiles yet.



I've also put the tiles at zoom 10 in the sdcard with the right directory structure and I added a new source in the .xml to read them directly from the device, but the tiles do not show up.

 

Probably is not a problem of the .xml file.

orux

#11
Quote from: edorap90 post_id=13232 time=1523536253 user_id=7264
I made a try changing the name of the .png files using the formula  y = (2^z - y - 1), and I can see them in leaflet.

Then I edited the onlinemaprource file leaving the <yop> empty but I cannot load the tiles yet.



I've also put the tiles at zoom 10 in the sdcard with the right directory structure and I added a new source in the .xml to read them directly from the device, but the tiles do not show up.

 

Probably is not a problem of the .xml file.




Hello;



I can see the map (online) on different devices (7.0 and 8.0).



Do you see the other online maps available by default in oruxmaps?



orux

edorap90

#12
Quote from: orux post_id=13233 time=1523545187 user_id=2
Hello;



I can see the map (online) on different devices (7.0 and 8.0).



Do you see the other online maps available by default in oruxmaps?



orux


Hi orux,



yes I can see the other maps present in the .xml.

I tried both default and custom source files.

orux

#13
Quote from: edorap90 post_id=13237 time=1523546548 user_id=7264
Quote from: orux post_id=13233 time=1523545187 user_id=2
Hello;



I can see the map (online) on different devices (7.0 and 8.0).



Do you see the other online maps available by default in oruxmaps?



orux


Hi orux,



yes I can see the other maps present in the .xml.

I tried both default and custom source files.


send me your onlinemapsources.xml file, the one you have in theinternal storage, oruxmaps/mapsfiles/ folder,





orux

edorap90

#14
Quote from: orux post_id=13238 time=1523547506 user_id=2


send me your onlinemapsources.xml file, the one you have in theinternal storage, oruxmaps/mapsfiles/ folder,





orux


This is my onlinemapsources.xml file:


<?xml version="1.0" encoding="utf-8"?>
<onlinemapsources>

<onlinemapsource uid="3">
<name>OpenStreetMap Cyclemap</name>
<url><![CDATA[http://{$s}.tile.opencyclemap.org/cycle/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://www.opencyclemap.org/">OpenStreetMap Cyclemap</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>17</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>a,b,c</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

<onlinemapsource uid="4">
<name>OpenStreetMap Mapnik</name>
<url><![CDATA[http://{$s}.tile.openstreetmap.org/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://www.openstreetmap.org">OpenStreetMap Mapnik</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>a,b,c</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

<onlinemapsource uid="104">
<name>OpenSeaMap</name>
<url><![CDATA[http://tiles.openseamap.org/seamark/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://www.openseamap.org/">OpenSeaMap</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

<onlinemapsource uid="12">
<name>Statkart Toporaster 2 (NO)</name>
<url><![CDATA[http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=toporaster2&zoom={$z}&x={$x}&y={$y}]]></url>
<website><![CDATA[<a href="http://statkart.no">statkart.no</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>17</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>0,1,2,3</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="13">
<name>Statkart Topo2 (NO)</name>
<url><![CDATA[http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=topo2&zoom={$z}&x={$x}&y={$y}]]></url>
<website><![CDATA[<a href="http://statkart.no">statkart.no</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>17</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>0,1,2,3</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="17">
      <name>Hike and Bike (DE)</name>
      <url><![CDATA[ http://toolserver.org/tiles/hikebike/{$z}/{$x}/{$y}.png]]></url>
      <website><![CDATA[<a href="http://hikebikemap.de/">Hike and Bike</a>]]></website>
      <minzoom>0</minzoom>
      <maxzoom>18</maxzoom>
      <projection>MERCATORESFERICA</projection>
      <servers>a,b,c</servers>
      <httpparam name="User-Agent">{om}</httpparam>
      <cacheable>1</cacheable>
      <downloadable>1</downloadable>
      <maxtilesday>0</maxtilesday>
      <maxthreads>0</maxthreads>
      <xop></xop>
      <yop></yop>
      <zop></zop>
      <qop></qop>
   </onlinemapsource>

<onlinemapsource uid="23">
<name>OS Street View 1:10000 (UK)</name>
<url><![CDATA[http://os.openstreetmap.org/sv/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://os.openstreetmap.org/">OS Street View</a>]]></website>
<minzoom>6</minzoom>
<maxzoom>17</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="26">
<name>OpenPisteMap</name>
<url><![CDATA[http://tiles.openpistemap.org/contours/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://openpistemap.org/">OpenPisteMap</a>]]></website>
<minzoom>8</minzoom>
<maxzoom>16</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="28">
<name>US VFR Sectional Charts by Chartbundle (US)</name>
<url><![CDATA[http://wms.chartbundle.com/tms/1.0.0/sec/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://www.chartbundle.com/charts/">Chartbundle US Sectional</a>]]></website>
<minzoom>4</minzoom>
<maxzoom>13</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop>((1&lt;&lt;$z)-1-$y)</yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="29">
<name>US VFR Terminal Area Charts by Chartbundle (US)</name>
<url><![CDATA[http://wms.chartbundle.com/tms/1.0.0/tac/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://www.chartbundle.com/charts/">Chartbundle US Terminal Area</a>]]></website>
<minzoom>4</minzoom>
<maxzoom>14</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop>0</yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="30">
<name>US VFR World Aeronautical Charts by Chartbundle (US)</name>
<url><![CDATA[http://wms.chartbundle.com/tms/1.0.0/wac/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://www.chartbundle.com/charts/">Chartbundle US World Aeronautical</a>]]></website>
<minzoom>4</minzoom>
<maxzoom>12</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop>0</yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="31">
<name>US IFR Enroute Low Charts by Chartbundle (US)</name>
<url><![CDATA[http://wms.chartbundle.com/tms/1.0.0/enrl/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://www.chartbundle.com/charts/">Chartbundle US Enroute Low</a>]]></website>
<minzoom>4</minzoom>
<maxzoom>13</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop>0</yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="32">
<name>US IFR Enroute High Charts by Chartbundle (US)</name>
<url><![CDATA[http://wms.chartbundle.com/tms/1.0.0/enrh/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://www.chartbundle.com/charts/">Chartbundle US Enroute High</a>]]></website>
<minzoom>4</minzoom>
<maxzoom>12</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop>0</yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="33">
<name>US IFR Area Charts by Chartbundle (US)</name>
<url><![CDATA[http://wms.chartbundle.com/tms/1.0.0/enra/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://www.chartbundle.com/charts/">Chartbundle US Area</a>]]></website>
<minzoom>4</minzoom>
<maxzoom>13</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop>0</yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="76">
<name>Freemap (SK)</name>
<url><![CDATA[http://t{$s}.freemap.sk/T/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://www.freemap.sk/">Freemap SK</a>]]></website>
<minzoom>8</minzoom>
<maxzoom>16</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>0,1,2,3</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>0</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

<onlinemapsource uid="80">
<name>Topo 4umaps</name>
<url><![CDATA[http://tileserver.4umaps.eu/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://4umaps.eu/index.htm">4umaps.eu Maps</a>]]></website>
<minzoom>3</minzoom>
<maxzoom>15</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="84">
<name>Hungarian (HU)</name>
<url><![CDATA[http://terkep.turistautak.hu/tiles/turistautak-domborzattal/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://map.turistautak.hu/">map.turistautak.hu Maps</a>]]></website>
<minzoom>8</minzoom>
<maxzoom>17</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="85">
<name>OpenMaps.eu (Central Europe)</name>
<url><![CDATA[http://tmap.elte.hu/tiles3/1/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<a href="http://openmaps.eu/">OpenMaps.eu</a>]]></website>
<minzoom>8</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

    <onlinemapsource uid="197">
        <name>USGS Topo (US)</name>
        <url><![CDATA[http://basemap.nationalmap.gov/ArcGIS/rest/services/USGSTopo/MapServer/tile/{$z}/{$y}/{$x}]]></url>
        <website><![CDATA[<a href="http://viewer.nationalmap.gov">USGS Maps</a>]]></website>
        <minzoom>0</minzoom>
        <maxzoom>20</maxzoom>
        <projection>MERCATORESFERICA</projection>
        <servers></servers>
        <httpparam name="User-Agent">{om}</httpparam>
        <httpparam name="Referer">www.oruxmaps.com</httpparam>
        <cacheable>1</cacheable>
        <downloadable>1</downloadable>
        <maxtilesday>0</maxtilesday>
        <maxthreads>0</maxthreads>
        <xop></xop>
        <yop></yop>
        <zop></zop>
        <qop></qop>
    </onlinemapsource>

    <onlinemapsource uid="196">
        <name>USGS Imagery Only (US)</name>
        <url><![CDATA[http://basemap.nationalmap.gov/ArcGIS/rest/services/USGSImageryOnly/MapServer/tile/{$z}/{$y}/{$x}]]></url>
        <website><![CDATA[<a href="http://viewer.nationalmap.gov">USGS Maps</a>]]></website>
        <minzoom>0</minzoom>
        <maxzoom>20</maxzoom>
        <projection>MERCATORESFERICA</projection>
        <servers></servers>
        <httpparam name="User-Agent">{om}</httpparam>
        <httpparam name="Referer">www.oruxmaps.com</httpparam>
        <cacheable>1</cacheable>
        <downloadable>1</downloadable>
        <maxtilesday>0</maxtilesday>
        <maxthreads>0</maxthreads>
        <xop></xop>
        <yop></yop>
        <zop></zop>
        <qop></qop>
    </onlinemapsource>

    <onlinemapsource uid="195">
        <name>USGS Vector Base Map (US)</name>
        <url><![CDATA[http://basemap.nationalmap.gov/ArcGIS/rest/services/TNM_Vector_Small/MapServer/tile/{$z}/{$y}/{$x}]]></url>
        <website><![CDATA[<a href="http://viewer.nationalmap.gov">USGS Maps</a>]]></website>
        <minzoom>0</minzoom>
        <maxzoom>20</maxzoom>
        <projection>MERCATORESFERICA</projection>
        <servers></servers>
        <httpparam name="User-Agent">{om}</httpparam>
        <httpparam name="Referer">www.oruxmaps.com</httpparam>
        <cacheable>1</cacheable>
        <downloadable>1</downloadable>
        <maxtilesday>0</maxtilesday>
        <maxthreads>0</maxthreads>
        <xop></xop>
        <yop></yop>
        <zop></zop>
        <qop></qop>
    </onlinemapsource>
   
    <onlinemapsource uid="206">
<name>MapQuest-OSM</name>
<url><![CDATA[http://otile{$s}.mqcdn.com/tiles/1.0.0/map/{$z}/{$x}/{$y}.jpg]]></url>
<website><![CDATA[Tiles Courtesy of <a href="http://www.mapquest.com/" target="_blank">MapQuest</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>17</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>1,2,3,4</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

<onlinemapsource uid="207">
<name>MapQuest Open Aerial</name>
<url><![CDATA[http://otile{$s}.mqcdn.com/tiles/1.0.0/sat/{$z}/{$x}/{$y}.jpg]]></url>
<website><![CDATA[Tiles Courtesy of <a href="http://www.mapquest.com/" target="_blank">MapQuest</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>1,2,3,4</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>
   
<onlinemapsource uid="972">
 <name>Israel Hiking Map (IL)</name>
 <url><![CDATA[http://osm.org.il/IsraelHiking/Tiles/{$z}/{$x}/{$y}.png]]></url>
 <minzoom>7</minzoom>
 <maxzoom>16</maxzoom>
 <projection>MERCATORESFERICA</projection>
 <servers></servers>
 <httpparam name=""></httpparam>
 <cacheable>1</cacheable>
 <downloadable>1</downloadable>
 <xop></xop>
 <yop></yop>
 <zop></zop>
 <qop></qop>
</onlinemapsource>

<onlinemapsource uid="407">
<name>OpenWeatherMap Clouds</name>
<url><![CDATA[http://{$s}.tile.openweathermap.org/map/clouds/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[Map data © <a href="http://www.openweathermap.org/" target="_blank">OpenWeatherMap</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>a,b,c</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>0</cacheable>
<downloadable>0</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<transparency>0.5</transparency>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

<onlinemapsource uid="408">
<name>OpenWeatherMap Precipitation</name>
<url><![CDATA[http://{$s}.tile.openweathermap.org/map/precipitation/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[Map data © <a href="http://www.openweathermap.org/" target="_blank">OpenWeatherMap</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>a,b,c</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>0</cacheable>
<downloadable>0</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<transparency>0.5</transparency>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

<onlinemapsource uid="409">
<name>OpenWeatherMap Pressure</name>
<url><![CDATA[http://{$s}.tile.openweathermap.org/map/pressure_cntr/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[Map data © <a href="http://www.openweathermap.org/" target="_blank">OpenWeatherMap</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>a,b,c</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>0</cacheable>
<downloadable>0</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<transparency>0.5</transparency>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

<onlinemapsource uid="410">
<name>OpenWeatherMap Wind</name>
<url><![CDATA[http://{$s}.tile.openweathermap.org/map/wind/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[Map data © <a href="http://www.openweathermap.org/" target="_blank">OpenWeatherMap</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>a,b,c</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>0</cacheable>
<downloadable>0</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<transparency>0.5</transparency>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

<onlinemapsource uid="411">
<name>OpenWeatherMap Snow</name>
<url><![CDATA[http://{$s}.tile.openweathermap.org/map/snow/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[Map data © <a href="http://www.openweathermap.org/" target="_blank">OpenWeatherMap</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>a,b,c</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>0</cacheable>
<downloadable>0</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<transparency>0.5</transparency>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

<onlinemapsource uid="412">
<name>OpenWeatherMap Temp</name>
<url><![CDATA[http://{$s}.tile.openweathermap.org/map/temp/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[Map data © <a href="http://www.openweathermap.org/" target="_blank">OpenWeatherMap</a>]]></website>
<minzoom>0</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>a,b,c</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>0</cacheable>
<downloadable>0</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<transparency>0.5</transparency>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

<onlinemapsource uid="414">
<name>OpenTopoMap</name>
<url><![CDATA[http://{$s}.tile.opentopomap.org/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[Kartendaten: © <a href="https://openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>-Mitwirkende, SRTM | Kartendarstellung: © <a href="http://opentopomap.org/" target="_blank">OpenTopoMap</a>]]></website>
<minzoom>7</minzoom>
<maxzoom>15</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>a,b,c</servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

   <onlinemapsource uid="902">
      <name>Mapsurfer HillShades</name>
      <url><![CDATA[http://129.206.66.245:8004/tms_hs.ashx?x={$x}&y={$y}&z={$z}]]></url>
      <minzoom>0</minzoom>
      <maxzoom>20</maxzoom>
      <projection>MERCATORESFERICA</projection>
      <servers></servers>
      <httpparam name=""></httpparam>
      <cacheable>1</cacheable>
      <downloadable>1</downloadable>
      <maxtilesday>0</maxtilesday>
      <maxthreads>0</maxthreads>
      <xop></xop>
      <yop></yop>
      <zop></zop>
      <qop></qop>
      <sop></sop>
   </onlinemapsource>

   <onlinemapsource uid="903">
      <name>Mapsurfer Contours</name>
      <url><![CDATA[http://129.206.66.245:8006/tms_il.ashx?x={$x}&y={$y}&z={$z}]]></url>
      <minzoom>0</minzoom>
      <maxzoom>17</maxzoom>
      <projection>MERCATORESFERICA</projection>
      <servers></servers>
      <httpparam name=""></httpparam>
      <cacheable>1</cacheable>
      <downloadable>1</downloadable>
      <maxtilesday>0</maxtilesday>
      <maxthreads>0</maxthreads>
      <xop></xop>
      <yop></yop>
      <zop></zop>
      <qop></qop>
      <sop></sop>
   </onlinemapsource>

<onlinemapsource uid="904">
      <name>Mapsurfer Map</name>
      <url><![CDATA[http://129.206.66.245:8001/tms_r.ashx?x={$x}&y={$y}&z={$z}]]></url>
      <minzoom>0</minzoom>
      <maxzoom>20</maxzoom>
      <projection>MERCATORESFERICA</projection>
      <servers></servers>
      <httpparam name=""></httpparam>
      <cacheable>1</cacheable>
      <downloadable>1</downloadable>
      <maxtilesday>0</maxtilesday>
      <maxthreads>0</maxthreads>
      <xop></xop>
      <yop></yop>
      <zop></zop>
      <qop></qop>
      <sop></sop>
   </onlinemapsource>

<onlinemapsource uid="911">
      <name>Mapsurfer Boundaries</name>
      <url><![CDATA[http://129.206.66.245:8007/tms_b.ashx?x={$x}&y={$y}&z={$z}]]></url>
      <minzoom>0</minzoom>
      <maxzoom>20</maxzoom>
      <projection>MERCATORESFERICA</projection>
      <servers></servers>
      <httpparam name=""></httpparam>
      <cacheable>1</cacheable>
      <downloadable>1</downloadable>
      <maxtilesday>0</maxtilesday>
      <maxthreads>0</maxthreads>
      <xop></xop>
      <yop></yop>
      <zop></zop>
      <qop></qop>
      <sop></sop>
   </onlinemapsource>

<onlinemapsource uid="906">  
    <name>Google Maps</name>  
    <url><![CDATA[http://mt{$s}.google.com/vt/lyrs=m@121&hl={$l}&x={$x}&y={$y}&z={$z}]]></url>  
    <minzoom>0</minzoom>  
    <maxzoom>20</maxzoom>  
    <projection>MERCATORESFERICA</projection>  
    <servers>0,1,2,3</servers>  
    <httpparam name=""></httpparam>  
    <cacheable>1</cacheable>  
    <downloadable>1</downloadable>  
    <maxtilesday>0</maxtilesday>  
    <maxthreads>0</maxthreads>  
    <xop></xop>  
    <yop></yop>  
    <zop></zop>  
    <qop></qop>  
    <sop></sop>  
</onlinemapsource>  

<onlinemapsource uid="907">
<name>Google Earth</name>
<url><![CDATA[http://www.google.cn/maps/vt?lyrs=s@168&x={$x}&y={$y}&z={$z}]]></url>
<minzoom>0</minzoom>
<maxzoom>20</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>0,1,2,3</servers>
<httpparam name=""></httpparam>
<cacheable>1</cacheable>  
<downloadable>1</downloadable>  
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="908">  
    <name>Google Terrain</name>  
    <url><![CDATA[http://mt{$s}.google.com/vt/lyrs=t,r&hl=zh_TW&x={$x}&y={$y}&z={$z}]]></url>  
    <minzoom>0</minzoom>  
    <maxzoom>20</maxzoom>  
    <projection>MERCATORESFERICA</projection>  
    <servers>0,1,2,3</servers>  
    <httpparam name=""></httpparam>  
    <cacheable>1</cacheable>  
    <downloadable>1</downloadable>  
    <maxtilesday>0</maxtilesday>  
    <maxthreads>0</maxthreads>  
    <xop></xop>  
    <yop></yop>  
    <zop></zop>  
    <qop></qop>  
    <sop></sop>  
</onlinemapsource>

<onlinemapsource uid="957">
<name>Bing Earth</name>
<url><![CDATA[http://a0.ortho.tiles.virtualearth.net/tiles/a{$q}.jpg?g=45]]></url>
<minzoom>1</minzoom>
<maxzoom>19</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="110">
<name>Outdoor Active Map</name>
<url><![CDATA[http://s{$s}.outdooractive.com/portal/map/{$z}/{$x}/{$y}.png]]></url>
<minzoom>8</minzoom>
<maxzoom>17</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>0,1,2,3</servers>  
<httpparam name=""></httpparam>
<cacheable>1</cacheable>  
<downloadable>1</downloadable>  
<maxtilesday>0</maxtilesday>  
<maxthreads>0</maxthreads>  
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="111">
<name>Outdoor Active Slope</name>
<url><![CDATA[http://s{$s}.outdooractive.com/map/xGradient/{$z}/{$x}/{$y}.png]]></url>
<minzoom>8</minzoom>
<maxzoom>17</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>0,1,2,3</servers>  
<httpparam name=""></httpparam>
<cacheable>1</cacheable>  
<downloadable>1</downloadable>  
<maxtilesday>0</maxtilesday>  
<maxthreads>0</maxthreads>  
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

<onlinemapsource uid="920">
<name>Slope</name>
<url><![CDATA[https://www.meteoaquilano.it/abruzzo/ingv_dem10m_slope_qtiles3/{$z}/{$x}/{$y}.png]]></url>
<minzoom>10</minzoom>
<maxzoom>16</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name=""></httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop>((1&lt;&lt;$z)-1-$y)</yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

</onlinemapsources>