GeoCoderBulkReverseGeoCode Method (LatLon, Int32, Boolean) | |
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
)
Public Shared Function BulkReverseGeoCode (
latLons As LatLon(),
batchSize As Integer,
abortOnErrors As Boolean
) As BulkResponse(Of Address)
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:
BulkResponseAddressA
BulkResponseTResponse object with the results from the bulk reverse geocoding operation.
Examples
LatLon location = new LatLon(33.787935, -118.013866);
var locations = new LatLon[] {
location
};
Address[] reverseGeocodeResults = GeoCoder.BulkReverseGeoCode(locations, 100).Responses;
Console.WriteLine("Found address for first item: {0}", reverseGeocodeResults[0]);
See Also