python-overpy icon indicating copy to clipboard operation
python-overpy copied to clipboard

Quering data from a localhost or patrticular osm file

Open jadhm opened this issue 7 years ago • 1 comments

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

jadhm avatar Oct 31 '18 10:10 jadhm

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

PolyglotOpenstreetmap avatar Dec 13 '18 22:12 PolyglotOpenstreetmap