CloudReverseGeocodingLocation¶
Namespace: ThinkGeo.Core
A class presents the location for ReverseGeocoding.
public class CloudReverseGeocodingLocation
Inheritance Object → CloudReverseGeocodingLocation
Remarks:
A class presents the location for ReverseGeocoding.
Properties¶
LocationFeature¶
The feature representing this location. May be a point (e.g. a restaurant), a line (e.g. a road), or a polygon (e.g. a public park or a state boundary).
public Feature LocationFeature { get; set; }
Property Value¶
LocationName¶
The name of this location, e.g. McDonald's.
public string LocationName { get; set; }
Property Value¶
DirectionFromQueryFeature¶
The cardinal direction of this location from the query shape you reverse geocoded. Note: won't apply when you use the reverse geocode area API.
public string DirectionFromQueryFeature { get; set; }
Property Value¶
DistanceFromQueryFeature¶
The distance of this location from the query shape you reverse geocoded. Note: will always be 0 when you use the reverse geocode area API.
public double DistanceFromQueryFeature { get; set; }
Property Value¶
LocationCategory¶
The category of this location, e.g. "Road", "Sustenance", "Building", etc. Many of these are based on known OpenStreetMap place categories.
public string LocationCategory { get; set; }
Property Value¶
LocationType¶
The type of location as defined by its OpenStreetMap type tag. Example 1: A location in the "Road" category may have a PlaceType of "primary". Example 2: A location in the "Building" category may have a PlaceType of "house".
public string LocationType { get; set; }
Property Value¶
Address¶
The human-readable address of this location.
public string Address { get; set; }
Property Value¶
HouseNumber¶
The house number of this location's address.
public string HouseNumber { get; set; }
Property Value¶
Properties¶
Extended properties of the location. e.g., for a road, may contain properties like the number of lanes, the surface type, whether it is one-way, etc.
public Dictionary<string, string> Properties { get; set; }
Property Value¶
Postcode¶
The postal code of the location, if applicable. NOTE: Only populated if your request specified ReverseGeocodingResultDetail.Verbose.
public string Postcode { get; set; }
Property Value¶
AddressComponents¶
A dictionary of individual address components, e.g. street, city, country, etc. NOTE: Only populated if your request specified ReverseGeocodingResultDetail.Verbose.
public Dictionary<string, string> AddressComponents { get; set; }
Property Value¶
Constructors¶
CloudReverseGeocodingLocation()¶
public CloudReverseGeocodingLocation()