Open ghost opened 3 years ago
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
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
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:
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.
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.
The second is not possible without querying the OSM server.
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.
There are several scenarios of how URLs can be opened by users in OM:
One of the possible implementations would be to make an HTTP request to get coordinates directly from OM's C++ code.
Another option is to open the system browser with the URL and open OM back again after redirecting to "om://" link. That can be not as convenient and slower.
Regarding privacy, I see two options:
I found three types of goo.gl links:
Generated by https://google.com/maps (web version).
https://goo.gl/maps/sXnse1erRvkA6aV99 => https://www.google.com/maps/place/Falafel+M.+Sahyoun/@33.8904447,35.5066505,17z/data=!3m1!4b1!4m6!3m5!1s0x151f16e2123697fd:0x8e6626b678863990!8m2!3d33.8904447!4d35.5066505!16s%2Fg%2F1td7wffc?utm_source=mstt_1&coh=164777&entry=tt&shorturl=1
33.8904447,35.5066505
is already lat/lon explicitly.
Generated by Google Maps on Android and iOS.
https://maps.app.goo.gl/xKoFkDSxx58wEviW6 => https://maps.google.com?q=VGR4+5MC+Falafel+M.+Sahyoun,+Beirut,+Lebanon&ftid=0x151f16e2123697fd:0x8e6626b678863990&hl=en-US&gl=tr&entry=gps&lucs=47067413&
VGR4+5MC+Falafel+M.+Sahyoun,+Beirut,+Lebanon
Plus Code can be parsed into lat/lon.
https://maps.app.goo.gl/9iasfbmabmUTpFuo8 => https://www.google.com/maps/place/Tekelli,+Uchisar+Castle,+50240+U%C3%A7hisar%2FNev%C5%9Fehir+Merkez%2FNev%C5%9Fehir,+T%C3%BCrkiye/data=!4m2!3m1!1s0x152a68ee7113bdc5:0x48a54ea63a91c5c9?utm_source=mstt_1&entry=gps&g_ep=CAESCTExLjc3LjMwMBgAIIgnKgBCAlJV
Tekelli,+Uchisar+Castle,+50240+Uçhisar/Nevşehir+Merkez/Nevşehir,+Türkiye
doesn't have any coordinates and geocoding is needed here.
Hi, I just set up this (Google Maps Unshortener) for an app I'm making, maybe it's of interest here...
Ex:
Edit: I'm sorry if the links are down, I host this on a Raspberry Pi
nice idea, it'll be good to have all these things mapped out in code. A while back, I made a Android app version of the same idea. I also can use Tor to do the HTTP GET:
Hi, I just set up this (Google Maps Unshortener) for an app I'm making, maybe it's of interest here...
This is very cool! @rtsisyk maybe this could be deployed as part of the potential Mozilla-location-services replacement?
Hi, I just set up this (Google Maps Unshortener) for an app I'm making, maybe it's of interest here...
Ex:
- https://mapu.retiolus.net/unshortener?link=https://goo.gl/maps/sXnse1erRvkA6aV99
- https://mapu.retiolus.net/unshortener?link=https://maps.app.goo.gl/xKoFkDSxx58wEviW6
- https://mapu.retiolus.net/unshortener?link=https://maps.app.goo.gl/9iasfbmabmUTpFuo8
Edit: I'm sorry if the links are down, I host this on a Raspberry Pi
Thanks for sharing!!! We will test your unresolver.
Could you please also take a look at https://github.com/organicmaps/url-privacy-proxy ?
I'm very flattered to have been invited to be part of the organisation, thank you! I'll take a look.
I'm very flattered to have been invited to be part of the organisation, thank you! I'll take a look.
The repo was private, but I've published it.
Pls add option to Open OSM and geo url links through Organicmaps app.
Current status by @rtsisyk
DONE
TODO
Upvote & Fund