Sunday 30 July 2017

openstreetmap - Reverse geocoding Nominatim results?


I need to obtain street intersections from reverse geocoded lat/long, where there is no house number information.


I have a tile server and Nominatim running in Ubuntu 12.04 virtualbox.


I followed intructions to install Nominatim v2 at http://wiki.openstreetmap.org/wiki/Nominatim/Installation


Is there a way to modify anything to make this work?



Answer




Up to now Nominatim has no support for finding street intersections. However, the developers will welcome your help implementing it.


Perhaps there are other solutions for you, as explained here:



  • If you know the two streets for which you want to find the intersection, then you can retrieve them via two geocoding-queries and compare their nodes for equality (a road intersection in OSM is defined by a node being part of two or more ways).

  • If you just know the rough location, then you can grab all surrounding roads (e.g. using the Overpass API) and again start comparing each road with each other one for equal nodes.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...