Native support of GPX bookmarks to import from OSMand and other apps #624

Closed
opened 2021-06-18 14:25:14 +00:00 by GLLM · 27 comments
GLLM commented 2021-06-18 14:25:14 +00:00 (Migrated from github.com)

Hi all !

I'm very happy to see this new shiny fork of maps.me ....
I was using maps.me until I realize that the tracking was still in there. I then fully switched to OSMand...

OSMand is very powerful, but too complicated (too many settings & options) and UX/UI is not so 2021 ;-)
So I'd like to give OrganicMaps a try !

But for this I need to import my few hundreds favorites I currently have in OSMand, which sorted within different groups, each having its color, icon, comments ...
I've tried import the favorites.gpx, to no avail :-(

Could this be added ?

Thanks a lot, and looking forward to test and end-user contribute to OM !

GLLM

Hi all ! I'm very happy to see this new shiny fork of maps.me .... I was using maps.me until I realize that the tracking was still in there. I then fully switched to OSMand... OSMand is very powerful, but too complicated (too many settings & options) and UX/UI is not so 2021 ;-) So I'd like to give OrganicMaps a try ! But for this I need to import my few hundreds favorites I currently have in OSMand, which sorted within different groups, each having its color, icon, comments ... I've tried import the favorites.gpx, to no avail :-( Could this be added ? Thanks a lot, and looking forward to test and end-user contribute to OM ! GLLM
biodranik commented 2021-06-19 09:52:10 +00:00 (Migrated from github.com)

If osmand stores bookmarks in KML/KMZ, they can be imported by "Import" button in OM. Or you can export Osmand bookmarks in KML/KMZ, and then import them into OM.

If osmand stores bookmarks in KML/KMZ, they can be imported by "Import" button in OM. Or you can export Osmand bookmarks in KML/KMZ, and then import them into OM.
ooprizrakoo commented 2021-06-21 11:07:52 +00:00 (Migrated from github.com)
Добрый день!

Хотел задать вопрос, но вижу, что он уже был. Плюсую к поддержке импорта GPX-файлов. Пока главное, чего мне не хватает, чтоб переехать в тестовом режиме.
Ребята, всем привет! Как можно импортировать избранное из других программ, вроде  Локуса или Османд через gpx файл?
Пробовал это делать, но эта программа не даёт выбрать 1 файл. Указываю пусть на сд-карте, а Органик, по видимому, ищет все gpx-файлы в корне флешки.
При тапе по файлу трека  GPX - предлагается открыть файл многими моими нави-прогами, но не программой OrganicMaps.
Хотелось бы и её видеть в списке для открытия GPX.

Is a gpx file import planned in the future?

``` Добрый день! Хотел задать вопрос, но вижу, что он уже был. Плюсую к поддержке импорта GPX-файлов. Пока главное, чего мне не хватает, чтоб переехать в тестовом режиме. ``` ``` Ребята, всем привет! Как можно импортировать избранное из других программ, вроде Локуса или Османд через gpx файл? Пробовал это делать, но эта программа не даёт выбрать 1 файл. Указываю пусть на сд-карте, а Органик, по видимому, ищет все gpx-файлы в корне флешки. ``` ``` При тапе по файлу трека GPX - предлагается открыть файл многими моими нави-прогами, но не программой OrganicMaps. Хотелось бы и её видеть в списке для открытия GPX. ``` `Is a gpx file import planned in the future?`
GLLM commented 2021-06-21 19:37:59 +00:00 (Migrated from github.com)

If osmand stores bookmarks in KML/KMZ, they can be imported by "Import" button in OM. Or you can export Osmand bookmarks in KML/KMZ, and then import them into OM.

I did, unfortunately, OSMand export a GPX with icon, color, lists & co, but when converted back into KML, all those details are lost and only the points are kept. Needless to say, I would have hundreds of coiiections to perform :-/

GLLM

