Building part
Geometry Type | Polygon or MultiPolygon |
---|---|
Theme | buildings |
Type | building_part |
架構
- Browsable
- YAML
Loading ....
---
"$schema": https://json-schema.org/draft/2020-12/schema
title: part
description: >-
A single building part. Parts describe their shape and color and other properties. Each
building part must contain the building with which it is associated.
type: object
properties:
geometry:
description: >-
The part's geometry. It must be a polygon or multipolygon.
unevaluatedProperties: false
oneOf:
- "$ref": https://geojson.org/schema/Polygon.json
- "$ref": https://geojson.org/schema/MultiPolygon.json
properties:
unevaluatedProperties: false
allOf:
- "$ref": ../defs.yaml#/$defs/propertyContainers/overtureFeaturePropertiesContainer
- "$ref": ../defs.yaml#/$defs/propertyContainers/levelContainer
- "$ref": ./defs.yaml#/$defs/propertyContainers/shapeContainer
required: [building_id]
properties:
building_id:
description: The building ID to which this part belongs
type: string
範例
- Building Part
{
"id": "overture:buildings:part:1234",
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-77.036873,
38.897804
],
[
-77.036873,
38.897559
],
[
-77.03626,
38.897559
],
[
-77.03626,
38.897804
],
[
-77.036873,
38.897804
]
]
]
},
"properties": {
"ext_foo": "I am a customer user property.",
"ext_bar": "Me too!",
"theme": "buildings",
"type": "building_part",
"version": 1,
"level": 1,
"building_id": "abc123",
"height": 21.34,
"num_floors": 4,
"min_height": 15,
"min_floor": 2,
"roof_shape": "dome",
"roof_orientation": "across",
"roof_direction": 23.4,
"roof_height": 3.4,
"sources": [
{
"property": "",
"dataset": "microsoftMLBuildings"
},
{
"property": "/properties/height",
"dataset": "metaLidarExtractions"
}
]
}
}