Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - edorap90

#1
MAPAS/MAPS / Re: Custom TMS map: flipped Y axis
April 13, 2018, 10:57:30 AM
Quote from: orux post_id=13240 time=1523557122 user_id=2
Hello;



Using an android 5.0 device, I get a 403 (forbidden) response.



Check the server logs; maybe you find why this response.





orux


Quote from: edorap90 post_id=13241 time=1523565003 user_id=7264
I thought that it could be a problem between Android and the server.

Anyway I also tried to load the tiles from the sdcard, and it didn't work. I substituted to the url of the map source in the xml file the string: file:///directory_path/{$z}/{$x}/{$y}.png

Is it right?


I've also put some tiles on another server and it doesn't work too.

I guess it's not a server fault.

Is it possible to find somewhere the OruxMaps logs?
#2
MAPAS/MAPS / Re: Custom TMS map: flipped Y axis
April 12, 2018, 10:30:03 PM
I thought that it could be a problem between Android and the server.

Anyway I also tried to load the tiles from the sdcard, and it didn't work. I substituted to the url of the map source in the xml file the string: file:///directory_path/{$z}/{$x}/{$y}.png

Is it right?
#3
MAPAS/MAPS / Re: Custom TMS map: flipped Y axis
April 12, 2018, 06:00:48 PM
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>
#4
MAPAS/MAPS / Re: Custom TMS map: flipped Y axis
April 12, 2018, 05:22:28 PM
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.
#5
MAPAS/MAPS / Re: Custom TMS map: flipped Y axis
April 12, 2018, 02:30:53 PM
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.
#6
MAPAS/MAPS / Re: Custom TMS map: flipped Y axis
April 12, 2018, 12:28:56 PM
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.
#7
MAPAS/MAPS / Re: Custom TMS map: flipped Y axis
April 12, 2018, 12:09:40 PM
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.
#8
MAPAS/MAPS / Re: Custom TMS map: flipped Y axis
April 12, 2018, 11:15:06 AM
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
#9
MAPAS/MAPS / Re: Custom TMS map: flipped Y axis
April 12, 2018, 12:05:54 AM
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.
#10
MAPAS/MAPS / Re: Custom TMS map: flipped Y axis
April 11, 2018, 10:58:19 PM
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].
#11
MAPAS/MAPS / Custom TMS map: flipped Y axis
April 11, 2018, 11:09:59 AM
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
#12
MEJORAS/NEW FEATURES / Re: SLOPE LAYER USING DEM
February 18, 2018, 12:23:44 AM
I'm happy that this topic brought to an interesting discussion and a slope map implemented in the new beta (thanks OruxMaps!).



The SRTM resolution is not enough for skitouring purposes, but it can be ok for other stuff. So to make the app more flexible to different usages I suggest the possibility to use different DEM sources, like GeoTIFF with arbitrary projections.



A good color scheme is necessary to provide good informations to the user, so choosing the right colors is crucial. A good start can be the color scheme used also by the swiss avalanche warning service (here is an example https://goo.gl/VDRQXF">//https://goo.gl/VDRQXF).



I think that these two points are the most important ones, than it's possible to refine the details using all the great Maki's suggestions.
#13
MEJORAS/NEW FEATURES / SLOPE LAYER USING DEM
February 07, 2018, 12:16:08 PM
Hi!

I know that this topic was already discussed (http://www.oruxmaps.com/foro/viewtopic.php?f=8&t=1406">//http://www.oruxmaps.com/foro/viewtopic.php?f=8&t=1406) but it's been 5 years since it was opened and I guess something has changed.

Oruxmaps has already introduced the hillshading for Mapsforge maps based on DEMs but a slope map is still missing. Why don't introduce it using DEMs to obtain something similar to this https://www.openslopemap.org/karte/">//https://www.openslopemap.org/karte/?

It could be available for almost all over the world and will be super useful for winter sports and a grate upgrade for oruxmaps. Many skitourers are waiting for it!