Favourites & gpx extensions

98 views
Skip to first unread message

bdtx400

unread,
Aug 26, 2022, 10:24:18 AM8/26/22
to OsmAnd
Hi,
I load a gpx file with waypoints as favourites.  Ok i can see the favourites on the map.

The waypoints inside the file have extension data with informations that I would like read when I use the details button over a favourite.

Is it possible to read extension datas of a gpx file ?

hereafter is the details of the waypoint :
<wpt lat="45.21341" lon="0.12854">
  <name>A la ferme La Petite Grange</name>
  <extensions>
    <ogr:commune>Bonnes</ogr:commune>
    <ogr:telephone>+33545985428</ogr:telephone>
    <ogr:dept>16</ogr:dept>
    <ogr:ouverture>01/04-30/09</ogr:ouverture>
    <ogr:altitude>40m</ogr:altitude>
    <ogr:data>A la ferme La Petite Grange - Bonnes (16) [&lt;51] (01/04-30/09)  (40m) +33545985428</ogr:data>
  </extensions>
</wpt>

Thanks for your answers

Poiz Phil

unread,
Sep 2, 2022, 5:57:07 AM9/2/22
to osm...@googlegroups.com
hello,
OSMAnd shows the  waypoint details described between the following beacons :
<name>...</name>
<time>..
<desc>...
<cmt>...
I think other beacons are not supported (at least they are not shown).


--
You received this message because you are subscribed to the Google Groups "OsmAnd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/be472928-bf4f-4bdf-aea7-04ae12f70da5n%40googlegroups.com.

Dmytro Prodchenko

unread,
Sep 23, 2022, 7:44:22 AM9/23/22
to OsmAnd
Hello!
Current nightly builds support custom extensions. All fields are visible in the context menu.

Screenshot (23 Sep 2022 14_43_17).png

bdtx400

unread,
Sep 27, 2022, 5:19:16 AM9/27/22
to OsmAnd
Thanks Dmytro for your answer.
Reply all
Reply to author
Forward
0 new messages