> If osmand stores bookmarks in KML/KMZ, they can be imported by "Import" button in OM. Or you can export Osmand bookmarks in KML/KMZ, and then import them into OM. I did, unfortunately, OSMand export a GPX with icon, color, lists & co, but when converted back into KML, all those details are lost and only the points are kept. Needless to say, I would have hundreds of coiiections to perform :-/ GLLM
absorber commented 2021-06-22 20:56:03 +00:00 (Migrated from github.com)

Yeah this would be the killer feature for me.

I've noticed that OsmAnd exports bookmarks as .bin files (Settings -> Export -> Favorites)

Is there any other way I can export my bookmarks so that OrganicMaps can understand it?

Yeah this would be the killer feature for me. I've noticed that OsmAnd exports bookmarks as .bin files (Settings -> Export -> Favorites) Is there any other way I can export my bookmarks so that OrganicMaps can understand it?
biodranik commented 2021-06-22 21:28:53 +00:00 (Migrated from github.com)

If it's possible to export GPX, then it can be converted by some online tools into KML.

If it's possible to export GPX, then it can be converted by some online tools into KML.
GLLM commented 2021-06-23 18:10:07 +00:00 (Migrated from github.com)

Well, I'll try find a tool which does not loose all info.
TBH, i avoided the online tools, in favor of CLI ones.
I'll expand my search !

Well, I'll try find a tool which does not loose all info. TBH, i avoided the online tools, in favor of CLI ones. I'll expand my search !
twikedk commented 2021-06-25 17:30:49 +00:00 (Migrated from github.com)

Well, I'll try find a tool which does not loose all info.
TBH, i avoided the online tools, in favor of CLI ones.
I'll expand my search !

This one works for me: https://activityworkshop.net/software/gpsprune/

> Well, I'll try find a tool which does not loose all info. > TBH, i avoided the online tools, in favor of CLI ones. > I'll expand my search ! This one works for me: https://activityworkshop.net/software/gpsprune/
GLLM commented 2021-06-25 20:38:29 +00:00 (Migrated from github.com)

Well, I'll try find a tool which does not loose all info.
TBH, i avoided the online tools, in favor of CLI ones.
I'll expand my search !

This one works for me: https://activityworkshop.net/software/gpsprune/

Hey, thanks for the idea.
I checked it ... to no avail.

My 598 points coming from favorites in OSMand are all in the same group, without colors or any grouping + showing foreign characters for all my points in SE Asia.
This one wont work for me.

If I could find one program enabling me to load my GPX export and re manage my 598 points in a GUI by selecting regions and bulk assigning groups & color & icon, maybe that'll work for me

thanks anyway for trying to help

> > Well, I'll try find a tool which does not loose all info. > > TBH, i avoided the online tools, in favor of CLI ones. > > I'll expand my search ! > > This one works for me: https://activityworkshop.net/software/gpsprune/ Hey, thanks for the idea. I checked it ... to no avail. My 598 points coming from favorites in OSMand are all in the same group, without colors or any grouping + showing foreign characters for all my points in SE Asia. This one wont work for me. If I could find one program enabling me to load my GPX export and re manage my 598 points in a GUI by selecting regions and bulk assigning groups & color & icon, maybe that'll work for me thanks anyway for trying to help
GLLM commented 2021-06-28 15:58:17 +00:00 (Migrated from github.com)

Another day, another attempt.

I tried my luck today with umap from openstreemap.fr ... to no avail.

