This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Export to GPX with colour depending on tag value.

0

Hi

I wish to download some OSM data & convert it to GPX. In that file I want the data to be colour coded depending on the values of certain tags.

I looked at using Overpass Turbo with MapCSS but I couldn't see a way to export to a GPX with the colour coding. I'm stumped.

Are there ways to do this?

asked 12 May '17, 18:59

DaveF's gravatar image

DaveF
3.3k8498133
accept rate: 16%

edited 12 May '17, 22:18

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701

Apologies if this is a silly question, but colour coding in what? Mapsource? JOSM? GPSBabel?

(15 May '17, 15:33) SomeoneElse ♦
2

Well, when I asked the question I was thinking 'anything software that takes a GPX file, but on further reading it appears the GPX colours or symbols aren't standard. Even within Garmin products there seems to be variation.

(15 May '17, 15:51) DaveF

Source code available on GitHub .