#TIL #GeoURI 的特殊用法,在 URI 後綴括號文字,就會在指向的點座標加上文字標籤。

大概長這樣: geo:25.040050,121.512069(這裡是總統府)

依 android (google map) 的文件則要寫成這樣:
geo:0,0?q=25.040050,121.512069(這裡是總統府) ,如果考慮 geo uri 規範開頭是座標的話, uri 開頭也可以寫成 geo:25.040050,121.512069 。

從英文維基百科看來的,但寫得不是很清楚,就補了幾個範例上去。

https://en.wikipedia.org/wiki/Geo_URI_scheme#Unofficial_extensions

geo uri 原則只在有地圖類 app 的行動裝置上運作,如果 fediverse client 沒辦法顯示 geo uri,請使用這個連結:

https://gholk.github.io/system/redirect.html#url=geo:25.040050,121.512069?q=25.040050,121.512069%28這裡是總統府%29

geo URI scheme - Wikipedia

The "geo:" URI scheme

a Uniform Resource Identifier for geographic locations

#OsmAPP is becoming a very user-friendly front-end for #OpenStreetMap. Kudos to their very nimble team!

For example, without having to learn #Overpass, from the searchbox, anyone can simply search for "wikipedia=* to find features tagged with wikipedia=*

Or, maybe finding nearby emergency shelters.

These days I use them a lot as a way of sharing a location to other people, rather than a link coming from OSM itself, or any other mapping platform.

#geoURI is actually supported!

@noelreports

geo:46.7464790,33.1189690 ?

(for #GeoURI https://geouri.org/, use some extension, for example https://addons.mozilla.org/en-US/firefox/addon/geo-uri-handler/ for #Firefox ).

The "geo:" URI scheme

a Uniform Resource Identifier for geographic locations

Hey, #mapping app developers and map geeks, are mobile or desktop apps supporting #geoURI map scheme?
https://en.wikipedia.org/wiki/Geo_URI_scheme

If I understand this correctly, expecting long-tap on URI contextual menu to show app

geo URI scheme - Wikipedia

А знаете ли вы, что есть схема URI под названием geo, которая позволяет ткнуть в любой объект на поверхности Земли прямо со страницы?
https://ru.wikipedia.org/wiki/Geo-URI
#geoURI #geo
Geo-URI — Википедия

Fucking #google #maps app requires its own uri on #android, because supporting #geouri prevents developer #bullying ... 🤬
@vinber Yep! Le #geoURI ouvrait #MapsMe, #GuruMaps, et #GoogleEarth. 😉
(Et pas de configuration possible sur iOS 🤷‍♀️: J’ai supprimé les applications une par une.)
@vinber
Effectivement, le #geoURI semble être le standard le plus répandu.
Ex: geo://47.31955,5.04484?z=19

Mais sur #iOS, ça n’ouvre pas #OSMAnd, alors qu’une url plus spécifique fonctionne: osmand.net/go?lat=47.31955&lon…
OsmAnd - Offline Mobile Maps and Navigation

Really hoping I can get my personal army to help with signal boost on this issue: https://github.com/Fyrd/caniuse/issues/3685

It would be 🔥 ULTRA 🔥 FUEGO 🔥 if one could check for protocol handler registration before resorting to polyfills for things like opening a map location for driving directions.

#webdev #chrome #chromium #firefox #samsunginternet #isprotocolhandlerregistered #longhashtags # safari #webkit #indieweb #geouri

navigator.isProtocolHandlerRegistered and .unregisterProtocolHandler · Issue #3685 · Fyrd/caniuse

In addition to navigator.registerProtocolHandler I would like to see support for navigator.isProtocolHandlerRegistered and navigator.unregisterProtocolHandler. The methods were defined in an early ...