Skip to content

Commit 1d7f7e6

Browse files
Update ZH
1 parent ec9fb36 commit 1d7f7e6

1 file changed

Lines changed: 55 additions & 142 deletions

File tree

OSMBuilding/doc/spec_ZH.md

Lines changed: 55 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,38 @@
1-
---
2-
3-
<!-- 10-Header -->
4-
1+
<!-- 10-Header -->
52
[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org)
6-
7-
实体:OSMBuilding
8-
===================
9-
<!-- /10-Header -->
10-
11-
<!-- 15-License -->
12-
13-
[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMBuilding/LICENSE.md)
14-
15-
[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)
16-
<!-- /15-License -->
17-
18-
<!-- 20-Description -->
19-
20-
全局描述:**一个或一组连接的建筑物来自OpenStreetMap标记为building= *。代表建筑物的物理结构,包括其几何形状、尺寸、材料和功能分类。对于建筑物内的特定功能(商店、便利设施等),应使用其他实体。**
21-
版本:0.0.1
22-
<!-- /20-Description -->
23-
24-
<!-- 30-PropertiesList -->
25-
26-
27-
## 属性列表
28-
29-
<sup><sub>[*] 如果属性中没有类型,是因为它可以有多种类型或不同的格式/模式</sub></sup>
30-
- `access[string]`:建筑物的通用访问限制。 模型:[https://wiki.openstreetmap.org/wiki/Key:access](https://wiki.openstreetmap.org/wiki/Key:access)
31-
- `address[object]`:建筑物的地址,按照schema.org PostalAddress结构。
32-
- `addressCity[string]`:城市。 OSM:addr:city
33-
- `addressCountry[string]`:ISO 3166-1 alpha-2 国家代码。 OSM:addr:country
3+
实体:OSMBuilding
4+
===================<!-- /10-Header -->
5+
<!-- 15-License -->
6+
[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMBuilding/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=*. 表示建筑物的物理结构,包括其几何形状、尺寸、材料和功能分类。对于建筑物内的特定功能(商店、便利设施等),应使用其他实体。**
11+
版本:0.0.1
12+
<!-- /20-Description -->
13+
<!-- 30-PropertiesList -->
14+
15+
## 属性列表
16+
17+
<sup><sub>[*] 如果属性中没有类型,则可能有多种类型或不同的格式/模式</sub></sup>
18+
- `access[string]`:建筑物的通用访问限制。 模型:[https://wiki.openstreetmap.org/wiki/Key:access](https://wiki.openstreetmap.org/wiki/Key:access)- `address[object]`:建筑物的地址,按照schema.org PostalAddress结构。 - `addressCity[string]`:城市。 OSM:addr:city
19+
- `addressCountry[string]`:ISO 3166-1 alpha-2国家代码。 OSM:addr:country
3420
- `houseNumber[string]`:房屋或建筑物编号。 OSM:addr:housenumber
3521
- `postalCode[string]`:邮政编码。 OSM:addr:postcode
3622
- `streetAddress[string]`:街道名称。 OSM:addr:street
37-
- `alternateName[string]`:该项目的替代名称
38-
- `amenity[string]`:建筑物的主要便利设施功能(例如医院、学校)。 模型:[https://wiki.openstreetmap.org/wiki/Key:amenity](https://wiki.openstreetmap.org/wiki/Key:amenity)
39-
- `areaServed[string]`:服务或提供的项目所提供的的地理区域。 模型:[https://schema.org/Text](https://schema.org/Text)
40-
- `buildingColour[string]`:主立面颜色,以CSS颜色名称或十六进制代码表示。 模型:[https://wiki.openstreetmap.org/wiki/Key:building:colour](https://wiki.openstreetmap.org/wiki/Key:building:colour)
41-
- `buildingHeight[number]`:建筑物从地面到最高点的总高度(以米为单位)。 模型:[https://wiki.openstreetmap.org/wiki/Key:height](https://wiki.openstreetmap.org/wiki/Key:height)
42-
- `buildingLevels[number]`:建筑物的上层楼层数。 模型:[https://wiki.openstreetmap.org/wiki/Key:building:levels](https://wiki.openstreetmap.org/wiki/Key:building:levels)
43-
- `buildingLevelsUnderground[number]`:建筑物的地下或地下室楼层数。 模型:[https://wiki.openstreetmap.org/wiki/Key:building:levels:underground](https://wiki.openstreetmap.org/wiki/Key:building:levels:underground)
44-
- `buildingMaterial[string]`:建筑物的主要结构或立面材料。 模型:[https://wiki.openstreetmap.org/wiki/Key:building:material](https://wiki.openstreetmap.org/wiki/Key:building:material)
45-
- `buildingType[string]`:OSM建筑标签值,用于分类建筑物的类型或功能。 枚举:'yes, residential, apartments, house, detached, bungalow, cabin, dormitory, hotel, commercial, office, industrial, warehouse, retail, supermarket, school, university, hospital, church, cathedral, mosque, synagogue, civic, government, public, transportation, train_station, stadium, garage, shed, greenhouse, service, ruins'。 模型:[https://wiki.openstreetmap.org/wiki/Key:building](https://wiki.openstreetmap.org/wiki/Key:building)
46-
- `dataProvider[string]`:一个序列字符,用于标识和谐数据实体的提供者
47-
- `dateCreated[date-time]`:实体创建时间戳。 这通常由存储平台分配
48-
- `dateModified[date-time]`:实体最后修改的时间戳。 这通常由存储平台分配
49-
- `description[string]`:对该项目的描述
50-
- `flats[number]`:建筑物内的单独住宅单位总数。 模型:[https://wiki.openstreetmap.org/wiki/Key:building:flats](https://wiki.openstreetmap.org/wiki/Key:building:flats)
51-
- `id[*]`:实体的唯一标识符
52-
- `location[*]`:对项目的Geojson引用。 它可以是Point、LineString、Polygon、MultiPoint、MultiLineString或MultiPolygon
53-
- `minHeight[number]`:建筑物底部相对于地面水平的高度(以米为单位),用于坡道或高架结构。 模型:[https://wiki.openstreetmap.org/wiki/Key:min_height](https://wiki.openstreetmap.org/wiki/Key:min_height)
54-
- `name[string]`:该项目的名称
55-
- `openingHours[string]`:建筑物或其主要功能的营业时间,以OSM opening_hours语法表示。 模型:[https://wiki.openstreetmap.org/wiki/Key:opening_hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours)
56-
- `operator[string]`:管理或运营建筑物的实体名称。 模型:[https://wiki.openstreetmap.org/wiki/Key:operator](https://wiki.openstreetmap.org/wiki/Key:operator)
57-
- `osmId[number]`:原始OpenStreetMap元素的整数标识符。 模型:[https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements)
58-
- `osmLastModified[date-time]`:原始OpenStreetMap元素的最后修改时间戳。
59-
- `osmType[string]`:原始OpenStreetMap元素的类型。 模型:[https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements)
60-
- `owner[array]`:包含对所有者(们)的唯一ID的JSON编码序列字符的列表
61-
- `roofColour[string]`:屋顶颜色,以CSS颜色名称或十六进制代码表示。 模型:[https://wiki.openstreetmap.org/wiki/Key:roof:colour](https://wiki.openstreetmap.org/wiki/Key:roof:colour)
62-
- `roofMaterial[string]`:屋顶表面的主要材料。 模型:[https://wiki.openstreetmap.org/wiki/Key:roof:material](https://wiki.openstreetmap.org/wiki/Key:roof:material)
63-
- `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)
64-
- `seeAlso[*]`:指向有关该项目的其他资源的URI列表。
65-
- `source[string]`:一个序列字符,给出实体数据的原始来源作为URL。 推荐使用源提供者的全限定域名,或源对象的URL
66-
- `startDate[string]`:建筑物建造的年份或日期。 自由格式日期或年份值。 模型:[https://wiki.openstreetmap.org/wiki/Key:start_date](https://wiki.openstreetmap.org/wiki/Key:start_date)
67-
- `type[string]`:NGSI实体类型。 它必须是OSMBuilding
68-
- `wheelchair[string]`:建筑物的轮椅无障碍级别。 模型:[https://wiki.openstreetmap.org/wiki/Key:wheelchair](https://wiki.openstreetmap.org/wiki/Key:wheelchair)
69-
<!-- /30-PropertiesList -->
70-
71-
<!-- 35-RequiredProperties -->
72-
73-
必需属性
74-
- `buildingType`
75-
- `id`
76-
- `location`
77-
- `osmId`
78-
- `osmType`
79-
- `type`
80-
<!-- /35-RequiredProperties -->
81-
82-
<!-- 40-NotesYaml -->
83-
84-
<!-- /40-NotesYaml -->
85-
86-
<!-- 50-DataModelHeader -->
87-
88-
## 属性的数据模型描述
89-
90-
按字母顺序排序(点击查看详细信息)
91-
<!-- /50-DataModelHeader -->
92-
93-
<!-- 60-ModelYaml -->
94-
23+
- `alternateName[string]`:该项目的替代名称 - `amenity[string]`:建筑物的主要便利设施功能(例如医院、学校)。 模型:[https://wiki.openstreetmap.org/wiki/Key:amenity](https://wiki.openstreetmap.org/wiki/Key:amenity)- `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)- `buildingLevelsUnderground[number]`:建筑物的地下或地下室楼层数。 模型:[https://wiki.openstreetmap.org/wiki/Key:building:levels:underground](https://wiki.openstreetmap.org/wiki/Key:building:levels:underground)- `buildingMaterial[string]`:建筑物的主要结构或立面材料。 模型:[https://wiki.openstreetmap.org/wiki/Key:building:material](https://wiki.openstreetmap.org/wiki/Key:building:material)- `buildingType[string]`:OSM建筑标签值,用于分类建筑物的类型或功能。 枚举:'yes, residential, apartments, house, detached, bungalow, cabin, dormitory, hotel, commercial, office, industrial, warehouse, retail, supermarket, school, university, hospital, church, cathedral, mosque, synagogue, civic, government, public, transportation, train_station, stadium, garage, shed, greenhouse, service, ruins'。 模型:[https://wiki.openstreetmap.org/wiki/Key:building](https://wiki.openstreetmap.org/wiki/Key:building)- `dataProvider[string]`:一个序列字符,用于标识和谐数据实体的提供者 - `dateCreated[date-time]`:实体创建时间戳。 这通常由存储平台分配 - `dateModified[date-time]`:实体最后修改的时间戳。 这通常由存储平台分配 - `description[string]`:对该项目的描述 - `flats[number]`:建筑物内的单独住宅单位总数。 模型:[https://wiki.openstreetmap.org/wiki/Key:building:flats](https://wiki.openstreetmap.org/wiki/Key:building:flats)- `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)- `name[string]`:该项目的名称 - `openingHours[string]`:建筑物或其主要功能的营业时间,以OSM opening_hours语法表示。 模型:[https://wiki.openstreetmap.org/wiki/Key:opening_hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours)- `operator[string]`:管理或运营建筑物的实体名称。 模型:[https://wiki.openstreetmap.org/wiki/Key:operator](https://wiki.openstreetmap.org/wiki/Key:operator)- `osmId[number]`:原始OpenStreetMap元素的整数标识符。 模型:[https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements)- `osmLastModified[date-time]`:原始OpenStreetMap元素的最后修改时间戳。 - `osmType[string]`:原始OpenStreetMap元素的类型。 模型:[https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements)- `owner[array]`:包含对所有者(们)的唯一标识符的JSON编码序列字符的列表 - `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 - `startDate[string]`:建筑物建造的年份或日期。 自由格式日期或年份值。 模型:[https://wiki.openstreetmap.org/wiki/Key:start_date](https://wiki.openstreetmap.org/wiki/Key:start_date)- `type[string]`:NGSI实体类型。 必须是OSMBuilding - `wheelchair[string]`:建筑物的轮椅无障碍级别。 模型:[https://wiki.openstreetmap.org/wiki/Key:wheelchair](https://wiki.openstreetmap.org/wiki/Key:wheelchair)<!-- /30-PropertiesList -->
24+
<!-- 35-RequiredProperties -->
25+
必需属性
26+
- `buildingType` - `id` - `location` - `osmId` - `osmType` - `type` <!-- /35-RequiredProperties -->
27+
<!-- 40-NotesYaml -->
28+
<!-- /40-NotesYaml -->
29+
<!-- 50-DataModelHeader -->
30+
## 属性的数据模型描述
31+
按字母顺序排序(点击查看详细信息)
32+
<!-- /50-DataModelHeader -->
33+
<!-- 60-ModelYaml -->
9534
<details><summary><strong>完整的YAML详细信息</strong></summary>
96-
97-
```yaml
35+
```yaml
9836
OSMBuilding:
9937
description: A building or group of connected buildings from OpenStreetMap tagged with building=*. Represents the physical structure of a building, including its geometry, dimensions, materials, and functional classification. For specific functions within a building (shop, amenity, etc.) additional entities should be used.
10038
properties:
@@ -666,23 +604,15 @@ OSMBuilding:
666604
x-version: 0.0.1
667605
```
668606
</details>
669-
670-
<!-- /60-ModelYaml -->
671-
672-
<!-- 70-MiddleNotes -->
673-
674-
<!-- /70-MiddleNotes -->
675-
676-
<!-- 80-Examples -->
677-
678-
## 示例有效载荷
679-
680-
#### OSMBuilding NGSI-v2 键值示例
681-
682-
这是OSMBuilding在JSON格式中的键值示例。 这与NGSI-v2兼容,当使用`options=keyValues`时,返回个别实体的上下文数据。
607+
<!-- /60-ModelYaml -->
608+
<!-- 70-MiddleNotes -->
609+
<!-- /70-MiddleNotes -->
610+
<!-- 80-Examples -->
611+
## 示例有效载荷
612+
#### OSMBuilding NGSI-v2 键值示例
613+
这是一个OSMBuilding在JSON格式下的键值示例。 这与NGSI-v2兼容,当使用 `options=keyValues` 时,返回个别实体的上下文数据。
683614
<details><summary><strong>显示/隐藏示例</strong></summary>
684-
685-
```json
615+
```json
686616
{
687617
"id": "urn:ngsi-ld:OSMBuilding:way:22234584",
688618
"type": "OSMBuilding",
@@ -745,13 +675,10 @@ OSMBuilding:
745675
}
746676
```
747677
</details>
748-
749-
#### OSMBuilding NGSI-v2 规范化示例
750-
751-
这是OSMBuilding在JSON格式中的规范化示例。 这与NGSI-v2兼容,当不使用选项时,返回个别实体的上下文数据。
678+
#### OSMBuilding NGSI-v2 规范化示例
679+
这是一个OSMBuilding在JSON格式下的规范化示例。 这与NGSI-v2兼容,当不使用选项时,返回个别实体的上下文数据。
752680
<details><summary><strong>显示/隐藏示例</strong></summary>
753-
754-
```json
681+
```json
755682
{
756683
"id": "urn:ngsi-ld:OSMBuilding:way:22234584",
757684
"type": "OSMBuilding",
@@ -883,13 +810,10 @@ OSMBuilding:
883810
}
884811
```
885812
</details>
886-
887-
#### OSMBuilding NGSI-LD 键值示例
888-
889-
这是OSMBuilding在JSON-LD格式中的键值示例。 这与NGSI-LD兼容,当使用`options=keyValues`时,返回个别实体的上下文数据。
813+
#### OSMBuilding NGSI-LD 键值示例
814+
这是一个OSMBuilding在JSON-LD格式下的键值示例。 这与NGSI-LD兼容,当使用 `options=keyValues` 时,返回个别实体的上下文数据。
890815
<details><summary><strong>显示/隐藏示例</strong></summary>
891-
892-
```json
816+
```json
893817
{
894818
"id": "urn:ngsi-ld:OSMBuilding:way:22234584",
895819
"type": "OSMBuilding",
@@ -955,13 +879,10 @@ OSMBuilding:
955879
}
956880
```
957881
</details>
958-
959-
#### OSMBuilding NGSI-LD 规范化示例
960-
961-
这是OSMBuilding在JSON-LD格式中的规范化示例。 这与NGSI-LD兼容,当不使用选项时,返回个别实体的上下文数据。
882+
#### OSMBuilding NGSI-LD 规范化示例
883+
这是一个OSMBuilding在JSON-LD格式下的规范化示例。 这与NGSI-LD兼容,当不使用选项时,返回个别实体的上下文数据。
962884
<details><summary><strong>显示/隐藏示例</strong></summary>
963-
964-
```json
885+
```json
965886
{
966887
"id": "urn:ngsi-ld:OSMBuilding:way:22234584",
967888
"type": "OSMBuilding",
@@ -1093,20 +1014,12 @@ OSMBuilding:
10931014
]
10941015
}
10951016
```
1096-
</details><!-- /80-Examples -->
1097-
1098-
<!-- 90-FooterNotes -->
1099-
1100-
<!-- /90-FooterNotes -->
1101-
1102-
<!-- 95-Units -->
1103-
1104-
请参阅[FAQ 10](https://smartdatamodels.org/index.php/faqs/),了解如何处理数量单位
1105-
<!-- /95-Units -->
1106-
1107-
<!-- 97-LastFooter -->
1108-
1017+
</details><!-- /80-Examples -->
1018+
<!-- 90-FooterNotes -->
1019+
<!-- /90-FooterNotes -->
1020+
<!-- 95-Units -->
1021+
请参阅 [FAQ 10](https://smartdatamodels.org/index.php/faqs/) 以获取有关如何处理数量单位的答案
1022+
<!-- /95-Units -->
1023+
<!-- 97-LastFooter -->
11091024
---
1110-
1111-
[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter -->
1112-
1025+
[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter -->

0 commit comments

Comments
 (0)