How can I get a list of all streets and their respective street number from an input polygon (not rectangular) that is defined as langitude and longitude from a csv file? Probably would want to work with overpass api and python here. asked 25 Jan '20, 22:08 montagsmodell |
Uncomment the out:csv line to get a list
answered 26 Jan '20, 01:17 DaveF |
Pass the coordinates in as part of the query: https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#By_polygon_.28poly.29 I usually use requests (or just urllib.request) to fetch an Overpass-API script from python, I don't rely on any extra module, so I can't say if one of them supports doing the poly filter. answered 25 Jan '20, 23:22 maxerickson |
Are the co-ordinates in the csv likely to vary or can you copy paste them to Overpass as a one off process?