Skip to content

GIS models

GeoJSON models used by client.buildings.

Address

Field Type Required Description
street str, optional yes
house_number str, optional yes
postcode str, optional yes
locality str, optional yes
country str, optional yes
formatted str yes
source str yes

BuildingFeature

Field Type Required Description
type FeatureEnum, optional no
geometry Geometry yes
properties BuildingProperties yes

BuildingFeatureCollection

Field Type Required Description
type FeatureCollectionEnum, optional no
features list of BuildingFeature yes
properties dict[str, Any], optional no

BuildingProperties

Field Type Required Description
source str yes
area_m2 int yes
floors int, optional yes
height_m float, optional yes
building_type BuildingTypeEnum, optional yes
construction_year int, optional yes
addresses list of Address yes

BuildingTypeEnum

Member Value
BuildingTypeEnum.residence_mfh 'RESIDENCE_MFH'
BuildingTypeEnum.residence_sfh 'RESIDENCE_SFH'
BuildingTypeEnum.administration 'ADMINISTRATION'
BuildingTypeEnum.schools 'SCHOOLS'
BuildingTypeEnum.retail 'RETAIL'
BuildingTypeEnum.assembly 'ASSEMBLY'
BuildingTypeEnum.hospitals 'HOSPITALS'
BuildingTypeEnum.industry 'INDUSTRY'
BuildingTypeEnum.warehouse 'WAREHOUSE'
BuildingTypeEnum.sports_center 'SPORTS_CENTER'
BuildingTypeEnum.hotel 'HOTEL'

FeatureCollectionEnum

Member Value
FeatureCollectionEnum.feature_collection 'FeatureCollection'

FeatureEnum

Member Value
FeatureEnum.feature 'Feature'

FeatureGeoTypeEnum

Member Value
FeatureGeoTypeEnum.point 'Point'
FeatureGeoTypeEnum.line_string 'LineString'
FeatureGeoTypeEnum.polygon 'Polygon'
FeatureGeoTypeEnum.multi_point 'MultiPoint'
FeatureGeoTypeEnum.multi_line_string 'MultiLineString'
FeatureGeoTypeEnum.multi_polygon 'MultiPolygon'

Geometry

A class representing a geojson geometry.

Field Type Required Description
type FeatureGeoTypeEnum yes
coordinates list of Any yes