this post was submitted on 23 Dec 2024
16 points (94.4% liked)

Organic Maps (Unofficial)

474 readers
2 users here now

Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists based on top of crowd-sourced OpenStreetMap data and curated with love by MapsWithMe (Maps.Me) founders.

Download Organic Maps from:

Website

Source Code

Matrix Space

Telegram Channel

founded 2 years ago
MODERATORS
 

I have a side project, a travel planner. I just added gpx export so I can use Organic Maps offline while traveling. Is there any way for me to include a color within the gpx file that organic maps will understand?

Thanks

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 3 weeks ago (1 children)

Just did some messing around in OM and it doesn't look like it is supported (at the moment).

GPX waypoints have an atrribute called "symbol", which can name a symbol or icon to display. It looks like this attribute can also, in theory, contain a color.

But it doesn't get recognized on import into OM.

When setting the color of a waypoint in OM and exporting as GPX, the color info is stripped from the resulting file.

GPX specification : https://www.topografix.com/GPX/1/1/#type_wptType

Support for GPX in OM : https://github.com/organicmaps/organicmaps/pull/5166

[–] [email protected] 1 points 3 weeks ago (1 children)

Thanks, I was afraid of that.

With no way to change colors for a whole list, this is less than ideal.

[–] [email protected] 1 points 3 weeks ago (1 children)

Just tested, and colors work if you use kMZ file format.

At least if I pick colors of waypoints in OM, export the waypoints and import them again, the color remains.

[–] [email protected] 2 points 3 weeks ago (1 children)

OK, I looked in the kml file and see how they include the colors. I should be able to work with that.

Thank you for your help

[–] [email protected] 2 points 3 weeks ago

You're welcome :)