building
撰寫 building.geojson
building.geojson 是一個描述場域內建築物"概念"的檔案,其中並不包含空間中的幾何概念,因此只需要照格式填入資訊即可。 若一個 venue 中包含多個 building,那所有包含的 building 都必須使用與 venue 同樣的 address_id。
要注意填寫的欄位包含以下幾個:
| Prop | Type | Default |
|---|---|---|
geometry? | null | null |
address_id? | string | e.g. "b2c99096-281b-4d6e-b8c9-8042a264609b" |
coordinates? | array | e.g. [121.5158815, 25.1228118] |
category? | string | unspecified |
name? | string | e.g. { "en": "2nd Medical Building", "zh": "醫學二館" } |
id? | string | uuid v4 |
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": "02f9d41b-8b38-4b8b-a13c-5e5288248460",
"feature_type": "building",
"properties": {
"name": {"en": "2nd Medical Building", "zh": "醫學二館"},
"alt_name": null,
"category": "unspecified",
"restriction": null,
"display_point": {
"type": "Point",
"coordinates": [121.5158815, 25.1228118]
},
"address_id": "b2c99096-281b-4d6e-b8c9-8042a264609b"
},
"geometry": null
},
{
"type": "Feature",
"id": "211ae662-0344-45af-aab7-bb0c35ff90e7",
"feature_type": "building",
"properties": {
"name": {"en": "Yangming Campus Library", "zh": "陽明校區圖書館"},
"alt_name": null,
"category": "unspecified",
"restriction": null,
"display_point": {
"type": "Point",
"coordinates": [121.5134608, 25.1204507]
},
"address_id": "b2c99096-281b-4d6e-b8c9-8042a264609b"
},
"geometry": null
}
]
}