Get Feature
GET
https://api.woosmap.com/datasets/{dataset_id}/features/{feature_id}
Gets a feature from its ID.
Rate limit: 20/1s
Ratelimit: 20/1s
Authorization
Path Parameters
dataset_id
string required
feature_id
string required
Query Parameters
format
string Defaults to
geojson Header Parameters
X-Field-Mask
object
Response
Successful Response
id
string (uuid) required
geometry
string | PointGeometry | LineStringGeometry | PolygonGeometry | MultiPointGeometry | MultiLineStringGeometry | MultiPolygonGeometry required
attributes
object required
Errors
401
Unable to locate credentials.
application/json
detail
string required
402
Out of free quota.
application/json
detail
string required
403
Credentials found, but not matching.
application/json
detail
string required
404
Feature or Dataset were not found
application/json
details
string required
422
Validation Error
429
Rate limit reached
application/json
details
string required
curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY'
const requestOptions = {
method: "GET",
redirect: "follow"
};
fetch("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
import requests
url = "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY"
payload = {}
headers = {}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)