Native support of GPX bookmarks to import from OSMand and other apps #624
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps-tmp#624
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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.
Is a gpx file import planned in the future?
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
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?
If it's possible to export GPX, then it can be converted by some online tools into KML.
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
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
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.
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
Is this of any help? I gladly donate the code.
https://github.com/PanderMusubi/osmand2mapswithme
As a user of both Organic Maps and OsmAnd, please also offer export to the format for OsmAnd.
Can't OSMand import KML/KMZ or GPX?
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.
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
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.Automatic backup/copy is possible, it is discussed in another issue #622, please leave your ideas there.
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
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.
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!
GPX track colors like this one should be supported:
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.
Can someone please collect and document here all GPX extensions (with examples) that you think should be supported by OM?
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).
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