DinoTools / python-overpy

Python Wrapper to access the Overpass API
https://python-overpy.readthedocs.io/
MIT License
235 stars 58 forks source link

Quering data from a localhost or patrticular osm file #77

Open jadhm opened 5 years ago

jadhm commented 5 years ago

Hi,

I am using OpenStreetMap (josm) to create a map with nodes and ways .. etc. and I am uploading my data to a localhost "http://localhost:3000/api". If I wanna query data using overpy api can I use this host in order to query data from ? and in case not !! is there any other way to query data from particular osm file using overpy? Thanks,

Jad

PolyglotOpenstreetmap commented 5 years ago

If your localhost would be running an Overpass server instance, but that is unlikely.

I answered the question to load from a file on the local file system here: https://github.com/DinoTools/python-overpy/issues/78