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. |
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. |
Uncomment the out:csv line to get a list
|
Are the co-ordinates in the csv likely to vary or can you copy paste them to Overpass as a one off process?