Why Nostr? What is Njump?
2024-01-28 16:19:10
in reply to

Tom Morris on Nostr: npub19lt42…6qfjk I've noodled around with trying to write some code to turn all of ...

I've noodled around with trying to write some code to turn all of OSM into a Foursquare-style venues database but haven't had the time.

My rough plan—a script that parses the entire OSM dataset and:

- filters out the features one wants based on a predicate (pubs, restaurants, public buildings, etc.)
- flattens ways/relations into points (calculate centroids)
- emits lat, long, label, OSM type+ID

Stick result in DB (SQLite+SpatiaLite appeals to me), index on coords, query N closest.
Author Public Key
npub187cryu7vlwfmgad5mgddh3msjhjejqg7knxn604nygqv604qge5q7x3rzp