[Geocoding] geocoding of intersection with two road names given

Stefan Steiniger sstein at geo.uzh.ch
Wed Mar 18 22:58:06 UTC 2015


Dear GeoCoders,

I am having a database of traffic accidents. All accidents that happened 
at an intersections are described by giving the two street names. Is 
there an option to send such a request to Nominatim?
I tried it with "Street A, and, Street B, City", without success.

Or: Would I have to fetch the geometry of either road and do then some 
processing with my client a la JTS: geom.intersect(geom2)? Assuming a 
small area -> planar 2D should be fine.
If I need to do it this way: Does "polygon_geojson=1" give me the 
complete LineString as in the DB?

thanks and cheers from Santiago de Chile,
Stefan

PS: Btw. I am using iPython Notebook, so I guess shapely helps me here 
to do the JTS stuff, in case someone knows?
PPS: no worries, I got my own instance of Nominatim sucessfully 
installed: thank you for that guide and work!



More information about the Geocoding mailing list