Click or drag to resize

GeoCoderReverseGeoCode Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Reverse geocode from a LatLon to a street Address. This method will return null if an address could not be found.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static Address ReverseGeoCode(
	LatLon location
)

Parameters

location
Type: Telogis.GeoBaseLatLon
Location to find.

Return Value

Type: Address
An Address or null.
Remarks

The reverse geocoder will find the nearest street to the given location.

The street number is calculated using the nearest point on the street, and may be interpolated where data is unavailable.

If this method returns null check that you have map data for the location (LatLon) you are reverse geocoding.

Related articles: Geocoding Concept, Address Interpolation and Point Address Data, Reverse Geocoding.

Examples
See MapCtrl for an example of reverse geocode usage.
C#
Address foundAddress = GeoCoder.ReverseGeoCode(new LatLon(33.787935, -118.013866));
// Write out the first address in the array
Console.WriteLine("Found address {0}", foundAddress);
// Prints 'Found address 6830 Chapman Ave, Garden Grove, Orange, California, 92845, USA'
See Also