OruxMaps

Uncategorized Boards => MAPAS/MAPS => Topic started by: peter9999 on June 12, 2016, 05:48:25 PM

Title: Trying to include waymarkedtrails.org
Post by: peter9999 on June 12, 2016, 05:48:25 PM
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 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>
Title: Re: Trying to include waymarkedtrails.org
Post by: 6745th@web.de on June 12, 2016, 09:57:44 PM
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/{$z}/{$x}/{$y}.png]]></url>

      <website><![CDATA[<a href="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>
Title: Re: Trying to include waymarkedtrails.org
Post by: peter9999 on June 12, 2016, 11:03:20 PM
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
Title: Re: Trying to include waymarkedtrails.org
Post by: mitxelin on June 13, 2016, 12:25:25 PM
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

 

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/{$z}/{$x}/{$y}.png]]></url>

<website><![CDATA[<a href="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/{$z}/{$x}/{$y}.png]]></url>

<website><![CDATA[<a href="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/{$z}/{$x}/{$y}.png]]></url>

<website><![CDATA[<a href="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/{$z}/{$x}/{$y}.png]]></url>

<website><![CDATA[<a href="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/{$z}/{$x}/{$y}.png]]></url>

<website><![CDATA[<a href="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/{$z}/{$x}/{$y}.png]]></url>

<website><![CDATA[<a href="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.



(//%3C/s%3E%3CURL%20url=%22http://i289.photobucket.com/albums/ll239/mitxelin/foroak/Om-shot_zps4idg8x4z.png~original%22%3E%3CLINK_TEXT%20text=%22http://i289.photobucket.com/albums/ll23%20...%20g~original%22%3Ehttp://i289.photobucket.com/albums/ll239/mitxelin/foroak/Om-shot_zps4idg8x4z.png~original%3C/LINK_TEXT%3E%3C/URL%3E%3Ce%3E)



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
Title: Re: Trying to include waymarkedtrails.org
Post by: peter9999 on June 13, 2016, 02:43:01 PM
Thank you!



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



peter