GET sites/near.{outputFormat}
Operation ID: —
Auth: unknown
Description
Represents sites near a given point in the order of closest to farthest
Parameters (10)
(boolean, query, optional, default: False)
If true, include only basic match and address details in results. Not supported for shp, csv, and gml formats.
(boolean, query, optional, default: False)
If true, excludes sites that are units of a parent site
(string, query, optional, default: any)
Describes the nature of the address location. See <a href=https://github.com/bcgov/ols-geocoder/blob/gh-pages/glossary.md#locationDescriptor target="_blank">locationDescriptor</a>
Constraints: {'enum': ['any', 'accessPoint', 'frontDoorPoint', 'parcelPoint', 'rooftopPoint', 'routingPoint']}
(integer, query, optional)
The maximum distance (in metres) to search from the given point. If not specified, the search distance is unlimited.
(integer, query, optional, default: 1)
The maximum number of search results to return.
(boolean, query, optional, default: False)
If true, excludes sites without a civic address
(string, path, required, default: json)
Results format. See <a href=https://github.com/bcgov/ols-geocoder/blob/gh-pages/glossary.md#outputFormat target="_blank">outputFormat</a>. Note: GeoJSON and KML formats only support EPSG:4326 (outputSRS=4326)
Constraints: {'enum': ['json', 'geojson', 'xhtml', 'kml', 'gml', 'csv', 'shpz']}
(integer, query, optional, default: 4326)
The EPSG code of the spatial reference system (SRS) to use for output geometries. See <a href=https://github.com/bcgov/ols-geocoder/blob/gh-pages/glossary.md#outputSRS target="_blank">outputSRS</a>
Constraints: {'enum': [4326, 4269, 3005, 26907, 26908, 26909, 26910, 26911]}
(string, query, required)
The point (x,y) from which the nearby sites will be identified. The coordinates must be specified in the same SRS as given by the 'outputSRS' parameter.
(integer, query, optional, default: 0)
The distance to move the accessPoint away from the curb and towards the inside of the parcel (in metres). Ignored if locationDescriptor not set to accessPoint.
No probe data for this endpoint yet.