715
submitted 2 months ago* (last edited 2 months ago) by otter@lemmy.ca to c/youshouldknow@lemmy.world

For each example in this post, I will be linking to the sea otter pools at the Vancouver aquarium. That location has the coordinates of 49.30063,-123.13149

To link to it, you would use 'geo:49.30063,-123.13149'.

Depending on your web browser, pasting that into the search bar might prompt you to select which map website you want to use to view that location. For me in Firefox, it asked me to pick between Google Maps and OpenStreetMaps. It's even more convenient on mobile, where it asks me which map app I want to open it with. Both CoMaps and Google Maps handled it correctly.

If you are writing a post or comment on Lemmy/Piefed/etc., you can place it in the second part of the markdown link format: [Sea Otter Pools](geo:49.30063,-123.13149). This would output like this: Sea Otter Pools

The linked OpenStreetMap wiki page has a good summary of how well various apps support this scheme. A lot of people here are active in the open source space, so please consider following up with the apps that are currently missing support or have partial support for this: https://wiki.openstreetmap.org/wiki/Geo_URI_scheme


EDIT: I forgot to mention, you can also use apps like this one to convert maps links between each other

https://github.com/jakubvalenta/GeoShare

https://f-droid.org/packages/page.ooooo.geoshare/

https://apt.izzysoft.de/fdroid/index/apk/page.ooooo.geoshare

top 50 comments
sorted by: hot top new old
[-] abbadon420@sh.itjust.works 69 points 2 months ago

This is neat

[-] squirrel@cake.kobel.fyi 56 points 2 months ago

Sadly it doesn't work sharing a geo link in Signal, and they don't want to implement it. GitHub Issue

[-] unexposedhazard@discuss.tchncs.de 40 points 2 months ago* (last edited 2 months ago)

Same with element. They used to support it but dropped it. Really stupid excuse in that github issue. If adding support for sonething so simple adds lots of complexity then your codebase is garbage. This is why we cant have nice things.

[-] Ghoelian@piefed.social 6 points 2 months ago

Lol the pr is only 2 files, one of which is a test class. I do wonder why they wrote their own parser, does javas url handler not support the geo scheme either or something?

load more comments (1 replies)
[-] lawks@aussie.zone 40 points 2 months ago

It has abysmal support. All the places you'd need it to work without anything special, like link recognition in messaging apps and email clients, it rarely does. Even apps that could make good use of specific locations for inputs often don't register a handler for the scheme. It's been that way for years, and I don't expect it to get a whole lot better.

[-] sik0fewl@piefed.ca 26 points 2 months ago

The link does not even render in Voyager, unfortunately.

[-] greatwhitebuffalo41@slrpnk.net 6 points 2 months ago

Yeah I noticed that was well

[-] grue@lemmy.world 18 points 2 months ago

That's exactly why YSK (especially if you're a developer)!

load more comments (1 replies)
[-] Viking_Hippie@lemmy.dbzer0.com 30 points 2 months ago

I will be linking to the sea otter pools at the Vancouver aquarium

checks username

Party at your place?

[-] otter@lemmy.ca 32 points 2 months ago

You don't need to bring clams, but it's polite to do so

[-] LastYearsIrritant@sopuli.xyz 11 points 2 months ago

BYOOR

Bring Your Oyster Opening Rock

[-] DougPiranha42@lemmy.world 18 points 2 months ago

This sounds nice. On iphone, nothing happens when I click your link. When I paste it in safari, it searches for it, and the ddg results are coordinates finder websites, not related to the specific location.

[-] CombatWombat@feddit.online 6 points 2 months ago

This is only true if you don't have an app installed to handle the link schema. When I click the link, it opens Organic Maps

[-] logi@lemmy.world 16 points 2 months ago

Tapping that little NK on my android phone That seems to work.

[-] naught101@lemmy.world 13 points 2 months ago

Link doesn't work in voyager. Does in Firefox though!

load more comments (3 replies)
[-] Outdated4134@piefed.zip 12 points 2 months ago

For me, there is no link. I copied it and pasted it (geo:49.30063, -123.13149) several different things and none of them worked correctly.

load more comments (7 replies)
[-] deltapi@lemmy.world 11 points 2 months ago

Very cool, this was the result for me, so at least on android it seems to work as advertised. A picture of an app choice dialog after checking on a 'geo' link showing several map/location apps to choose from

[-] friend_of_satan@lemmy.world 7 points 2 months ago

I wonder if it would make sense to have a URL scheme for that instead, like geo://49.30063,-123.13149

[-] filcuk@feddit.uk 6 points 2 months ago

What about tel:, or mailto:, sms:, callto:

load more comments (1 replies)
load more comments (2 replies)
[-] chunes@lemmy.world 7 points 2 months ago* (last edited 2 months ago)

Depending on your web browser, pasting that into the search bar might prompt you to select which map website you want to use to view that location. For me in Firefox, it asked me to pick between Google Maps and OpenStreetMaps.

I'm on Firefox and all it did was initiate a web search that found one result: this thread. If it's a hyperlink, all it does is open a blank page.

[-] otter@lemmy.ca 7 points 2 months ago* (last edited 2 months ago)

An unnecessary complicated example where I use an image in the first part of the markdown notation:

