Enrich
Enrich locations with boundary and datapack data
Batch-enrich locations with boundary resolution and datapack data.
For each location, resolves the containing boundaries and attaches enrichment data from the requested datapacks.
Datapacks available: demographics, fundraising.
Limits: Up to 100 locations per request.
Example request body:
{
"locations": [
{"id": "loc1", "location": {"lng": 151.2093, "lat": -33.8688}}
],
"resolve": ["sa2", "lga"],
"enrich": [{"datapack": "demographics", "fields": "population.total"}],
"output_boundary": "sa2"
}
post/v1/data/enrich
Request
- Base URL: https://api.mapulus.com
- URL: https://api.mapulus.com/v1/data/enrich
- Auth: HTTP bearer
Request body
Example request
{
"enrich": [
{
"datapack": "demographics",
"fields": "population.total"
}
],
"locations": [
{
"id": "loc1",
"location": {
"lat": -33.8688,
"lng": 151.2093
}
}
],
"output_boundary": "sa2",
"resolve": [
"sa2",
"lga"
]
}Response
Enriched location results with resolved boundaries and attached datapack data.
Changes
No recorded changes to this operation across all 1 revision of this API.