|
1 | | -<!-- 10-Header --> |
| 1 | +<!-- 10-Header --> |
2 | 2 | [](https://smartdatamodels.org) |
3 | | -实体: OSMBuildingPart |
4 | | -=======================<!-- /10-Header --> |
5 | | -<!-- 15-License --> |
6 | | -[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMBuildingPart/LICENSE.md) |
7 | | -[document generated automatically](https://docs.google.com/presentation/d/e/2PACX-1vTs-Ng5dIAwkg91oTTUdt8ua7woBXhPnwavZ0FxgR8BsAI_Ek3C5q97Nd94HS8KhP-r_quD4H0fgyt3/pub?start=false&loop=false&delayms=3000#slide=id.gb715ace035_0_60) |
8 | | -<!-- /15-License --> |
9 | | -<!-- 20-Description --> |
10 | | -全局描述: **OpenStreetMap 中带有 building:part=* 标签的建筑物的一部分或区域。用于表示建筑物在不同区域具有不同高度、屋顶形状或材料的情况,从而实现 3D 建筑物可视化(Simple 3D Buildings 标准)。** |
11 | | -版本: 0.0.1 |
12 | | -<!-- /20-Description --> |
13 | | -<!-- 30-PropertiesList --> |
| 3 | +实体:OSMBuildingPart |
| 4 | +=======================<!-- /10-Header --> |
| 5 | +<!-- 15-License --> |
| 6 | +[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMBuildingPart/LICENSE.md) |
| 7 | +[document generated automatically](https://docs.google.com/presentation/d/e/2PACX-1vTs-Ng5dIAwkg91oTTUdt8ua7woBXhPnwavZ0FxgR8BsAI_Ek3C5q97Nd94HS8KhP-r_quD4H0fgyt3/pub?start=false&loop=false&delayms=3000#slide=id.gb715ace035_0_60) |
| 8 | +<!-- /15-License --> |
| 9 | +<!-- 20-Description --> |
| 10 | +全局描述:**OpenStreetMap 中带有 building:part=* 标签的建筑物的一部分或部分。用于表示具有不同高度、屋顶形状或不同部分的材料的建筑物,从而实现 3D 建筑物可视化(简单 3D 建筑物标准)。** |
| 11 | +版本:0.0.1 |
| 12 | +<!-- /20-Description --> |
| 13 | +<!-- 30-PropertiesList --> |
14 | 14 |
|
15 | | -## 属性列表 |
| 15 | +## 属性列表 |
16 | 16 |
|
17 | | -<sup><sub>[*] 如果属性中没有类型,则表示它可能有多种类型或不同的格式/模式</sub></sup> |
18 | | -- `address[object]`: 邮寄地址。模型: [https://schema.org/address](https://schema.org/address) - `addressCountry[string]`: 国家。例如,西班牙。模型: [https://schema.org/addressCountry](https://schema.org/addressCountry) |
19 | | - - `addressLocality[string]`: 街道地址所在的地区,且该地区位于某个区域内。模型: [https://schema.org/addressLocality](https://schema.org/addressLocality) |
20 | | - - `addressRegion[string]`: 地区所在的区域,且该区域位于某个国家内。模型: [https://schema.org/addressRegion](https://schema.org/addressRegion) |
21 | | - - `district[string]`: 地区是一种行政区划,在某些国家由地方政府管理 |
22 | | - - `postOfficeBoxNumber[string]`: 邮政信箱地址的邮政信箱号码。例如,03578。模型: [https://schema.org/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber) |
23 | | - - `postalCode[string]`: 邮政编码。例如,24004。模型: [https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode) |
24 | | - - `streetAddress[string]`: 街道地址。模型: [https://schema.org/streetAddress](https://schema.org/streetAddress) |
25 | | - - `streetNr[string]`: 识别公共街道上特定物业的号码 |
26 | | -- `alternateName[string]`: 此项目的备用名称 - `areaServed[string]`: 提供服务或商品的地理区域。模型: [https://schema.org/Text](https://schema.org/Text)- `buildingColour[string]`: 此建筑物部分的立面颜色,表示为 CSS 颜色名称或十六进制代码。模型: [https://wiki.openstreetmap.org/wiki/Key:building:colour](https://wiki.openstreetmap.org/wiki/Key:building:colour)- `buildingHeight[number]`: 此建筑物部分的总高度(米)。模型: [https://wiki.openstreetmap.org/wiki/Key:height](https://wiki.openstreetmap.org/wiki/Key:height)- `buildingLevels[number]`: 此建筑物部分地上楼层的数量。模型: [https://wiki.openstreetmap.org/wiki/Key:building:levels](https://wiki.openstreetmap.org/wiki/Key:building:levels)- `buildingMaterial[string]`: 此建筑物部分的主要立面或结构材料。模型: [https://wiki.openstreetmap.org/wiki/Key:building:material](https://wiki.openstreetmap.org/wiki/Key:building:material)- `buildingPartType[string]`: OSM building:part 标签值。通常为“yes”或建筑部分的特定类型标签。模型: [https://wiki.openstreetmap.org/wiki/Key:building:part](https://wiki.openstreetmap.org/wiki/Key:building:part)- `dataProvider[string]`: 标识统一数据实体提供者的字符序列 - `dateCreated[date-time]`: 实体创建时间戳。这通常由存储平台分配 - `dateModified[date-time]`: 实体最后修改的时间戳。这通常由存储平台分配 - `description[string]`: 此项目的描述 - `id[*]`: 实体的唯一标识符 - `location[*]`: Geojson 对该项目的引用。可以是 Point、LineString、Polygon、MultiPoint、MultiLineString 或 MultiPolygon - `minHeight[number]`: 此建筑物部分开始的离地高度(米)。用于悬挑和高架部分。模型: [https://wiki.openstreetmap.org/wiki/Key:min_height](https://wiki.openstreetmap.org/wiki/Key:min_height)- `minLevel[number]`: 此建筑物部分开始的楼层。用于室内地图。模型: [https://wiki.openstreetmap.org/wiki/Key:min_level](https://wiki.openstreetmap.org/wiki/Key:min_level)- `name[string]`: 此项目的名称 - `osmId[number]`: 原始 OpenStreetMap 元素的整数标识符。模型: [https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements)- `osmLastModified[date-time]`: OSM 元素最后修改的时间戳。 - `osmType[string]`: 原始 OpenStreetMap 元素的类型。模型: [https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements)- `owner[array]`: 包含 JSON 编码字符序列的列表,引用所有者(一个或多个)的唯一 ID - `refBuilding[uri]`: 指向此部分所属的父 OSMBuilding 实体的 URI 引用。 - `roofColour[string]`: 此部分屋顶的颜色,表示为 CSS 颜色名称或十六进制代码。模型: [https://wiki.openstreetmap.org/wiki/Key:roof:colour](https://wiki.openstreetmap.org/wiki/Key:roof:colour)- `roofMaterial[string]`: 此部分屋顶表面的主要材料。模型: [https://wiki.openstreetmap.org/wiki/Key:roof:material](https://wiki.openstreetmap.org/wiki/Key:roof:material)- `roofShape[string]`: 此建筑物部分屋顶的形状。枚举:'平顶, 人字形, 四坡顶, 半四坡顶, 金字塔形, 折线形, 孟莎式, 圆顶, 单坡顶, 圆形, 盐盒式, 洋葱形, 圆锥形'。模型: [https://wiki.openstreetmap.org/wiki/Key:roof:shape](https://wiki.openstreetmap.org/wiki/Key:roof:shape)- `seeAlso[*]`: 指向有关此项目的其他资源的 URI 列表。 - `source[string]`: 以 URL 形式提供实体数据原始来源的字符序列。建议为源提供者的完全限定域名,或源对象的 URL - `type[string]`: NGSI 实体类型。必须是 OSMBuildingPart <!-- /30-PropertiesList --> |
27 | | -<!-- 35-RequiredProperties --> |
28 | | -所需属性 |
29 | | -- `buildingPartType` - `id` - `location` - `osmId` - `osmType` - `type` <!-- /35-RequiredProperties --> |
30 | | -<!-- 40-NotesYaml --> |
31 | | -<!-- /40-NotesYaml --> |
32 | | -<!-- 50-DataModelHeader --> |
33 | | -## 属性数据模型描述 |
34 | | -按字母顺序排序(点击查看详情) |
35 | | -<!-- /50-DataModelHeader --> |
36 | | -<!-- 60-ModelYaml --> |
37 | | -<details><summary><strong>完整的 YAML 详情</strong></summary> |
38 | | -```yaml |
| 17 | +<sup><sub>[*] 如果属性中没有类型,则是因为它可以有多种类型或不同的格式/模式</sub></sup> |
| 18 | +- `address[object]`:邮寄地址。模型:[https://schema.org/address](https://schema.org/address) - `addressCountry[string]`:国家。例如,西班牙。模型:[https://schema.org/addressCountry](https://schema.org/addressCountry) |
| 19 | + - `addressLocality[string]`:街道地址所在的地区,并且在该地区。模型:[https://schema.org/addressLocality](https://schema.org/addressLocality) |
| 20 | + - `addressRegion[string]`:地区所在的地区,并且在国家。模型:[https://schema.org/addressRegion](https://schema.org/addressRegion) |
| 21 | + - `district[string]`:一个区是一个类型的行政区划,在一些国家,由地方政府管理 |
| 22 | + - `postOfficeBoxNumber[string]`:邮政信箱号码。例如,03578。模型:[https://schema.org/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber) |
| 23 | + - `postalCode[string]`:邮政编码。例如,24004。模型:[https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode) |
| 24 | + - `streetAddress[string]`:街道地址。模型:[https://schema.org/streetAddress](https://schema.org/streetAddress) |
| 25 | + - `streetNr[string]`:在公共街道上标识特定属性的编号 |
| 26 | +- `alternateName[string]`:此项的替代名称 - `areaServed[string]`:服务或提供的项目所提供的地域。模型:[https://schema.org/Text](https://schema.org/Text)- `buildingColour[string]`:此建筑物部分的外立面颜色,以 CSS 颜色名称或十六进制代码表示。模型:[https://wiki.openstreetmap.org/wiki/Key:building:colour](https://wiki.openstreetmap.org/wiki/Key:building:colour)- `buildingHeight[number]`:此建筑物部分的总高度(米)。模型:[https://wiki.openstreetmap.org/wiki/Key:height](https://wiki.openstreetmap.org/wiki/Key:height)- `buildingLevels[number]`:此建筑物部分的上层楼层数。模型:[https://wiki.openstreetmap.org/wiki/Key:building:levels](https://wiki.openstreetmap.org/wiki/Key:building:levels)- `buildingMaterial[string]`:此建筑物部分的主要外立面或结构材料。模型:[https://wiki.openstreetmap.org/wiki/Key:building:material](https://wiki.openstreetmap.org/wiki/Key:building:material)- `buildingPartType[string]`:OSM 建筑物:部分标签值。通常为“yes”或特定类型标签的建筑部分。模型:[https://wiki.openstreetmap.org/wiki/Key:building:part](https://wiki.openstreetmap.org/wiki/Key:building:part)- `dataProvider[string]`:一个字符序列,标识和谐数据实体的提供者 - `dateCreated[date-time]`:实体创建时间戳。这通常由存储平台分配 - `dateModified[date-time]`:实体最后修改的时间戳。这通常由存储平台分配 - `description[string]`:此项的描述 - `id[*]`:实体的唯一标识符 - `location[*]`:Geojson 引用此项。可以是 Point、LineString、Polygon、MultiPoint、MultiLineString 或 MultiPolygon - `minHeight[number]`:此建筑物部分开始的高度(米)。用于悬垂和高架部分。模型:[https://wiki.openstreetmap.org/wiki/Key:min_height](https://wiki.openstreetmap.org/wiki/Key:min_height)- `minLevel[number]`:此建筑物部分开始的楼层。用于室内地图。模型:[https://wiki.openstreetmap.org/wiki/Key:min_level](https://wiki.openstreetmap.org/wiki/Key:min_level)- `name[string]`:此项的名称 - `osmId[number]`:原始 OpenStreetMap 元素整数标识符。模型:[https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements)- `osmLastModified[date-time]`:OSM 元素最后修改的时间戳。 - `osmType[string]`:原始 OpenStreetMap 元素的类型。模型:[https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements)- `owner[array]`:包含 JSON 编码序列的列表,引用所有者(们)的唯一 ID - `refBuilding[uri]`:父 OSMBuilding 实体的 URI 引用,该部分属于该实体。 - `roofColour[string]`:此建筑物部分的屋顶颜色,以 CSS 颜色名称或十六进制代码表示。模型:[https://wiki.openstreetmap.org/wiki/Key:roof:colour](https://wiki.openstreetmap.org/wiki/Key:roof:colour)- `roofMaterial[string]`:此建筑物部分的屋顶表面的主要材料。模型:[https://wiki.openstreetmap.org/wiki/Key:roof:material](https://wiki.openstreetmap.org/wiki/Key:roof:material)- `roofShape[string]`:此建筑物部分的屋顶形状。枚举:'flat, gabled, hipped, half-hipped, pyramidal, gambrel, mansard, dome, skillion, round, saltbox, onion, cone'。模型:[https://wiki.openstreetmap.org/wiki/Key:roof:shape](https://wiki.openstreetmap.org/wiki/Key:roof:shape)- `seeAlso[*]`:指向此项的其他资源的 URI 列表。 - `source[string]`:一个字符序列,给出实体数据的原始来源作为 URL。建议为源提供者的完全限定域名或源对象的 URL - `type[string]`:NGSI 实体类型。必须是 OSMBuildingPart <!-- /30-PropertiesList --> |
| 27 | +<!-- 35-RequiredProperties --> |
| 28 | +必需属性 |
| 29 | +- `buildingPartType` - `id` - `location` - `osmId` - `osmType` - `type` <!-- /35-RequiredProperties --> |
| 30 | +<!-- 40-NotesYaml --> |
| 31 | +<!-- /40-NotesYaml --> |
| 32 | +<!-- 50-DataModelHeader --> |
| 33 | +## 属性的数据模型描述 |
| 34 | +按字母顺序排序(点击查看详细信息) |
| 35 | +<!-- /50-DataModelHeader --> |
| 36 | +<!-- 60-ModelYaml --> |
| 37 | +<details><summary><strong>完整的 yaml 详细信息</strong></summary> |
| 38 | +```yaml |
39 | 39 | OSMBuildingPart: |
40 | 40 | description: A part or section of a building from OpenStreetMap tagged with building:part=*. Used to represent buildings with varying heights, roof shapes, or materials across different sections, enabling 3D building visualisation (Simple 3D Buildings standard). |
41 | 41 | properties: |
@@ -515,15 +515,15 @@ OSMBuildingPart: |
515 | 515 | x-version: 0.0.1 |
516 | 516 | ``` |
517 | 517 | </details> |
518 | | -<!-- /60-ModelYaml --> |
519 | | -<!-- 70-MiddleNotes --> |
520 | | -<!-- /70-MiddleNotes --> |
521 | | -<!-- 80-Examples --> |
522 | | -## 示例负载 |
523 | | -#### OSMBuildingPart NGSI-v2 键值对示例 |
524 | | -这里是一个 OSMBuildingPart 的 JSON 格式键值对示例。这与使用 `options=keyValues` 时的 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
| 518 | +<!-- /60-ModelYaml --> |
| 519 | +<!-- 70-MiddleNotes --> |
| 520 | +<!-- /70-MiddleNotes --> |
| 521 | +<!-- 80-Examples --> |
| 522 | +## 示例有效载荷 |
| 523 | +#### OSMBuildingPart NGSI-v2 键值示例 |
| 524 | +这是一个 OSMBuildingPart 的 JSON 格式键值示例。与 NGSI-v2 兼容,当使用 `options=keyValues` 时,返回单个实体的上下文数据。 |
525 | 525 | <details><summary><strong>显示/隐藏示例</strong></summary> |
526 | | -```json |
| 526 | +```json |
527 | 527 | { |
528 | 528 | "id": "urn:ngsi-ld:OSMBuildingPart:way:305981241", |
529 | 529 | "type": "OSMBuildingPart", |
@@ -573,10 +573,10 @@ OSMBuildingPart: |
573 | 573 | } |
574 | 574 | ``` |
575 | 575 | </details> |
576 | | -#### OSMBuildingPart NGSI-v2 规范化示例 |
577 | | -这里是一个 OSMBuildingPart 的 JSON 格式规范化示例。这与不使用选项时的 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
| 576 | +#### OSMBuildingPart NGSI-v2 规范化示例 |
| 577 | +这是一个 OSMBuildingPart 的 JSON 格式规范化示例。与 NGSI-v2 兼容,当不使用选项时,返回单个实体的上下文数据。 |
578 | 578 | <details><summary><strong>显示/隐藏示例</strong></summary> |
579 | | -```json |
| 579 | +```json |
580 | 580 | { |
581 | 581 | "id": "urn:ngsi-ld:OSMBuildingPart:way:305981241", |
582 | 582 | "type": "OSMBuildingPart", |
@@ -683,10 +683,10 @@ OSMBuildingPart: |
683 | 683 | } |
684 | 684 | ``` |
685 | 685 | </details> |
686 | | -#### OSMBuildingPart NGSI-LD 键值对示例 |
687 | | -这里是一个 OSMBuildingPart 的 JSON-LD 格式键值对示例。这与使用 `options=keyValues` 时的 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
| 686 | +#### OSMBuildingPart NGSI-LD 键值示例 |
| 687 | +这是一个 OSMBuildingPart 的 JSON-LD 格式键值示例。与 NGSI-LD 兼容,当使用 `options=keyValues` 时,返回单个实体的上下文数据。 |
688 | 688 | <details><summary><strong>显示/隐藏示例</strong></summary> |
689 | | -```json |
| 689 | +```json |
690 | 690 | { |
691 | 691 | "id": "urn:ngsi-ld:OSMBuildingPart:way:305981241", |
692 | 692 | "type": "OSMBuildingPart", |
@@ -739,10 +739,10 @@ OSMBuildingPart: |
739 | 739 | } |
740 | 740 | ``` |
741 | 741 | </details> |
742 | | -#### OSMBuildingPart NGSI-LD 规范化示例 |
743 | | -这里是一个 OSMBuildingPart 的 JSON-LD 格式规范化示例。这与不使用选项时的 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
| 742 | +#### OSMBuildingPart NGSI-LD 规范化示例 |
| 743 | +这是一个 OSMBuildingPart 的 JSON-LD 格式规范化示例。与 NGSI-LD 兼容,当不使用选项时,返回单个实体的上下文数据。 |
744 | 744 | <details><summary><strong>显示/隐藏示例</strong></summary> |
745 | | -```json |
| 745 | +```json |
746 | 746 | { |
747 | 747 | "id": "urn:ngsi-ld:OSMBuildingPart:way:305981241", |
748 | 748 | "type": "OSMBuildingPart", |
@@ -844,12 +844,12 @@ OSMBuildingPart: |
844 | 844 | ] |
845 | 845 | } |
846 | 846 | ``` |
847 | | -</details><!-- /80-Examples --> |
848 | | -<!-- 90-FooterNotes --> |
849 | | -<!-- /90-FooterNotes --> |
850 | | -<!-- 95-Units --> |
851 | | -请参阅 [FAQ 10](https://smartdatamodels.org/index.php/faqs/) 以获取有关如何处理量纲单位的答案 |
852 | | -<!-- /95-Units --> |
853 | | -<!-- 97-LastFooter --> |
| 847 | +</details><!-- /80-Examples --> |
| 848 | +<!-- 90-FooterNotes --> |
| 849 | +<!-- /90-FooterNotes --> |
| 850 | +<!-- 95-Units --> |
| 851 | +请参阅 [FAQ 10](https://smartdatamodels.org/index.php/faqs/) 以获取有关如何处理数量单位的答案 |
| 852 | +<!-- /95-Units --> |
| 853 | +<!-- 97-LastFooter --> |
854 | 854 | --- |
855 | | -[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter --> |
| 855 | +[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter --> |
|
0 commit comments