Open Google Maps, OSM and geo url links in Organic Maps #475
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#475
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?
Pls add option to Open OSM and geo url links through Organicmaps app.
Current status by @rtsisyk
DONE
TODO
Upvote & Fund
geo:// links should work. Please share the one which doesn't work together with your OS and app version, we'll fix it.
Which OSM URL links do you have in mind? https://www.openstreetmap.org/#map=ZZ/LAT/LON ?
Here is a test page to check which links work now and which still should be fixed:
https://omaps.app/test.html
e4f9a7cea0/OsmAnd/AndroidManifest.xml (L603)
That's a good idea, but need to update the parser code first, and it will work only on Android.
https://www.f-droid.org/en/packages/app.fedilab.nitterizeme/
This app helps to google maps links to osm or geo... it helps to click a google maps links convert to show osm result in organic map. Pls implement in Organic map. Iam currently using untrackme app for convert g maps links through help of untrackme to show result from organic maps...pls inbuild this feature.
I think we can add support for Google links directly to our app. I don't see any blockers.
It may work in Android only.
https://github.com/guardianproject/LocationPrivacy is a simple, standlone app that parses all kinds of location links. It is probably easier to navigate than Osmand. I'm happy to help too.
Also, I think the work here is basically the same as what needs to happen in #492
References:
e4f9a7cea0/OsmAnd/AndroidManifest.xml (L603)
45c216619c/app/src/main/AndroidManifest.xml (L47)
FYI, I wrote some of the related code in Osmand, and it is also included in the
Guardian Project app Location Privacy. Would you be interested in including the
whole capability from Location Privacy? Basically, it also adds the ability to
go online to get the location from URLs that do not include the location info in
it. It can do this over Tor for privacy. Examples of relevant URLs are short
links, some Google Maps links that use only a unique ID for a place entry, etc.
@eighthave Is the basic idea to hide the real IP from Google?
I have a similar, perhaps the same issue with links in Instagram. Steps:
The app doesn't try to find the address.
I don't know what link format Instagram uses but I know that apps like Komoot, Uber, Street Complete, etc can open them.
yeah, the idea is to hide the IP and any other identifying metadata like User
Agent, logged in accounts, cookies, etc. that would be sent with the location if
the user opened the link in a browser or other app like Google Maps. This
approach should also be possible with other kinds of location links like
Instagram. The only issue there would be the UX since it looks like it is not
possible to tell from the URL alone that the Instagram link is a location link,
and not some other kind of link like just a picture.
Why going online if the address/location can be opened completely privately in offline?
When the location can be parsed from the URL, then there is no reason to go
online. But there are many location URLs that use internal identifiers, e.g.
short URLs. Then the only way to get the location out is to go online and query
that service.
Check with the next Android app update.
One more link type from #989:
https://maps.apple.com/place?address=4706%2050%20Ave,%20St.%20Paul%20AB%20T0A%203A2,%20Canada&ll=53.991561,-111.289525&q=Example%20Link&_ext=AbYpUFxEu1v+AbAxxqyaswXTW8A5zjFqF4L/AbBBWpCqWgvSW8BQBA%3D%3D&t=m
The OSM short links are missing currently. Example:
https://osm.org/go/0CGsV6RxW?m=
https://osm.org/go/0CGsV6RxW
https://osm.org/go/0CGsV6RxW?node=281399025
Also, is it possible with the current data to open osm entities directly in organic maps? For example:
https://www.openstreetmap.org/node/281399025
https://www.openstreetmap.org/relation/365331
https://www.openstreetmap.org/way/70856784
The second is not possible without querying the OSM server.
In LocationPrivacy, I made it query the server in some such cases. There are
some URLs missing geo coords that are redirected to a parsable URL, so often,
just a HEAD request is enough.
Ok. I had hoped that the ID maybe survived in the offline data ;). It's my preferred way to link to shops etc since the OSM website for example mentions the opening times there.
My phone (LineageOS stock contactsapp) tries to open
https://www.google.com/maps?daddr=Aardbei+1%0AHengelo%0ANetherlands+(Overijssel)
It is opened in Organic Maps, but not recognized.
Thu URL corresponds to
https://www.google.com/maps?daddr=<streetname>+<house number>%0A<city>%0A<countey>+(<province/state>)
While testing https://github.com/iNPUTmice/Conversations/issues/4375 I saw that OrganicMaps does not appear as an option. Any news on future support for all the missing intents/websites?
@licaon-kter thanks for the link! It would be great to support google.navigation URL scheme.