Click or drag to resize

GeoCoderGeoCode Method (String, Country)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Geocode a string address to one or more GeocodeAddresses, within the given Country.

Namespace:  Telogis.GeoBase
Assembly: (in Version:
public static GeocodeAddress[] GeoCode(
	string address,
	Country cntry


Type: SystemString
Address to find.
Type: Telogis.GeoBaseCountry
Country to search.

Return Value

Type: GeocodeAddress
Zero or more GeocodeAddress results.

The geocoder is capable of looking up street intersections when they are specified with the & (ampersand) or @ characters. For example:

18th & placentia, costa mesa18th @ placentia, costa mesa

The address may also contain a latitude longitude pair, for example "34, -117"

Related articles: Geocoding Concept.

// Geocode an address
GeocodeAddress[] addr = GeoCoder.GeoCode("20 Enterprise, Aliso Viejo, California", Country.USA);
// Write out the first address in the array
Console.WriteLine("Found address '{0}'", addr[0].ToString());
// Prints 'Found address '20 Enterprise, Aliso Viejo, California, 92656, USA''
See Also