I like searching for POIs via a query language on Overpass. My queries tend to be quite simple - “get all amenities of x type, in y area that have z tag”. The rendered map showing matching POIs is a nice-to-have, but not completely necessary.

What is the best way to do this offline, on Linux? (ideally using software already packaged for Debian, but that’s not vital).

I’m imagining a REPL that I can pass a downloaded map to, and then can query and see the results (in an ideal world, rendering them too).

It seems database schemas are close to what I want, but they seem to be designed more for people doing large scale complex queries and building bespoke databases just with the information they want.

Are these tools a good fit for my use case, or is there is a better/simpler way?

  • ambitiousslab@feddit.ukOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    Thanks for the tip! Your assumptions are correct.

    Someone else suggested osmium tags-filter on the downloaded PBF files (which are ~150 MB), and that’s working well at the moment. I’ll keep this in mind as I’m presuming that importing into a database will be more efficient in case I ever increase the size of the map I’m working with.