I\'m trying to find the two closest streets to a point with the Google Places API (basically to indicate the closest intersection). However, any result will only ever return
GeoNames provides a Geocoding API for nearest intersection from latitude/longitude coordinates.
http://www.geonames.org/maps/us-reverse-geocoder.html#findNearestIntersection
The JSON response looks like this:
{"intersection":
{"adminName2":"San Mateo",
"street2":"Curtis St",
"postalcode":"94025",
"street1":"Roble Ave",
"adminCode1":"CA",
"distance":"0.08",
"countryCode":"US",
"lng":"-122.180842",
"placename":"Menlo Park",
"lat":"37.450649",
"adminName1":"California"
},
"credits":"1.0"
}
street1 and street2 are the cross streets.