NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I am using an OpenStreetMaps Vector map of the UK that takes it's rendering from a .xml file.

Is there an editing tool for Windows that will allow me to view the 'great_britain.map' and edit the 'great_britain.map.xml' to change the appearance of some of the map attributes for example road colour and path width then export the new .xml file?

I have tried making the edits in a text editor but this is long winded and not that successful.

asked 25 Oct '12, 09:13

twoten's gravatar image

twoten
1111
accept rate: 0%

edited 25 Oct '12, 10:56

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866


The raw OSM data (what you have in the .xml file) does not have any specific attributes that are used for rendering (how the map appears on the output media). Typically this is acheived via a "style file".

Since you don't actually specify with what you are viewing the vector map data it is difficult to help you any further.

permanent link

answered 25 Oct '12, 09:47

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

1

Thanks Simon,

I am viewing the map file using Oruxmaps on an Android phone. The files I am using are downloaded from http://www.openandromaps.org/files/themes/orux/volatile_hike.zip

I have found if I edit the colour in the .xml file the change is reflected in the map so assumed this was used for the style.

Keith.

(25 Oct '12, 10:17) twoten
3

The xml file you are referring too is such a style file I was referring to, and NOT OSM data. You are actually using the MapsForge renderer see http://code.google.com/p/mapsforge/ in Oruxmaps.

I don't believe that there is currently a visual editor for MapsForge style files, but you could try asking at the link above.

(25 Oct '12, 10:22) SimonPoole ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×440
×352
×84
×4

question asked: 25 Oct '12, 09:13

question was seen: 7,156 times

last updated: 25 Oct '12, 10:56

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum