Replying to Avatar arkinox

When you see multiple geohashes on an event, it's actually kind of a hack that is necessary so that when zooming in a map a given event is visblible at various levels without too much extra work. But this wasn't anticipated when the g tag was added to the protocol.

The g tag might only be referenced in nip 52 but it was around before that; it never came from a NIP but was just kinda added at some point.

So I don't think it needs to be part of NIP 52. Probably a new NIP, but because it's just a tag storing data and doesn't prescribe any new behavior to the protocol, a NIP may not be necessary. Just start using it! 🫡

Avatar
Sjors Provoost 1y ago

I know it predates Nostr, I've heard about it before though hadn't seen it used.

https://en.m.wikipedia.org/wiki/Geohash

I also changed my script to use it: https://git.sprovoost.nl/sjors/instablossom/src/commit/35435296003f6de9229b30a4998fa3cea8443fee/main.ts#L157

But I'll have to re-run it on a fresh nostr:npub17ukuyktgmvwcgtnh600tpyleqt4pklvln0hvkwp3sx3c472fsztqswnhu2 npub.

Reply to this note

Please Login to reply.

Discussion

Avatar
arkinox 1y ago

Nice! Yeah I know Geohash predates nostr for sure, I was just talking about its use in nostr

Thread collapsed