Set symbol of waypoint

1,020 views
Skip to first unread message

John Daues

unread,
Mar 20, 2015, 1:50:22 PM3/20/15
to osm...@googlegroups.com

I am writing data out to a GPX file (with Python code). A waypoint looks like so:

<wpt lat="45.811000000000000" lon="-105.021100000000000">
  <name>Some Project</name>
  <sym>Flag, Blue</sym>
</wpt>

I open the file in OSMAnd and can see the waypoints and the name of each. Each waypoint has a symbol that is a red circle with a black star in it. I've tried playing with the value of <sym> but the symbol is always the same. How do I have it display a different symbol?

John Daues

unread,
Mar 24, 2015, 3:51:33 PM3/24/15
to osm...@googlegroups.com
What values of <sym> are recognized by OSMAnd?

(would be another way to ask this)

Peter B

unread,
Mar 25, 2015, 5:27:34 AM3/25/15
to osm...@googlegroups.com
AFAIK <sym> is not used at all by osmand.
Regards Peter

sou...@web.de

unread,
Mar 29, 2015, 2:55:54 PM3/29/15
to osm...@googlegroups.com
Hi,

(First of all I wanna say that osmand+ is a very useful and nice build app - thank you developpers for this one!)

I discovered that osmand recognizes in the tracks.gpx one tag that is also used in the favourites.gpx in the main directory. Its the color of Waypoints in hexadecimal and I edit them and use them for better overview.

...
<wpt lat="48.9999" lon="9.999">
  <name>Waypoint Testname</name>
  <desc>Description not shown on map but in list</desc>
  <extensions>
    <color>#ffeccc</color>
  </extensions>
</wpt>
...

I hope one day <trk> or <trkseg> also gets a colour-tag and a size-tag added.

regards


Peter B

unread,
Mar 30, 2015, 1:11:26 PM3/30/15
to osm...@googlegroups.com
It only a matter of priority, where I get color from.
Until now it is in rendering.xml fixed for all routes/tracks.
Better would be using color coding of gpx file, if exists, example:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<gpx xmlns="http://www.topografix.com/GPX/1/0" version="1.0" creator="RouteConverter">
<name>21 Nizza - Caromb</name>
<trk>
<name>test</name>
<extensions><gpxx:TrackExtension xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3"> <gpxx:DisplayColor>Magenta</gpxx:DisplayColor></gpxx:TrackExtension></extensions>
<trkseg>
<trkpt lat="43.6935077" lon="7.2885704">
<name>Nizza, Fähranlegestelle (Pos?)</name>
</trkpt>
<trkpt lat="43.69389" lon="7.28847">
<ele>19.0</ele>
<name>Position 2</name>
</trkpt>
...
Regards Peter

Emanuele Costantini

unread,
Apr 5, 2015, 7:13:35 PM4/5/15
to osm...@googlegroups.com
That would be great to recognise <cmt> <desc> <sym> also in Favourites, so we can personalise our personal POI and Tracks as well!

Reply all
Reply to author
Forward
0 new messages