logoSpatial Topology

footprint

撰寫 footprint.geojson

footprint.geojson 描述 building 在地面上 (ground) 、空中 (aerial) 、地下 (subterranean) 的投影形狀。因此, ground 的投影就使用 level 1F 的形狀;而 aerial 的投影是所有樓層的形狀的聯集,這部分可以先使用最高樓層的形狀,進入 IMDF Sandbox 後再給他自動修正。

要注意填寫的欄位包含以下幾個:

PropTypeDefault
geometry?
polygon
-
building_ids?
string
e.g. ["b2c99096-281b-4d6e-b8c9-8042a264609b"]
name?
null
null
category?
string
ground, aerial, subterranean
id?
string
uuid v4
footprint.geojson
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "id": "f329780b-9f38-4fa4-8d52-e00f766a6d1d",
      "feature_type": "footprint",
      "properties": {
        "category": "ground",
        "name": null,
        "building_ids": ["02f9d41b-8b38-4b8b-a13c-5e5288248460"]
      },
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [121.5156948, 25.1227705],
            [121.5156815, 25.1227699],
            [121.5156484, 25.1227683],
            // ...
            [121.5157176, 25.1227716],
            [121.5157124, 25.1227713],
            [121.5156948, 25.1227705]
          ]
        ]
      }
    },
    {
      "type": "Feature",
      "id": "89c543cf-968a-4511-8760-760cb72134c6",
      "feature_type": "footprint",
      "properties": {
        "category": "aerial",
        "name": null,
        "building_ids": ["02f9d41b-8b38-4b8b-a13c-5e5288248460"]
      },
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [121.5156482, 25.1227683],
            [121.5156499, 25.1227391],
            [121.5156501, 25.1227363],
            // ...
            [121.5156483, 25.1227684],
            [121.5156483, 25.1227683],
            [121.5156482, 25.1227683]
          ]
        ]
      }
    }
  ]
}