PropertyLandmark
The PropertyLandmark Resource includes fields that describe landmarks near a property.
Fields
The following fields are available in the PropertyLandmark Resource:
Field Name | Type | Description |
---|---|---|
LandmarkKey | String | The unique identifier of the landmark as it relates to the listing. |
ListingKey | String | The unique identifier of the property listing. |
LandmarkType | String List, Single | The type of landmark (e.g., Waterbody). |
LandmarkName | String | The name of the landmark. |
Distance | Number | The distance from the property to the landmark. |
DistanceUnits | String List, Single | The units of measurement for the distance (always Meters). |
ClosestLatitude | Number | The latitude of the closest point on the edge of the landmark. |
ClosestLongitude | Number | The longitude of the closest point on the edge of the landmark. |
ModificationTimestamp | Timestamp | The timestamp of the last modification to the landmark data. |
Examples
note
Remember to URL Encode query string values prior to sending HTTP requests. To aid with readability, the URLs in this document are displayed without URL encoding and wrapped over multiple lines.
Retrieve PropertyLandmarks for a Property
This query will retrieve the PropertyLandmarks for a Property with a ListingKey equal to 123456:
https://query.ampre.ca/odata/PropertyLandmark
?$filter=ListingKey eq '123456'
Retrieve ListingKeys within a Distance of a Landmark
This query will retrieve the ListingKeys for properties within 100 meters of a landmark named "Lake Simcoe":
https://query.ampre.ca/odata/PropertyLandmark
?$filter=LandmarkType eq 'Waterbody' and LandmarkName eq 'Lake Simcoe'
and Distance le 100