You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 overpy without uploading the osm file it to a localhost? Thank you in advance.
Hi, I'm also interested in getting overpy to work while using a local .osm file instead of the online databases.
After trying the approaches of @PolyglotOpenstreetmap and @amenk, I couldn't get the query to use my local database.
Hello, is there any news about this issue?
I'm sure it is my fault but I also tried with @PolyglotOpenstreetmap proposal and unfortunately it runs the query against the global server.
Can somebody please shed some light on this?
Thank you!
Activity
PolyglotOpenstreetmap commentedon Dec 13, 2018
`import overpy
with open('test.osm')) as fh:
osm_data = api.parse_xml(data=fh.read(), encoding='utf-8', parser=None)
`
amenk commentedon Dec 31, 2019
I assume the idea of @johnbryant1 is to load a local OSM file and run queries against that (correct me if I am wrong).
I tried
but
seems still to query overpass-api.de instead of running in-memory.
0x414D47 commentedon May 6, 2020
Hi, I'm also interested in getting overpy to work while using a local .osm file instead of the online databases.
After trying the approaches of @PolyglotOpenstreetmap and @amenk, I couldn't get the query to use my local database.
Does anyone have a solution for this?
Thanks in advance.
nachoSO commentedon Mar 4, 2022
Hello, is there any news about this issue?
I'm sure it is my fault but I also tried with @PolyglotOpenstreetmap proposal and unfortunately it runs the query against the global server.
Can somebody please shed some light on this?
Thank you!