nextcloud / maps

🌍🌏🌎 The whole world fits inside your cloud!
https://apps.nextcloud.com/apps/maps
GNU Affero General Public License v3.0
498 stars 88 forks source link

Sync with other maps apps (Favorites, Tracks, etc.) #92

Open jancborchardt opened 5 years ago

jancborchardt commented 5 years ago

We should work on having these apps sync with us:

(Carried over from @eneiluj’s notes in https://github.com/nextcloud/maps/issues/56 )

thomas-mc-work commented 5 years ago

There is a very actively developed clone of Maps.me called Maps (on F-Droid). Maybe this would be a good candidate for integration? They have already implemented track recording which would play nicely with the sync feature.

Features over upstream repo:

  • Track Recording (record your tracks)
  • Custom Bookmarks path (helps backup your bookmarks with apps like: Syncthing)
  • Removed ads and binaries (peace and freedom)
  • Screenlock option (prevent app stay turned on while in pocket with lockscreen enabled)
jancborchardt commented 5 years ago

@thomas-mc-work good call, yes! Do you have any contacts there or do you want to open an issue in their tracker linking both projects up? :)

thomas-mc-work commented 5 years ago

I've raised an issue here, mostly copied from the OsmAnd issue and hopefully phrased as expected.

Where can I find the API documentation? Preferably in the OpenAPI format.

julien-nc commented 5 years ago

@thomas-mc-work Actually there is no Maps Favorites API documentation. It's pretty straightforward though. It's a REST API with 4 routes (listed in appinfo/routes.php):

For accessing those routes, you need to be authenticated with a session or with basic http auth.

I'm completely open to make changes to this API since it's not used yet :wink:.

rinigus commented 5 years ago

I wonder whether favorites fields are fixed now. There are some extra fields that I would like to have for Pure Maps or are those expected to be stored under "extensions"?

As I don't have any experience with Nextcloud sync - what would be the best way to authenticate for access? I would prefer not to store any passwords - some kind of session id? Maybe pointers towards docs on it?

szaimen commented 5 years ago

Maybe this? https://github.com/nextcloud/Android-SingleSignOn

rinigus commented 5 years ago

@szaimen : thanks, but I am looking for something running on Linux (desktop and mobile), not Android.

gdepountis commented 4 years ago

I am sorry if I am not in correct conversaion but does maps are compatible with the marinetraffic API https://www.marinetraffic.com/en/ais-api-services/detail/ps02/vessel-positions-of-a-static-fleet#

jancborchardt commented 4 years ago

@gdepountis could you open a separate issue for that? :) Thanks

bugzy commented 4 years ago

What changes would marble require to become compatible? The API looks similar to what was designed for Marble's sync in 2013 or so.

tacruc commented 4 years ago

@bugzy I had a brief look at the marble code, unfortunately I have only very basic c and c++ skills and none in QT. For me it looks like the was hardcoded in some way (.../apps/MARBLEAPP/...), so for sure the URL's needs to be adapted. But I guess than a lot of code could be reused.

Spartachetto commented 3 years ago

Just for information: the current release of OsmAnd introduced the option to export and import all data. For reference have a look here: https://osmand.net/blog/osmand-3-9-released . It states that We added the option to export and import all data including settings, resources, my places. It's a big step to the backup feature, which we will plan to add in the next release .

keunes commented 3 years ago

Maps.me would be best since they are widely used, but they have a company behind them and already offer their own proprietary favorites backup.

@jancborchardt, all: There now is a fork of Maps.me in development: Organic Maps - I reckon it could be added to the list in the first post (or replace the Maps.me list item). I would love to have synchronisation between the two, and added synchronisation request over at Organic Maps as well.

penguin86 commented 3 years ago

I recently switched to Nextcloud and have the urgent need to open my imported geobookmarks in Organic Maps. I tried to clone the OM sources and build the app, just to have an idea of the complexity of the implementation, but didn't succeed... I'm a little rusty at Android development. So I developed a very basic app that allows to open the Nextcloud Maps geobookmarks in any android app supporting Geo URI (e.g. Organic Maps, Google Maps...). Don't expect bells and whistles, it's the bare minimum to get me on the road again, but I hope it can be useful to someone.

Screenshot

You can download from the github page and soon will be available on F-Droid.

I home the source can be useful as an example to integrate Nextcloud Geobookmarks support in any of the proposed apps.

szaimen commented 3 years ago

Very cool! Do you mind opening a PR in the maps repository that adds it to the readme? Would definitely improve the discoverability :)

penguin86 commented 3 years ago

Very cool! Do you mind opening a PR in the maps repository that adds it to the readme? Would definitely improve the discoverability :)

Thank you @szaimen ! It's a very good idea, but I'd wait until the app is mature enough... As a user, finding the link to the app, I'd expect it to implement all the functionalities provided by Nextcloud Maps (Photos, Geobookmarks, Tracks, Contacts), at least at a basic level...

szaimen commented 3 years ago

Though having at least a geobookmark sync is already more than any other Android app is currently capable of, afaik. So I still vote for adding it to the readme :)

xplosionmind commented 1 year ago

Hi! I noticed that this issue has been stale for almost two years now, even though it is the one with the most thumbs up… are there any news? It would be great to have some bookmarks integration!

tacruc commented 1 year ago

Well the bookmarks app is out there. https://gitlab.com/fdroid/fdroiddata/-/merge_requests/9655

FailurePoint commented 9 months ago

Hey, so did anyone ever develop a app or add sync to an existing one? I would love to be able to dich google maps and have it sync to my server.