Replies: 1 comment
-
Good question why it doesn't work, cause |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello alltogether,
when I have a collection of gpx files (ie from a hiking guide) I use shell scripts to concatenate them in one single file with waypoints to show an icon on the map and one <trk> with several <trkseg> to show the route on the map. That's working for several years now.
Osmand has great improvements! In newer releases it is possible to change color and symbol of an icon. So I modified my scripts:
additional info in each <wpt>:
<extensions>
<osmand:color>COLOR</osmand:color>
<osmand:icon>special_trekking</osmand:icon>
<osmand:background>square</osmand:background>
</extensions>
several <trk>
Each single gpx file gets an own <trk> section.
This works (see Screenshots):
Depiction on map:
The single <trk>'s are recognized:
Now my question: it would be (really!) great if I could change the color within each <trk>, so that not all displayed routes have the same color (green in the first screenshot). Therefore I inserted the corresponding statements to the <trk> section.
Here is what my scripts generate:
(osmand:color changes in each <trk> section)
but that does not work - the color is always the same (that one from the waypoints).
There is no error generated ... Are the <extension> entries ignored?
Greets!
Beta Was this translation helpful? Give feedback.
All reactions