Click or drag to resize

GeoCoderBulkGeoCode Method (GeoCodeArgs)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Bulk geocode an array of addresses to one or more GeocodeAddresses, using the given GeoCodeArgs.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static GeocodeAddress[][] BulkGeoCode(
	GeoCodeArgs[] bulkArgs
)

Parameters

bulkArgs
Type: Telogis.GeoBase.GeocodingGeoCodeArgs
The array of arguments for the geocoding operations.

Return Value

Type: GeocodeAddress
Zero or more GeocodeAddress results for each geocode request
Examples
C#
// Geocode using StructuredGeoCodeArgs arguments. Max returned results = 5
var addressesToGeoCode = new[] {
    new StructuredGeoCodeArgs {
        Address = "17 West Ryley Court",
        City = "Aliso Viejo",
        Region = "California",
        PostalCode = "92656",
        MaxResults = 5,
        Country = Country.USA
    }
};
GeocodeAddress[][] addr = GeoCoder.BulkGeoCode(addressesToGeoCode);
// Write out the first address in the array
Console.WriteLine("Found address {0}", addr[0][0]);
// Prints 'Found address 17 W Ryley Ct, Aliso Viejo, California, 92656, USA'
See Also