Author Topic: [MAP Overlay] Two Open Transportation route overlays  (Read 1763 times)

Offline brotbuexe

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 148
  • Thanked: 1 times
    • View Profile
[MAP Overlay] Two Open Transportation route overlays
« on: May 01, 2012, 14:00:07 »
http://openptmap.org/ uses a overlay to show open transportation routes
http://www.openstreetbrowser.org have also a overlay with this routes, it looks a little different.

Because I didn't find Terms of use for this servers, I hope the Tile usage policy of OSM should be right. https://wiki.openstreetmap.org/wiki/Tile_usage_policy

@admin, if you don't like it without a custom Terms of use, feel free to remove this post.

if it does not exist, create a /sdcard/locus/mapsOnline/custom/provider.xml and insert this text:
If it already exist edit it and just insert the <provider*> ... </provider> stuff inside the <providers> ... </providers> xml tags.
Code: [Select]
<provider id="10226" type="0" visible="true" required="false" background="-1">
<name>OSM - layers</name>
<mode>OpenPTMap Public Transport overlay</mode>
<area></area>
<url><![CDATA[http://openptmap.org/tiles/{z}/{x}/{y}.png]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>12</zoomMin>
<zoomMax>25</zoomMax>
<tileSize>256</tileSize>
<attribution>Route overlay tiles come from http://openptmap.org, Terms of Use: https://wiki.openstreetmap.org/wiki/Tile_usage_policy</attribution>
</provider>
<provider id="10227" type="0" visible="true" required="false" background="-1">
<name>OSM - layers</name>
<mode>Openstreetbrowser Public Transport (small lines) overlay</mode>
<area></area>
<url><![CDATA[http://tiles-pt.openstreetbrowser.org/tiles/render_route_overlay_pt/{z}/{x}/{y}.png]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>14</zoomMin>
<zoomMax>22</zoomMax>
<tileSize>256</tileSize>
<attribution>Route overlay tiles come from http://openstreetbrowser.org, Terms of Use: https://wiki.openstreetmap.org/wiki/Tile_usage_policy</attribution>
</provider>

Now you have new maps you can use as overlays in 2.3.X (Main menu / Functions / Map overlays), you can add this function to the right toolbar for quicker use...

Because they don't have a Terms of use on their page, you should not download tiles at all, just use it in onlinemode when you need it.
« Last Edit: January 01, 1970, 01:00:00 by Guest »