Get an API key
Fields · built_environment

primary_building_num_floors

Number of floors of the primary Overture building (containing the point, else nearest within 100 m).

Name primary_building_num_floors
Layer built_environment
Type, unit integer, none
Sources (in order) OVERTURE_BUILDINGS
Cache 30 days (ttl_seconds 2592000)

What it is

Number of floors of the primary Overture building (containing the point, else nearest within 100 m).

Nulls

status "absent": no building within 100 m, or no floor count published (not zero). "failed": Overture tiles could not be read, footprints overlap at the point, or two buildings are equally near.

Example

curl -s https://api.invariant-ai.com/v1/fetch \
  -H "X-API-Key: $INVARIANT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat": 39.0438, "lng": -77.4874, "fields": ["primary_building_num_floors"]}'

Field object keys are described in Responses. Live definition: GET /v1/meta/fields.