How do I find the LatLon of the nearest street address?

ReverseGeoCodeFull() will find the nearest StreetLink. The Intersection field will give you the LatLon of the nearest point on that StreetLink.

C# Example using a LatLon in Talbert Park, Newport Beach:

LatLon posn = new LatLon(33.644723,-117.945064); 
GeoCodeFull gcf = GeoCoder.ReverseGeoCodeFull(posn); 
LatLon st_posn = gcf.Intersection; 
Console.WriteLine("Nearest address = {0}\nlocation = {1}", gcf.Address, st_posn);

 The output is:

Nearest address = 52 Balboa Blvd, Newport Beach, Orange, California, 92663, USA
location = 33.644717,-117.945127 

 

Published, Jun 3rd 2009, 14:41