Stream EstateStream Estate
GéoDivisions administratives

Get the boundary of an administrative division

Returns the administrative boundary as GeoJSON, ready to draw on a map. The outline is simplified to a level of detail suited to the division size, so a large region stays a small response. Contours change only when location data is reimported, so the response can be cached by the client.

GET
/geo/administrative-divisions/{id}/geometry
X-API-KEY<token>

Value for the X-API-KEY header parameter.

In: header

Path Parameters

id*string

AdministrativeDivisionGeometry identifier

Response Body

curl -X GET "https://example.com/geo/administrative-divisions/3fa85f64-5717-4562-b3fc-2c963f66afa6/geometry"
{  "geometry": {    "type": "Point",    "coordinates": [      2.3522,      48.8566    ]  },  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"}
Version 0.14.289Dernière mise à jour