Skip to content

CloudReverseGeocodingDataSources

Namespace: ThinkGeo.Core

The data sources accepted by CloudReverseGeocodingOptions.DataSources.

public static class CloudReverseGeocodingDataSources

Inheritance object → CloudReverseGeocodingDataSources

Remarks:

Each constant is the exact value the service expects, so they can be added to CloudReverseGeocodingOptions.DataSources directly:

options.DataSources.Add(CloudReverseGeocodingDataSources.OpenStreetMap);
options.DataSources.Add(CloudReverseGeocodingDataSources.OpenAddresses);

Leaving the collection empty searches every source listed here. Naming even one source narrows the search to what is named, so a list that omits CloudReverseGeocodingDataSources.OverturePlaces excludes it. Values are matched case-insensitively, and a value outside this list is rejected with an error naming the accepted ones.

Fields

OpenStreetMap

OpenStreetMap. Broad worldwide coverage of venues, streets, and addresses.

public static string OpenStreetMap;

OpenAddresses

OpenAddresses. Address points collected from authoritative government sources.

public static string OpenAddresses;

WhosOnFirst

Who's on First. The gazetteer behind the administrative location types, from CloudReverseGeocodingLocationTypes.Country through CloudReverseGeocodingLocationTypes.Neighbourhood.

public static string WhosOnFirst;

GeoNames

GeoNames. Populated places and geographic features.

public static string GeoNames;

OverturePlaces

Overture Places. A separate points-of-interest dataset, searched alongside the others.

public static string OverturePlaces;

Remarks:

Overture results carry no address details, so Address and AddressComponents are empty on them. This source is also not filtered by CloudReverseGeocodingOptions.LocationTypes: when it is searched, its results are returned whatever location types are requested. Omit it from the list when a location-type filter needs to apply to every result.