Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow importing .osf backup exported from osmand #7989

Open
soredake opened this issue Apr 25, 2024 · 5 comments
Open

Allow importing .osf backup exported from osmand #7989

soredake opened this issue Apr 25, 2024 · 5 comments
Labels
Bookmarks and Tracks Bookmarks, imported tracks, and KML, KMZ, KMB, GPX import or export Core Cross-platform C++ libraries with a core functionality Good first issue Good for newcomers

Comments

@soredake
Copy link

soredake commented Apr 25, 2024

OsmAnd can export settings / places / resources into .osf file, would be nice if Organic Maps can import it.

Screenshot_20240425-230024

@soredake soredake added the Enhancement New feature or request, an improvement of some existing feature label Apr 25, 2024
@biodranik biodranik added Bookmarks and Tracks Bookmarks, imported tracks, and KML, KMZ, KMB, GPX import or export and removed Enhancement New feature or request, an improvement of some existing feature labels Apr 25, 2024
@biodranik
Copy link
Member

  1. Is this format documented?
  2. Does it contain bookmarks and tracks?
  3. Are there any existing convertors to GPX or (better) KML? If yes, are they open-source?
  4. How well this format is mapped to the KML structure?

@Jean-BaptisteC
Copy link
Member

Format is not documented -> https://osmand.net/docs/technical/osmand-file-formats/osmand-osf/
And this backup can contains part of maps

@biodranik
Copy link
Member

Does OSMand allow to export bookmarks and tracks in KML/GPX?

@RedAuburn
Copy link
Sponsor Member

.osf is just a zip apparently: osmandapp/OsmAnd#19581 (comment)

@RedAuburn
Copy link
Sponsor Member

RedAuburn commented Apr 26, 2024

osmand_export.zip

here's an example export (renamed to .zip because github doesn't allow uploading .osf). It looks pretty simple to parse:

  1. bookmark groups are saved as favourites-*.gpx (or favourites.gpx for default group
  2. trails are saved in the tracks folder, as individual GPX files.

need to check if KML files are converted to GPX when they are imported though, or if they're kept as KML.

image

@RedAuburn RedAuburn added Good first issue Good for newcomers Core Cross-platform C++ libraries with a core functionality labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bookmarks and Tracks Bookmarks, imported tracks, and KML, KMZ, KMB, GPX import or export Core Cross-platform C++ libraries with a core functionality Good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants