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¶
Description¶
For a street intersection, the roads that meet there as a comma-separated list, e.g. "East Madison Street,North State Street,South State Street,West Madison Street". Null for every other kind of location. NOTE: Request intersections by adding "intersection" to CloudReverseGeocodingOptions.LocationTypes.
public string Description { get; set; }
Property Value¶
Location¶
For a street intersection, the crossing point as a POINT well-known text in the coordinate system you requested. Null for every other kind of location.
public string Location { get; set; }
Property Value¶
IntersectingRoads¶
For a street intersection, the individual roads that meet there. Empty in the current service: the road names are carried in CloudReverseGeocodingLocation.Description, matching the behavior of the older reverse geocoding API.
public Collection<CloudReverseGeocodingLocation> IntersectingRoads { get; set; }
Property Value¶
Collection<CloudReverseGeocodingLocation>
Priority¶
For a street intersection, its priority. The service does not currently return a meaningful value here, so this is 0 for intersections and for every other kind of location; it exists to match the older reverse geocoding API's response shape.
public float Priority { get; set; }
Property Value¶
Constructors¶
CloudReverseGeocodingLocation()¶
public CloudReverseGeocodingLocation()