Feature ID
A feature is one geography in a reference dataset: for example postcode 93391 in "Postcode 5 - se". Its ID is the feature ID. Together with the Ref ID of its dataset it identifies the geography, for example to fetch its geometry.
The feature IDs of an area's geographies are in the container details, as geo_ids[].feature_id (see Polygon ID).
You can also list an area's features with their centre points. You need the Container ID:
curl https://app-api.geposit.se/v2.0/container/{container_id}/features \
--header 'x-api-key: {API_KEY}'[
{
"type": "Feature",
"geometry": "{\"type\":\"Point\",\"coordinates\":[19.175858,65.5925087]}",
"properties": {
"cid": "CONTAINER_ID",
"container_name": "Arvidsjaur",
"name": "93327",
"country": "se",
"feid": "FEATURE_ID",
"rfid": "REF_ID",
"polygon_id": "POLYGON_ID",
"visible": true
}
}
]properties.feid is the feature ID and properties.rfid the ref ID.
Updated about 7 hours ago
Did this page help you?