Open Street Map

Geo-data sources, tools, utilities
Message
Author
geophil
Posts: 1516
Joined: 05 Jan 2011 16:45
Contact:

Open Street Map

#1 Post by geophil »

Here are the settings to access the "Transport Map" rendering for Open Street Map data:

Copy the following code section into a text editor, save as an xml file and import into TransDEM with the Map Tile Client / Settings.

It replaces "Other 2" which was no longer working.

Code: Select all

<?xml version="1.0" encoding="iso-8859-1" ?>

<TileServer version="1.0" >
  <Provider name="5 Open Street Map" >
    <URL addr="http://a.tile2.opencyclemap.org" prefix="transport" postfix=".png" standalone="1" type="5" >
      <Matrix prefixClm="/" prefixRow="/" prefixZoom="/" minZoom="1" maxZoom="18" order="2" />
      <Mercator origLat="90" origLon="-180" signLat="-1" signLon="1" projection="4" />
    </URL>
  </Provider>
</TileServer>
Standard vs Transport:

Image Image
Image Image
jackdrake
Posts: 33
Joined: 22 Nov 2011 07:09
Location: Karuah, NSW, Australia

Re: Open Street Map

#2 Post by jackdrake »

Tried to perform the suggested action but came up with error message 'Error reading .xml file: map Tile Provider Settings

Used Office 2010 as text editor.
geophil
Posts: 1516
Joined: 05 Jan 2011 16:45
Contact:

Re: Open Street Map

#3 Post by geophil »

Not sure what MS Office would do to this simple code fragment but I fear the worst. Try "Notepad" instead.
jackdrake
Posts: 33
Joined: 22 Nov 2011 07:09
Location: Karuah, NSW, Australia

Re: Open Street Map

#4 Post by jackdrake »

Sorry G but have tried all my options with no success.
geophil
Posts: 1516
Joined: 05 Jan 2011 16:45
Contact:

Re: Open Street Map

#5 Post by geophil »

In Notepad it should look like this:

Image
jackdrake
Posts: 33
Joined: 22 Nov 2011 07:09
Location: Karuah, NSW, Australia

Re: Open Street Map

#6 Post by jackdrake »

Done. "Save As" "File Name", you provided, was the key not as usually done with Save As type in text editor. Noticed however that your opening message does not show the code anymore???
ganmar
Posts: 27
Joined: 03 May 2012 18:09
Location: High Peak Derbyshire UK
Contact:

Re: Open Street Map

#7 Post by ganmar »

Just tried this and it worked. As a newbie I am quite pleased with myself :D
BigVern
Posts: 83
Joined: 28 Mar 2011 03:35

Re: Open Street Map

#8 Post by BigVern »

Sorry for the thread bump Roland - was wondering if there was any way we could get Transdem to call the "Cycle" map layer? This often has more physical detail than either the Standard or Transport level maps, particularly with regard to relief and natural features?
geophil
Posts: 1516
Joined: 05 Jan 2011 16:45
Contact:

Re: Open Street Map

#9 Post by geophil »

Have you tried Tile Type "Other 1"?

The cycle map rendering incorporates SRTM DEM data which produces the contour lines.
BigVern
Posts: 83
Joined: 28 Mar 2011 03:35

Re: Open Street Map

#10 Post by BigVern »

Just tried that Roland and Other1 defaults to the standard map (with Transport map displayed under Other2).

I'm still running Version 2.2.0.0. so could that affect what's displayed?
Post Reply