Is there a way to reverse geocde an entire street? Essentially I would like to create a file with all lat/lng points for a specific street. For example is there a way to get all lat/lng values for Oxford Street in London? I have a large amount of location data and I would like to break it down into specific streets for analysis. asked 04 Oct '17, 10:32 seesensemichael |
This Overpass query will return all the lat/lng points defining the geometry of Oxford Street. Note though that there are other ways to use Overpass for your use case. answered 04 Oct '17, 11:27 Hjart |
The reverse search logic starts at a position and then increases the search radius (circle) until it finds the first map feature (e.g. address). If you have Nominatim installed on your own server you could query the database for all addresses associated with the street, though often the street is split into multiple segments. Nominatim doesn't have an API for that. You could check with https://github.com/pelias/interpolation, not sure if that library is used internally or if they offer it via an API. answered 04 Oct '17, 11:08 mtmail |
Please remember that OSM data comes under the Open Database License. If you download road geometries and use them in your own database, then your own database in all likelihood becomes a derivative database (from OSM) and hence uses the ODbL license too. If you later "publicly use" results of your analyses, it is likely that you will have to share the contents of your derived database under the ODbL license. See the License and Legal FAQ for details. answered 04 Oct '17, 13:03 Frederik Ramm ♦ |