[![A computer icon of a map location pinpoint with geographic context.](https://lemmy.nz/api/v3/image_proxy?url=https%3A%2F%2Fthumb.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2Fe%2Fe2%2FPin_location_context.svg%2F330px-Pin_location_context.svg.png)](geo:49.30063,-123.13149)

Which renders as:

A computer icon of a map location pinpoint with geographic context.


Also, no, I do not live at this location. Not currently.

[-] Zachariah@lemmy.world 17 points 2 months ago* (last edited 2 months ago)

Also, no, I do not live at this location. Not currently.

You otter consider it though. Free food. Swim any time you want. That’s the life.

Also: Unfortunately, in Voyager, the geo link is rendered just as the link description and isn’t clickable. And on iOS, I tried Firefox Focus and Safari and both just took me to a web search for longitude and latitude. I really wish it worked because it’s a great feature.

[-] kn33@lemmy.world 6 points 2 months ago* (last edited 2 months ago)

I zoomed in on bumfuck, Kansas to try this out. Let's see.

load more comments (5 replies)
[-] smeenz 6 points 2 months ago
[-] MimicJar@lemmy.world 8 points 2 months ago

Technically it does.

The default is to use the Coordinate Reference System for the Earth, but if you wanted to use the moon then you'd use something like,

geo:37.786971,-122.399677;crs=Moon-2011;u=35

load more comments (1 replies)
[-] Goodlucksil@lemmy.dbzer0.com 3 points 2 months ago

Geo means earth. Of course it won't work outside of the Earth

load more comments (6 replies)
[-] aim4harmony@lemmy.world 6 points 2 months ago* (last edited 2 months ago)

I got the correct area on Fennec -> CoMaps (app) on /e/OS. ☺️ The website alone resulted in a blank page.

[-] RollingZeppelin@piefed.ca 6 points 2 months ago

On my Maps for Android, it only zooms to the Aquarium, there's no pointer for the Sea Otter Pools.

load more comments (1 replies)
[-] anotherandrew@lemmy.mixdown.ca 5 points 2 months ago

Heh, on my iPhone it wants to open an NFC reading app for the sea otter geo: link

load more comments (1 replies)
[-] GTG3000@programming.dev 5 points 2 months ago

Doesn't do anything as far as I can tell? Or is this android specific?

Also the links don't work in discord.

[-] gwl@lemmy.blahaj.zone 5 points 2 months ago

It's what's known as a "Protocol URI", which the OS and/or browser have to choose what to do with that

Sounds like you have an OS or Browser that haven't implemented the protocol

[-] WhyJiffie@sh.itjust.works 5 points 2 months ago

not only that. some clients including voyager don't recognize geo uris as openable links

[-] ArchEngel@lemmy.ca 4 points 2 months ago* (last edited 2 months ago)

Does not seem to open via Thunder. Can confirm that copying and pasting it into CoMaps or Waterfox works great though.

I have submitted a feature request to Thunder.

[-] scytale@piefed.zip 4 points 2 months ago

Can the commercial map apps spit out that format when sharing a location? I met up with a random person last week to buy a used item off of marketplace and they sent me an Apple maps pin of the exact apartment building they were in. I didn’t have apple maps installed.

[-] otter@lemmy.ca 5 points 2 months ago
[-] Wizard_Pope@lemmy.world 4 points 2 months ago

The link just does nothing for me on jerboa

[-] arschfidel@discuss.tchncs.de 8 points 2 months ago

For me it does work when I hold press the link and then choose "Open in external" in the popup that opens. But yes, simply tapping does nothing.

load more comments (1 replies)
load more comments (1 replies)
[-] roomy@lemmy.world 4 points 2 months ago

I opened this in CoMaps and now i have a permanent map pointer to it hah

load more comments (2 replies)
[-] ddplf@szmer.info 3 points 2 months ago

Does Goo*le maps support it? Because they usually don't give a flying fuck about anything that would make it possible to share data with open-source solutions.

[-] 9point6@lemmy.world 5 points 2 months ago

Of course it does, they're not gonna miss an opportunity to get you into their app from somewhere else

load more comments (1 replies)
[-] phar@lemmy.world 3 points 2 months ago* (last edited 2 months ago)

When I pasted mine into duck duck go it didn't work. I deleted Geo and typed location, and now it works

Edit: spelling

load more comments (1 replies)
[-] cloudsurfer@feddit.org 3 points 2 months ago

Does anyone know, why GitHub of all places does not support geo links in their readme or issue markdown files?

load more comments (2 replies)
load more comments
view more: next ›
this post was submitted on 20 Sep 2026
715 points (99.2% liked)

You Should Know

48531 readers
5 users here now

YSK - for all the things that can make your life easier!

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with YSK.

All posts must begin with YSK. If you're a Mastodon user, then include YSK after @youshouldknow. This is a community to share tips and tricks that will help you improve your life.



Rule 2- Your post body text must include the reason WHY YSK:

In your post's text body, you must include the reason "Why" YSK: It’s helpful for readability, and informs readers about the importance of the content.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-YSK posts.

Provided it is about the community itself, you may post non-YSK posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you harass or discriminate against any individual member, you will be removed.

If you are a member, sympathizer or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- The majority of bots aren't allowed to participate here.

To have your bot whitelisted, please contact the moderators for a short review.



Rule 11- Posts must actually be true:

Disinformation, trolling, and being misleading will not be tolerated. Repeated or egregious attempts will earn you a ban. This also applies to filing reports: If you continually file false reports YOU WILL BE BANNED! We can see who reports what, and shenanigans will not be tolerated. We are not here to ban people who said something you don't like.



Rule 12- Linking directly to a video as a source is not acceptable.

Video only posts are responsible for an outsized portion of rules violations. Your post must contain text and meet the requirements of the previous rules.



Rule 13- If you file a report, include what specific rule is being violated and how.


Rule 14- This is a human community, NO LLMS ALLOWED.

No LLM based bot will ever have permission to post in YSK, do not ask.



Partnered Communities:

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

Credits

Our icon(masterpiece) was made by @clen15!

founded 3 years ago
MODERATORS