Click or drag to resize

GeoCoderBulkReverseGeoCode Method (LatLon, Int32, Boolean)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Reverse geocode an array of LatLon to an array of corresponding street addresses.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static BulkResponse<Address> BulkReverseGeoCode(
	LatLon[] latLons,
	int batchSize,
	bool abortOnErrors
)

Parameters

latLons
Type: Telogis.GeoBaseLatLon
Array of locations to reverse geocode with.
batchSize
Type: SystemInt32
The batch size to use when reverse geocoding. Only applicable in GeoStream mode, that is when using a GeoStreamRepository.
abortOnErrors
Type: SystemBoolean
Set to true to abort the bulk reverse geocode operation with an exception when any reverse geocode sub-operation fails. Set to false to continue even when a reverse geocode sub-operation fails.

Return Value

Type: BulkResponseAddress
A BulkResponseTResponse object with the results from the bulk reverse geocoding operation.
Examples
C#
// Specify a location
LatLon location = new LatLon(33.787935, -118.013866);
// Create locations
var locations = new LatLon[] { 
    location
};
// Bulk reverse geocode using the locations
Address[] reverseGeocodeResults = GeoCoder.BulkReverseGeoCode(locations, 100).Responses;
Console.WriteLine("Found address for first item: {0}", reverseGeocodeResults[0]);
// Prints 'Found address for first item:  6830 Chapman Ave, Garden Grove, Orange, California, 92845, USA'
See Also