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

  • breakcore@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    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

    • KenLinOP
      link
      fedilink
      arrow-up
      1
      ·
      30 days ago

      Thanks, I was afraid of that.

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

      • breakcore@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        30 days ago

        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.