this post was submitted on 16 Jan 2026
11 points (100.0% liked)

OpenStreetMap community

5278 readers
9 users here now

Everything #OpenStreetMap related is welcome: software releases, showing of your work, questions about how to tag something, as long as it has to do with OpenStreetMap or OpenStreetMap-related software.

OpenStreetMap is a map of the world, created by people like you and free to use under an open license.

Join OpenStreetMap and start mapping: https://www.openstreetmap.org/.

There are many communication channels about OSM, many organized around a certain country or region. Discover them on https://openstreetmap.community/

https://mapcomplete.org/ is an easy-to-use website to view, edit and add points (such as shops, restaurants and others)

https://learnosm.org/en/ has a lot of information for beginners too.

founded 6 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] schnurrito@discuss.tchncs.de 3 points 1 week ago* (last edited 1 week ago) (1 children)

How big are the "downloaded maps"?

JOSM can do fairly complex queries with its search feature, maybe that satisfies your needs; but if you're dealing with very large areas, they might overwhelm JOSM and not load in it.

ETA: of course "downloaded maps", if you mean .osm files, are just XML files, so it's completely trivial to write simple scripts to search through them oneself

[โ€“] ambitiousslab@feddit.uk 1 points 1 week ago* (last edited 1 week ago)

Thank you for the tips! I should have been more precise in my question. The downloaded maps are ~150MB, in PBF format (although I would have been happy to use any other standard format if needed). I went with osmium tags-filter in the end, and it seems to be working well.