Skip to main content

PropertyLandmark

The PropertyLandmark Resource includes fields that describe landmarks near a property.

Fields

The following fields are available in the PropertyLandmark Resource:

Field NameTypeDescription
LandmarkKeyStringThe unique identifier of the landmark as it relates to the listing.
ListingKeyStringThe unique identifier of the property listing.
LandmarkTypeString List, SingleThe type of landmark (e.g., Waterbody).
LandmarkNameStringThe name of the landmark.
DistanceNumberThe distance from the property to the landmark.
DistanceUnitsString List, SingleThe units of measurement for the distance (always Meters).
ClosestLatitudeNumberThe latitude of the closest point on the edge of the landmark.
ClosestLongitudeNumberThe longitude of the closest point on the edge of the landmark.
ModificationTimestampTimestampThe 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