What is Nostr?
Tom Morris /
npub187c…3rzp
2024-01-28 16:19:10
in reply to nevent1q…cjrx

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

npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk (npub19lt…qfjk) 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