OSMand groups <> layer in OSM <> Bookmark list in OrganicMaps.
I cannot find a way to have my hundreds of points gathered in my dozens of groups :-(

I cannot bulk edit at any point between umap OSM and OrganicMaps.

I'm still stuck

Another day, another attempt. I tried my luck today with umap from openstreemap.fr ... to no avail. OSMand groups <> layer in OSM <> Bookmark list in OrganicMaps. I cannot find a way to have my hundreds of points gathered in my dozens of groups :-( I cannot bulk edit at any point between umap OSM and OrganicMaps. I'm still stuck
Owner

I have checked OSMAnd. OSMAnd can share GPX file with bookmarks. Organic Maps should support .gpx import natively. GPX format is widespread and created by multiple other apps, not only OSMAnd.

This feature is good to go. We are looking for volunteers who can start working on it. Some basic C++ expertise is required. Starting point is https://github.com/organicmaps/organicmaps/blob/master/map/bookmark_manager.cpp#L1941

I have checked OSMAnd. OSMAnd can share GPX file with bookmarks. Organic Maps should support .gpx import natively. GPX format is widespread and created by multiple other apps, not only OSMAnd. This feature is good to go. We are looking for volunteers who can start working on it. Some basic C++ expertise is required. Starting point is https://github.com/organicmaps/organicmaps/blob/master/map/bookmark_manager.cpp#L1941
Rorschach1010 commented 2021-08-19 20:02:10 +00:00 (Migrated from github.com)

I have checked OSMAnd. OSMAnd can share GPX file with bookmarks. Organic Maps should support .gpx import natively. GPX format is widespread and created by multiple other apps, not only OSMAnd.

This feature is good to go. We are looking for volunteers who can start working on it. Some basic C++ expertise is required. Starting point is https://github.com/organicmaps/organicmaps/blob/master/map/bookmark_manager.cpp#L1941

THIS!
gpx is de facto the standard for everything gps-related, especially when it comes to open-source. Only google really supports kml.

That being said, feature-wise gpx is superior too. Not sure if this has changed recently but as far as I know, kml only supports waypoints and tracks (in the form of coordinates) and in parts also comments.
gpx on the other hand supports waypoints and tracks, comments and descriptions, timestamps and heights and gps satelite data.

So imo at the very least, support both.

> I have checked OSMAnd. OSMAnd can share GPX file with bookmarks. Organic Maps should support .gpx import natively. GPX format is widespread and created by multiple other apps, not only OSMAnd. > > This feature is good to go. We are looking for volunteers who can start working on it. Some basic C++ expertise is required. Starting point is https://github.com/organicmaps/organicmaps/blob/master/map/bookmark_manager.cpp#L1941 THIS! gpx is de facto the standard for everything gps-related, especially when it comes to open-source. Only google really supports kml. That being said, feature-wise gpx is superior too. Not sure if this has changed recently but as far as I know, kml only supports waypoints and tracks (in the form of coordinates) and in parts also comments. gpx on the other hand supports waypoints and tracks, comments and descriptions, timestamps and heights and gps satelite data. So imo at the very least, support both.
janusbenissa commented 2022-01-20 12:09:29 +00:00 (Migrated from github.com)

If osmand stores bookmarks in KML/KMZ, they can be imported by "Import" button in OM. Or you can export Osmand bookmarks in KML/KMZ, and then import them into OM.

I did, unfortunately, OSMand export a GPX with icon, color, lists & co, but when converted back into KML, all those details are lost and only the points are kept. Needless to say, I would have hundreds of coiiections to perform :-/

GLLM

If you convert whit https://www.gpsvisualizer.com/map_input?add_elevation=auto&form=googleearth&trk_hue=240&trk_opacity=80&trk_width=3&units=metric&wpt_color=green everything stays like is was, just did my 400 routes and 300 waypoints

> > If osmand stores bookmarks in KML/KMZ, they can be imported by "Import" button in OM. Or you can export Osmand bookmarks in KML/KMZ, and then import them into OM. > > I did, unfortunately, OSMand export a GPX with icon, color, lists & co, but when converted back into KML, all those details are lost and only the points are kept. Needless to say, I would have hundreds of coiiections to perform :-/ > > GLLM If you convert whit https://www.gpsvisualizer.com/map_input?add_elevation=auto&form=googleearth&trk_hue=240&trk_opacity=80&trk_width=3&units=metric&wpt_color=green everything stays like is was, just did my 400 routes and 300 waypoints
PanderMusubi commented 2022-01-28 11:45:09 +00:00 (Migrated from github.com)

Is this of any help? I gladly donate the code.

https://github.com/PanderMusubi/osmand2mapswithme

Is this of any help? I gladly donate the code. https://github.com/PanderMusubi/osmand2mapswithme
PanderMusubi commented 2022-01-28 12:01:31 +00:00 (Migrated from github.com)

As a user of both Organic Maps and OsmAnd, please also offer export to the format for OsmAnd.

As a user of both Organic Maps and OsmAnd, please also offer export to the format for OsmAnd.
biodranik commented 2022-01-28 17:31:54 +00:00 (Migrated from github.com)

Can't OSMand import KML/KMZ or GPX?

Can't OSMand import KML/KMZ or GPX?
PanderMusubi commented 2022-01-28 18:36:00 +00:00 (Migrated from github.com)

Let me rephrase that, does Organic Maps (will) have a file with its favourites that gets updated with each change to favourites? I can't find files in Android/data/app.organicmaps/files

OsmAnd has it at Android/data/net/osmand.plus/files/favourites.gpx

This is also for synchronization via Syncthing.

Let me rephrase that, does Organic Maps (will) have a file with its favourites that gets updated with each change to favourites? I can't find files in `Android/data/app.organicmaps/files` OsmAnd has it at `Android/data/net/osmand.plus/files/favourites.gpx` This is also for synchronization via Syncthing.
biodranik commented 2022-01-28 20:57:56 +00:00 (Migrated from github.com)

There is no way to allow users to access the internal app's files on Android 11 and above. That's Android limitation. If you have root access, you can find these files at /data/data/app.organicmaps/files

There is no way to allow users to access the internal app's files on Android 11 and above. That's Android limitation. If you have root access, you can find these files at /data/data/app.organicmaps/files
PanderMusubi commented 2022-01-28 21:17:43 +00:00 (Migrated from github.com)

OsmAnd automatically writes a copy to that accessible place, plus after each change a backup as Android/data/net/osmand.plus/files/backups/favourites_xy.gpx.bz2 so you can always sync them automatically with another device.

OsmAnd automatically writes a copy to that accessible place, plus after each change a backup as `Android/data/net/osmand.plus/files/backups/favourites_xy.gpx.bz2` so you can always sync them automatically with another device.
biodranik commented 2022-01-28 21:53:14 +00:00 (Migrated from github.com)

Automatic backup/copy is possible, it is discussed in another issue #622, please leave your ideas there.

Automatic backup/copy is possible, it is discussed in another issue #622, please leave your ideas there.
richlv commented 2022-03-27 23:54:39 +00:00 (Migrated from github.com)

As I have GPX files for Garmin devices, would it be better to have a separate feature reaqust to support (at least a subset of) Garmin icons ( tag), if/when GPX import is available?
http://www.gpsbabel.org/htmldoc-development/GarminIcons.html

As I have GPX files for Garmin devices, would it be better to have a separate feature reaqust to support (at least a subset of) Garmin icons (<sym> tag), if/when GPX import is available? http://www.gpsbabel.org/htmldoc-development/GarminIcons.html
biodranik commented 2022-03-28 07:10:59 +00:00 (Migrated from github.com)

Do you propose to map Garmin icons to some OM icons? That can be done later, but you can suggest it here, with exact icons and mappings, to make the task clear.

I would also support GPZ format (zip-ped GPX) that can contain some icons internally, to allow users later to see any imported icon easily in OM.

Do you propose to map Garmin icons to some OM icons? That can be done later, but you can suggest it here, with exact icons and mappings, to make the task clear. I would also support GPZ format (zip-ped GPX) that can contain some icons internally, to allow users later to see any imported icon easily in OM.
gmaosn commented 2022-06-02 06:46:57 +00:00 (Migrated from github.com)

The ability to share and use gpx waypoints would indeed be very nice. Implementing some of the standard Garmin icons such as documented here could also be a good complement. Thanks a lot to the developers for this excellent app!

The ability to share and use gpx waypoints would indeed be very nice. Implementing some of the standard Garmin icons such as documented [here](http://www.gpsbabel.org/htmldoc-development/GarminIcons.html) could also be a good complement. Thanks a lot to the developers for this excellent app!
biodranik commented 2022-06-06 16:16:44 +00:00 (Migrated from github.com)

GPX track colors like this one should be supported:

<trk>
    <name>new</name>
    <type>Cycling</type>
    <extensions>
        <gpx_style:line>
        <color>0433ff</color>
        </gpx_style:line>
    </extensions>
...
GPX track colors like this one should be supported: ``` <trk> <name>new</name> <type>Cycling</type> <extensions> <gpx_style:line> <color>0433ff</color> </gpx_style:line> </extensions> ... ```
drtbyk commented 2022-08-23 20:04:57 +00:00 (Migrated from github.com)

What has to be considered regarding Import/Export of GPX data is that every APP creates their own Syntax (and Extensions) for things like Address, Phone No., Symbol, Color, etc, etc. OsmAnd is in the process - but not yet done - of extending the user Waypoint attributes to mimic the POI attributes in GPX.

So, for Organic Maps to implement GPX import that would support OsmAnd GPX Extended Attributes, they will need to incorporate OsmAnd's GPX Extention Schema into their Import code. Then OM will need to do the same for each GPX Schema that customers want to have GPX interoperability with. No a big deal but effort nonetheless.

What has to be considered regarding Import/Export of GPX data is that every APP creates their own Syntax (and Extensions) for things like Address, Phone No., Symbol, Color, etc, etc. OsmAnd is in the process - but not yet done - of extending the user Waypoint attributes to mimic the POI attributes in GPX. So, for Organic Maps to implement GPX import that would support OsmAnd GPX Extended Attributes, they will need to incorporate OsmAnd's GPX Extention Schema into their Import code. Then OM will need to do the same for each GPX Schema that customers want to have GPX interoperability with. No a big deal but effort nonetheless.
biodranik commented 2022-08-27 20:30:03 +00:00 (Migrated from github.com)

Can someone please collect and document here all GPX extensions (with examples) that you think should be supported by OM?

Can someone please collect and document here all GPX extensions (with examples) that you think should be supported by OM?
drtbyk commented 2022-08-27 21:11:29 +00:00 (Migrated from github.com)

OsmAnd is in the process of creating the support (GPX Extensions) for passing OSM POI attributes to User Favorites/Waypoints. When OsmAnd publishes their Extensions I will post them here.

You might also consider support for [Garmin GPX Waypoint Extensions](http://www.garmin.com/xmlschemas/WaypointExtension/v1 http://www8.garmin.com/xmlschemas/WaypointExtensionv1.xsd).

OsmAnd is in the process of creating the support (GPX Extensions) for passing OSM POI attributes to User Favorites/Waypoints. When OsmAnd publishes their Extensions I will post them here. You might also consider support for [Garmin GPX Waypoint Extensions](http://www.garmin.com/xmlschemas/WaypointExtension/v1 http://www8.garmin.com/xmlschemas/WaypointExtensionv1.xsd).
IzzySoft commented 2022-10-24 23:13:43 +00:00 (Migrated from github.com)

As discussed here, attached is a GPX file as produced by Tower Collector (I use these sometimes for "take me back" routing, currently in OsmAnd which I consider to replace by OM):
2022-07-16-11-56-47.gpx.zip

As [discussed here](https://github.com/organicmaps/organicmaps/discussions/372#discussioncomment-3955159), attached is a GPX file as produced by [Tower Collector](https://f-droid.org/en/packages/info.zamojski.soft.towercollector/) (I use these sometimes for "take me back" routing, currently in OsmAnd which I consider to replace by OM): [2022-07-16-11-56-47.gpx.zip](https://github.com/organicmaps/organicmaps/files/9855924/2022-07-16-11-56-47.gpx.zip)
This repo is archived. You cannot comment on issues.
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#624
No description provided.