Skip to content

CloudReverseGeocodingOptions

Namespace: ThinkGeo.Core

A class provides the options for the ReverseGeocoder APIs.

public class CloudReverseGeocodingOptions

Inheritance object → CloudReverseGeocodingOptions

Remarks:

A class provides the options for the ReverseGeocoder APIs.

Properties

Lang

The language in which to express the result.

public string Lang { get; set; }

Property Value

string

MaxResults

The maximun number of results to return. Defaults to 20.

public int MaxResults { get; set; }

Property Value

int

ResultDetail

Specified that whether the reverse geocoding results should be verbose or not.

public CloudReverseGeocodingResultDetail ResultDetail { get; set; }

Property Value

CloudReverseGeocodingResultDetail

DistanceUnit

The unit of measure in which the distance is expressed. Defaults to "Meter".

public DistanceUnit DistanceUnit { get; set; }

Property Value

DistanceUnit

LocationTypes

The types of location to include in the results. Defaults to empty, which applies no filter.

public Collection<string> LocationTypes { get; }

Property Value

Collection<string>

Remarks:

Use the constants on CloudReverseGeocodingLocationTypes for the accepted values, for example options.LocationTypes.Add(CloudReverseGeocodingLocationTypes.Intersection). An empty collection is not the same as listing every type: it uses the service's default behaviour, which does not include CloudReverseGeocodingLocationTypes.Intersection results.

DataSources

The data sources to search. Defaults to empty, which searches every available source.

public Collection<string> DataSources { get; }

Property Value

Collection<string>

Remarks:

Use the constants on CloudReverseGeocodingDataSources for the accepted values, for example options.DataSources.Add(CloudReverseGeocodingDataSources.OpenStreetMap). Naming even one source narrows the search to what is named.

LocationCategories

The categories of places to include in the result set.

public CloudLocationCategories LocationCategories { get; set; }

Property Value

CloudLocationCategories

IncludeOverturePlaces

Whether to append results from Overture Places (POI) data.

public bool IncludeOverturePlaces { get; set; }

Property Value

bool

OverturePlaceCategory

The Overture place category to search.

public string OverturePlaceCategory { get; set; }

Property Value

string

Constructors

CloudReverseGeocodingOptions()

public CloudReverseGeocodingOptions()