Damage Conflation
/v2 /events/{eventId}/latest.geojson
Retrieves the latest damage assessment for a specific event, filtered by area of interest or address. The event ID is the postCatEventId tag on the surveys returned by the Coverage API. Send either 'aoi' or 'address', not both. Results are paged. If more results are available, the response includes nextCursor. Send the same request again with that value as 'cursor', and stop when no nextCursor is returned.
post/events/{eventId}/latest.geojson
Request
- Base URLhttps://api.nearmap.com/ai/damage/v2
- URLhttps://api.nearmap.com/ai/damage/v2/events/{eventId}/latest.geojson
- Auth
- API key in query parameter apikey
- or API key in header Authorization
Path parameters
eventIdstring uuid required
Unique identifier for the event. This is the postCatEventId tag value from the Coverage API.
Request body
Example request
{
"address": {
"streetAddress": "123 Main Street",
"city": "Los Angeles",
"state": "CA",
"zip": "90001",
"country": "US"
}
}Response
Successful response with a GeoJSON FeatureCollection. If the area has no buildings in the event, features is empty.
Example response
{
"features": [
{
"properties": {
"damage": {
"event": {
"classRatios": [
{
"description": "Building lifecycle"
}
]
},
"preEvent": {
"classRatios": [
{
"description": "Building lifecycle"
}
]
}
},
"areaSqm": 51.73984,
"areaSqft": 138
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.