Trying to include waymarkedtrails.org

Started by peter9999, June 12, 2016, 05:48:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

peter9999

I tryed to include the overlays of waymarkedtrails.org in orux as shown in http://www.oruxmaps.com/foro/viewtopic.php?f=7&t=1785">//http://www.oruxmaps.com/foro/viewtopic.php?f=7&t=1785 as seen below.



It is shown in the menu, but it only shows a picture in zoomlevel 11. All other levels show nothing. What´s going wrong, or what have I made wrong?




<onlinemapsource uid="3">
      <name>Waymarkedtrails Cycling</name>
      <url><![CDATA[ http://tile.waymarkedtrails.org/cycling/{$z}/{$x}/{$y}.png]]></url>
      <website><![CDATA[ <a href="http://cycling.waymarkedtrails.org/">Waymarkedtrails Cycing</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>

6745th@web.de

#1
You're example uses opencyclemap.

For cycling it should look like:



<onlinemapsource uid="1002">

      <name>waymarked Cycling</name>

      <url><![CDATA[http://tile.waymarkedtrails.org/cycling/%7B$z%7D/%7B$x%7D/%7B$y%7D.png">http://tile.waymarkedtrails.org/cycling ... }/{$y}.png">http://tile.waymarkedtrails.org/cycling/{$z}/{$x}/{$y}.png]]></url>

      <website><![CDATA[<a href="http://waymarkedtrails.org/%22%3ELonvia">http://waymarkedtrails.org/">Lonvia Cycling</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>

peter9999

#2
Sorry, wrong CutAndPaste!



I corrected it in the original post! Of course I have edited the onlinemapsources.xml with the Waymarkedtrails-data!



It seems to be the same you use, but I have the problem I described!



peter

mitxelin

#3
Hi all



In this post I send  the map definition for all waymarkedtrails (hiking,cycling,mtb,riding,sakting,slopes) :



http://www.oruxmaps.com/foro/viewtopic.php?f=7&t=3434#p8256">//http://www.oruxmaps.com/foro/viewtopic.php?f=7&t=3434#p8256

 

The message (with notes) is in spanish, so I copy/paste here the plain text map definiton:



---------------

<onlinemapsource uid="601">

<name>waymarkedtrails hiking</name>

<url><![CDATA[http://tile.waymarkedtrails.org/hiking/%7B$z%7D/%7B$x%7D/%7B$y%7D.png">http://tile.waymarkedtrails.org/hiking/ ... }/{$y}.png">http://tile.waymarkedtrails.org/hiking/{$z}/{$x}/{$y}.png]]></url>

<website><![CDATA[<a href="http://hiking.waymarkedtrails.org/es/%22%3Ewaymarkedtrails%3C/a">http://hiking.waymarkedtrails.org/es/"> ... dtrails</a">http://hiking.waymarkedtrails.org/es/">waymarkedtrails</a>]]></website>

<minzoom>2</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="602">

<name>waymarkedtrails cycling</name>

<url><![CDATA[http://tile.waymarkedtrails.org/cycling/%7B$z%7D/%7B$x%7D/%7B$y%7D.png">http://tile.waymarkedtrails.org/cycling ... }/{$y}.png">http://tile.waymarkedtrails.org/cycling/{$z}/{$x}/{$y}.png]]></url>

<website><![CDATA[<a href="http://cycling.waymarkedtrails.org/es/%22%3Ewaymarkedtrails%3C/a">http://cycling.waymarkedtrails.org/es/" ... dtrails</a">http://cycling.waymarkedtrails.org/es/">waymarkedtrails</a>]]></website>

<minzoom>2</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="603">

<name>waymarkedtrails MTB</name>

<url><![CDATA[http://tile.waymarkedtrails.org/mtb/%7B$z%7D/%7B$x%7D/%7B$y%7D.png">http://tile.waymarkedtrails.org/mtb/{$z}/{$x}/{$y}.png]]></url>

<website><![CDATA[<a href="http://mtb.waymarkedtrails.org/es/%22%3Ewaymarkedtrails%3C/a">http://mtb.waymarkedtrails.org/es/">waymarkedtrails</a>]]></website>

<minzoom>2</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="604">

<name>waymarkedtrails skating</name>

<url><![CDATA[http://tile.waymarkedtrails.org/skating/%7B$z%7D/%7B$x%7D/%7B$y%7D.png">http://tile.waymarkedtrails.org/skating ... }/{$y}.png">http://tile.waymarkedtrails.org/skating/{$z}/{$x}/{$y}.png]]></url>

<website><![CDATA[<a href="http://skating.waymarkedtrails.org/es/%22%3Ewaymarkedtrails%3C/a">http://skating.waymarkedtrails.org/es/" ... dtrails</a">http://skating.waymarkedtrails.org/es/">waymarkedtrails</a>]]></website>

<minzoom>2</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="605">

<name>waymarkedtrails riding</name>

<url><![CDATA[http://tile.waymarkedtrails.org/riding/%7B$z%7D/%7B$x%7D/%7B$y%7D.png">http://tile.waymarkedtrails.org/riding/ ... }/{$y}.png">http://tile.waymarkedtrails.org/riding/{$z}/{$x}/{$y}.png]]></url>

<website><![CDATA[<a href="http://riding.waymarkedtrails.org/es/%22%3Ewaymarkedtrails%3C/a">http://riding.waymarkedtrails.org/es/"> ... dtrails</a">http://riding.waymarkedtrails.org/es/">waymarkedtrails</a>]]></website>

<minzoom>2</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="606">

<name>waymarkedtrails slopes</name>

<url><![CDATA[http://tile.waymarkedtrails.org/slopemap/%7B$z%7D/%7B$x%7D/%7B$y%7D.png">http://tile.waymarkedtrails.org/slopema ... }/{$y}.png">http://tile.waymarkedtrails.org/slopemap/{$z}/{$x}/{$y}.png]]></url>

<website><![CDATA[<a href="http://slopemap.waymarkedtrails.org/es/%22%3Ewaymarkedtrails%3C/a">http://slopemap.waymarkedtrails.org/es/ ... dtrails</a">http://slopemap.waymarkedtrails.org/es/">waymarkedtrails</a>]]></website>

<minzoom>2</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>



------------



I use them as translucent map. They are perfect for creating a multilayer map in order to see waymarkedtrails above another base map.



http://i289.photobucket.com/albums/ll239/mitxelin/foroak/Om-shot_zps4idg8x4z.png~original">



It looks better if you apply a 0.7 traslucent factor to the waymarkedtrails map, so the information of the basemap is not hidden.







Hope it helps



Mitxel

peter9999

#4
Thank you!



It works now, but I don´t know why. :?  :?:



peter