Skip to content

Commit a2847d4

Browse files
Update ZH
1 parent bf7176a commit a2847d4

1 file changed

Lines changed: 120 additions & 70 deletions

File tree

OSMNatural/doc/spec_ZH.md

Lines changed: 120 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,70 @@
1-
<!-- 10-Header -->
2-
[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org)
3-
实体:OSMNatural
4-
==================<!-- /10-Header -->
5-
<!-- 15-License -->
6-
[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMNatural/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 的自然特征,标记为 natural=*。描述地理特征,如水体、森林、灌木丛、山峰、海滩等**
11-
版本:0.0.1
12-
<!-- /20-Description -->
13-
<!-- 30-PropertiesList -->
1+
---
2+
3+
<!-- 10-Header -->
4+
5+
[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org)
6+
7+
实体:OSMNatural
8+
==================
9+
<!-- /10-Header -->
10+
11+
<!-- 15-License -->
12+
13+
[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMNatural/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的自然特征,标记为natural=*. 描述地理特征,如水体、树林、灌木丛、山峰、海滩等**
21+
版本:0.0.1
22+
<!-- /20-Description -->
23+
24+
<!-- 30-PropertiesList -->
25+
1426

15-
## 属性列表
27+
## 属性列表
1628

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) - `dataProvider[string]`:标识统一数据实体提供者的字符序列 - `dateCreated[date-time]`:实体创建时间戳。这通常由存储平台分配 - `dateModified[date-time]`:实体最后修改时间戳。这通常由存储平台分配 - `description[string]`:此项目的描述 - `elevation[number]`:海平面以上米为单位的特征海拔(ele),通常用于山峰。模型:[https://wiki.openstreetmap.org/wiki/Key:ele](https://wiki.openstreetmap.org/wiki/Key:ele) - `id[*]`:实体的唯一标识符 - `leafCycle[string]`:树木或森林的叶子周期。模型:[https://wiki.openstreetmap.org/wiki/Key:leaf_cycle](https://wiki.openstreetmap.org/wiki/Key:leaf_cycle) - `leafType[string]`:树木或森林的叶子类型。模型:[https://wiki.openstreetmap.org/wiki/Key:leaf_type](https://wiki.openstreetmap.org/wiki/Key:leaf_type) - `location[*]`:项目的 Geojson 引用。它可以是 Point、LineString、Polygon、MultiPoint、MultiLineString 或 MultiPolygon - `name[string]`:此项目的名称 - `naturalType[string]`:对地质或物理特征进行分类的 OSM 自然标签。枚举:“water, wood, tree, scrub, heath, grassland, peak, ridge, bare_rock, sand, beach, coastline, spring, cave_entrance, wetland...” 模型:[https://wiki.openstreetmap.org/wiki/Key:natural](https://wiki.openstreetmap.org/wiki/Key:natural) - `osmId[number]`:原始 OpenStreetMap 元素的整数标识符 - `osmLastModified[date-time]`:最后修改的时间戳 - `osmType[string]`:原始 OSM 元素的类型 - `owner[array]`:一个列表,包含一个 JSON 编码的字符序列,引用所有者(们)的唯一 ID - `seeAlso[*]`:指向附加资源的 URI 列表 - `source[string]`:一个字符序列,给出实体数据的原始来源作为 URL。建议使用源提供者的完全限定域名,或指向源对象的 URL - `type[string]`:NGSI 实体类型。它必须是 OSMNatural - `water[string]`:水体类型(如果 natural=water)(例如,湖泊、水库、河流、池塘)。模型:[https://wiki.openstreetmap.org/wiki/Key:water](https://wiki.openstreetmap.org/wiki/Key:water) - `wetland[string]`:湿地类型(如果 natural=wetland)(例如,沼泽、泥炭沼、湿地)。模型:[https://wiki.openstreetmap.org/wiki/Key:wetland](https://wiki.openstreetmap.org/wiki/Key:wetland)<!-- /30-PropertiesList -->
27-
<!-- 35-RequiredProperties -->
28-
必需属性
29-
- `id` - `location` - `naturalType` - `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>
29+
30+
<sup><sub>[*] 如果属性中没有类型,是因为它可以有多种类型或不同的格式/模式</sub></sup>
31+
- `address[object]`:邮寄地址。模型:[https://schema.org/address](https://schema.org/address)
32+
- `addressCountry[string]`:国家。例如,西班牙。模型:[https://schema.org/addressCountry](https://schema.org/addressCountry)
33+
- `addressLocality[string]`:街道地址所在的地区,并且在该地区。模型:[https://schema.org/addressLocality](https://schema.org/addressLocality)
34+
- `addressRegion[string]`:地区所在的国家。模型:[https://schema.org/addressRegion](https://schema.org/addressRegion)
35+
- `district[string]`:区是一个行政区划类型,在某些国家,由地方政府管理
36+
- `postOfficeBoxNumber[string]`:邮政信箱号码。例如,03578。模型:[https://schema.org/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber)
37+
- `postalCode[string]`:邮政编码。例如,24004。模型:[https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode)
38+
- `streetAddress[string]`:街道地址。模型:[https://schema.org/streetAddress](https://schema.org/streetAddress)
39+
- `streetNr[string]`:标识特定属性的公众街号
40+
- `alternateName[string]`:此项的替代名称 - `areaServed[string]`:服务或提供的项目的提供区域。模型:[https://schema.org/Text](https://schema.org/Text)
41+
- `dataProvider[string]`:一个序列,用于识别和谐数据实体的提供者 - `dateCreated[date-time]`:实体创建时间戳。这通常由存储平台分配 - `dateModified[date-time]`:实体最后修改的时间戳。这通常由存储平台分配 - `description[string]`:此项的描述 - `elevation[number]`:海拔(ele)以米为单位,通常用于山峰。模型:[https://wiki.openstreetmap.org/wiki/Key:ele](https://wiki.openstreetmap.org/wiki/Key:ele)
42+
- `id[*]`:实体的唯一标识符 - `leafCycle[string]`:树木或树林的叶子周期。模型:[https://wiki.openstreetmap.org/wiki/Key:leaf_cycle](https://wiki.openstreetmap.org/wiki/Key:leaf_cycle)
43+
- `leafType[string]`:树木或树林的叶子类型。模型:[https://wiki.openstreetmap.org/wiki/Key:leaf_type](https://wiki.openstreetmap.org/wiki/Key:leaf_type)
44+
- `location[*]`:Geojson引用此项。它可以是点、线、多边形、多点、多线或多多边形 - `name[string]`:此项的名称 - `naturalType[string]`:OSM自然标签,用于分类地质或物理特征。枚举:'water, wood, tree, scrub, heath, grassland, peak, ridge, bare_rock, sand, beach, coastline, spring, cave_entrance, wetland...'。模型:[https://wiki.openstreetmap.org/wiki/Key:natural](https://wiki.openstreetmap.org/wiki/Key:natural)
45+
- `osmId[number]`:原始OpenStreetMap元素整数标识符 - `osmLastModified[date-time]`:最后修改时间戳 - `osmType[string]`:原始OSM元素类型 - `owner[array]`:包含一个JSON编码序列的列表,引用所有者(s)的唯一Id - `seeAlso[*]`:指向其他资源的URI列表 - `source[string]`:一个序列,给出实体数据的原始来源作为URL。建议使用完全合格的域名或源对象的URL - `type[string]`:NGSI实体类型。必须是OSMNatural - `water[string]`:如果natural=water,则水体类型(例如湖泊、水库、河流、池塘) 。模型:[https://wiki.openstreetmap.org/wiki/Key:water](https://wiki.openstreetmap.org/wiki/Key:water)
46+
- `wetland[string]`:如果natural=wetland,则湿地类型(例如沼泽、泥炭、沼泽) 。模型:[https://wiki.openstreetmap.org/wiki/Key:wetland](https://wiki.openstreetmap.org/wiki/Key:wetland)
47+
<!-- /30-PropertiesList -->
48+
49+
<!-- 35-RequiredProperties -->
50+
51+
所需属性
52+
- `id` - `location` - `naturalType` - `osmId` - `osmType` - `type` <!-- /35-RequiredProperties -->
53+
54+
<!-- 40-NotesYaml -->
55+
56+
<!-- /40-NotesYaml -->
57+
58+
<!-- 50-DataModelHeader -->
59+
60+
## 属性数据模型描述
61+
按字母顺序排序(点击查看详细信息)
62+
<!-- /50-DataModelHeader -->
63+
64+
<!-- 60-ModelYaml -->
65+
66+
<details><summary><strong>完整的YAML详细信息</strong></summary>
67+
3868
```yaml
3969
OSMNatural:
4070
description: A natural feature from OpenStreetMap tagged with natural=*. Describes geographical features such as water bodies, woods, scrub, peaks, beaches, etc
@@ -500,16 +530,22 @@ OSMNatural:
500530
x-model-schema: https://smart-data-models.github.io/dataModel.OpenStreetMap/OSMNatural/schema.json
501531
x-model-tags: OSM OpenStreetMap Environment Natural
502532
x-version: 0.0.1
503-
```
504-
</details>
505-
<!-- /60-ModelYaml -->
506-
<!-- 70-MiddleNotes -->
507-
<!-- /70-MiddleNotes -->
508-
<!-- 80-Examples -->
509-
## 示例负载
510-
#### OSMNatural NGSI-v2 键值示例
511-
这是 OSMNatural 的 JSON 格式键值示例。当使用 `options=keyValues` 时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。
512-
<details><summary><strong>显示/隐藏示例</strong></summary>
533+
```
534+
</details>
535+
<!-- /60-ModelYaml -->
536+
537+
<!-- 70-MiddleNotes -->
538+
539+
<!-- /70-MiddleNotes -->
540+
541+
<!-- 80-Examples -->
542+
543+
## 示例有效载荷
544+
545+
#### OSMNatural NGSI-v2 键值示例
546+
这是一个OSMNatural在JSON格式中的键值示例。它与NGSI-v2兼容,当使用`options=keyValues`时,返回个别实体的上下文数据。
547+
<details><summary><strong>显示/隐藏示例</strong></summary>
548+
513549
```json
514550
{
515551
"id": "urn:ngsi-ld:OSMNatural:node:88990011",
@@ -533,11 +569,13 @@ OSMNatural:
533569
"https://es.wikipedia.org/wiki/Pe%C3%B1alara"
534570
]
535571
}
536-
```
537-
</details>
538-
#### OSMNatural NGSI-v2 规范化示例
539-
这是 OSMNatural 的 JSON 格式规范化示例。当不使用选项时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。
540-
<details><summary><strong>显示/隐藏示例</strong></summary>
572+
```
573+
</details>
574+
575+
#### OSMNatural NGSI-v2 规范化示例
576+
这是一个OSMNatural在JSON格式中的规范化示例。它与NGSI-v2兼容,当不使用选项时,返回个别实体的上下文数据。
577+
<details><summary><strong>显示/隐藏示例</strong></summary>
578+
541579
```json
542580
{
543581
"id": "urn:ngsi-ld:OSMNatural:node:88990011",
@@ -594,11 +632,13 @@ OSMNatural:
594632
]
595633
}
596634
}
597-
```
598-
</details>
599-
#### OSMNatural NGSI-LD 键值示例
600-
这是 OSMNatural 的 JSON-LD 格式键值示例。当使用 `options=keyValues` 时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。
601-
<details><summary><strong>显示/隐藏示例</strong></summary>
635+
```
636+
</details>
637+
638+
#### OSMNatural NGSI-LD 键值示例
639+
这是一个OSMNatural在JSON-LD格式中的键值示例。它与NGSI-LD兼容,当使用`options=keyValues`时,返回个别实体的上下文数据。
640+
<details><summary><strong>显示/隐藏示例</strong></summary>
641+
602642
```json
603643
{
604644
"id": "urn:ngsi-ld:OSMNatural:node:88990011",
@@ -625,11 +665,13 @@ OSMNatural:
625665
"https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/refs/heads/master/context.jsonld"
626666
]
627667
}
628-
```
629-
</details>
630-
#### OSMNatural NGSI-LD 规范化示例
631-
这是 OSMNatural 的 JSON-LD 格式规范化示例。当不使用选项时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。
632-
<details><summary><strong>显示/隐藏示例</strong></summary>
668+
```
669+
</details>
670+
671+
#### OSMNatural NGSI-LD 规范化示例
672+
这是一个OSMNatural在JSON-LD格式中的规范化示例。它与NGSI-LD兼容,当不使用选项时,返回个别实体的上下文数据。
673+
<details><summary><strong>显示/隐藏示例</strong></summary>
674+
633675
```json
634676
{
635677
"id": "urn:ngsi-ld:OSMNatural:node:88990011",
@@ -687,13 +729,21 @@ OSMNatural:
687729
"https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/refs/heads/master/context.jsonld"
688730
]
689731
}
690-
```
691-
</details><!-- /80-Examples -->
692-
<!-- 90-FooterNotes -->
693-
<!-- /90-FooterNotes -->
694-
<!-- 95-Units -->
695-
有关如何处理数量单位的答案,请参阅 [FAQ 10](https://smartdatamodels.org/index.php/faqs/)
696-
<!-- /95-Units -->
697-
<!-- 97-LastFooter -->
698-
---
699-
[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter -->
732+
```
733+
</details><!-- /80-Examples -->
734+
735+
<!-- 90-FooterNotes -->
736+
737+
<!-- /90-FooterNotes -->
738+
739+
<!-- 95-Units -->
740+
741+
请参阅[FAQ 10](https://smartdatamodels.org/index.php/faqs/),以了解如何处理数量单位
742+
<!-- /95-Units -->
743+
744+
<!-- 97-LastFooter -->
745+
746+
---
747+
748+
[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter -->
749+

0 commit comments

Comments
 (0)