mvexel / overpass-api-python-wrapper

Python bindings for the OpenStreetMap Overpass API
Apache License 2.0
360 stars 89 forks source link

querying data from local osm file #108

Closed johnbryant1 closed 5 years ago

johnbryant1 commented 5 years ago

Hi, I am trying to query the data of a specific osm file from my hard disk. Is it possible to do so directly using overpass without uploading the osm file it to a localhost? Thank you in advance.

mvexel commented 5 years ago

There are various ways to query a local OSM file, but Overpass is not one of them. I suggest you look at osmium for basic filtering / querying, or loading the file into a PostGIS database using osm2pgsql

johnbryant1 commented 5 years ago

thanks for the recommendation. I have actually managed to query from the overpass web page server.