Skip to content

Commit 89aac4d

Browse files
Update ZH
1 parent aefad12 commit 89aac4d

1 file changed

Lines changed: 60 additions & 60 deletions

File tree

OSMHighway/doc/spec_ZH.md

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
<!-- 10-Header -->
1+
<!-- 10-Header -->
22
[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org)
3-
实体OSMHighway
4-
==================<!-- /10-Header -->
5-
<!-- 15-License -->
6-
[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMHighway/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的道路或路径元素,带有highway标签。代表所有类型的道路,从高速公路到人行道,如OSM highway分类法所定义。**
11-
版本0.0.1
12-
<!-- /20-Description -->
13-
<!-- 30-PropertiesList -->
3+
实体: OSMHighway
4+
==================<!-- /10-Header -->
5+
<!-- 15-License -->
6+
[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMHighway/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 中使用 highway 键标记的道路或路径元素。根据 OSM highway 分类法,它代表所有类型的道路,从高速公路到人行道**
11+
版本: 0.0.1
12+
<!-- /20-Description -->
13+
<!-- 30-PropertiesList -->
1414

15-
## 属性列表
15+
## 属性列表
1616

17-
<sup><sub>[*] 如果属性中没有类型,是因为它可以有多种类型或不同的格式/模式</sub></sup>
18-
- `access[string]`:道路的通用访问限制。模型[https://wiki.openstreetmap.org/wiki/Key:access](https://wiki.openstreetmap.org/wiki/Key:access)- `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)- `bridge[boolean]`:指示此道路段是否在桥上运行。模型:[https://wiki.openstreetmap.org/wiki/Key:bridge](https://wiki.openstreetmap.org/wiki/Key:bridge)- `cyclewayPresent[boolean]`:指示是否在此道路旁边有专用自行车道。模型:[https://wiki.openstreetmap.org/wiki/Key:cycleway](https://wiki.openstreetmap.org/wiki/Key:cycleway)- `dataProvider[string]`:识别和谐数据实体的提供者的字符序列 - `dateCreated[date-time]`:实体创建时间戳。这通常由存储平台分配 - `dateModified[date-time]`:实体最后修改的时间戳。这通常由存储平台分配 - `description[string]`:此项的描述 - `highwayType[string]`:OSM highway标签值,用于分类道路或路径的类型。枚举:'motorway, trunk, primary, secondary, tertiary, unclassified, residential, service, living_street, pedestrian, track, footway, cycleway, path, motorway_link, trunk_link, primary_link, secondary_link, tertiary_link, road, busway, bus_guideway, construction, proposed'。模型:[https://wiki.openstreetmap.org/wiki/Key:highway](https://wiki.openstreetmap.org/wiki/Key:highway)- `id[*]`:实体的唯一标识符 - `inclinePercent[number]`:道路的坡度,表示为百分比。正值表示上坡。模型:[https://wiki.openstreetmap.org/wiki/Key:incline](https://wiki.openstreetmap.org/wiki/Key:incline)- `lanes[number]`:双向总车道数。模型:[https://wiki.openstreetmap.org/wiki/Key:lanes](https://wiki.openstreetmap.org/wiki/Key:lanes)- `layer[number]`:相对于同一位置的其他功能的垂直层,用于指示重叠的方式。模型:[https://wiki.openstreetmap.org/wiki/Key:layer](https://wiki.openstreetmap.org/wiki/Key:layer)- `lit[boolean]`:指示道路是否由街道照明照亮。模型:[https://wiki.openstreetmap.org/wiki/Key:lit](https://wiki.openstreetmap.org/wiki/Key:lit)- `location[*]`:Geojson引用项。可以是Point、LineString、Polygon、MultiPoint、MultiLineString或MultiPolygon - `maxSpeed[number]`:每小时公里的最大允许速度。模型:[https://wiki.openstreetmap.org/wiki/Key:maxspeed](https://wiki.openstreetmap.org/wiki/Key:maxspeed)- `name[string]`:此项的名称 - `oneway[boolean]`:指示道路是否为机动车辆单行道。模型:[https://wiki.openstreetmap.org/wiki/Key:oneway](https://wiki.openstreetmap.org/wiki/Key:oneway)- `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]`:OSM元素最后修改的时间戳。 - `osmType[string]`:原始OpenStreetMap元素的类型。模型:[https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements)- `owner[array]`:包含JSON编码序列的列表,引用所有者(们)的唯一ID - `ref[string]`:官方道路参考号码或代码(例如A-3,M-30)。模型:[https://wiki.openstreetmap.org/wiki/Key:ref](https://wiki.openstreetmap.org/wiki/Key:ref)- `seeAlso[*]`:指向此项的其他资源的URI列表(例如Wikidata,Wikipedia)。 - `sidewalk[string]`:指示道路旁边的人行道的存在和位置。模型:[https://wiki.openstreetmap.org/wiki/Key:sidewalk](https://wiki.openstreetmap.org/wiki/Key:sidewalk)- `source[string]`:实体数据的原始来源的字符序列,作为URL。建议使用完全合格的域名或源对象的URL - `surface[string]`:道路的物理表面材料。模型:[https://wiki.openstreetmap.org/wiki/Key:surface](https://wiki.openstreetmap.org/wiki/Key:surface)- `tunnel[boolean]`:指示此道路段是否通过隧道运行。模型:[https://wiki.openstreetmap.org/wiki/Key:tunnel](https://wiki.openstreetmap.org/wiki/Key:tunnel)- `type[string]`:NGSI实体类型。必须是OSMHighway - `widthMeters[number]`:道路的物理宽度(米)。模型:[https://wiki.openstreetmap.org/wiki/Key:width](https://wiki.openstreetmap.org/wiki/Key:width)<!-- /30-PropertiesList -->
27-
<!-- 35-RequiredProperties -->
28-
必需属性
29-
- `highwayType` - `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+
- `access[string]`: 道路的一般通行限制。模型: [https://wiki.openstreetmap.org/wiki/Key:access](https://wiki.openstreetmap.org/wiki/Key:access)- `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)- `bridge[boolean]`: 指示此路段是否经过桥梁。模型: [https://wiki.openstreetmap.org/wiki/Key:bridge](https://wiki.openstreetmap.org/wiki/Key:bridge)- `cyclewayPresent[boolean]`: 指示此道路旁是否有专用自行车道。模型: [https://wiki.openstreetmap.org/wiki/Key:cycleway](https://wiki.openstreetmap.org/wiki/Key:cycleway)- `dataProvider[string]`: 标识协调数据实体提供者的字符序列 - `dateCreated[date-time]`: 实体创建时间戳。这通常由存储平台分配 - `dateModified[date-time]`: 实体最后修改的时间戳。这通常由存储平台分配 - `description[string]`: 此项目的描述 - `highwayType[string]`: 划分道路或路径类型的 OSM highway 标签值。枚举:'motorway, trunk, primary, secondary, tertiary, unclassified, residential, service, living_street, pedestrian, track, footway, cycleway, path, motorway_link, trunk_link, primary_link, secondary_link, tertiary_link, road, busway, bus_guideway, construction, proposed'。模型: [https://wiki.openstreetmap.org/wiki/Key:highway](https://wiki.openstreetmap.org/wiki/Key:highway)- `id[*]`: 实体的唯一标识符 - `inclinePercent[number]`: 以百分比表示的道路坡度。正值表示上坡。模型: [https://wiki.openstreetmap.org/wiki/Key:incline](https://wiki.openstreetmap.org/wiki/Key:incline)- `lanes[number]`: 双向交通车道总数。模型: [https://wiki.openstreetmap.org/wiki/Key:lanes](https://wiki.openstreetmap.org/wiki/Key:lanes)- `layer[number]`: 相对于同一位置其他特征的垂直层,用于指示重叠的路径。模型: [https://wiki.openstreetmap.org/wiki/Key:layer](https://wiki.openstreetmap.org/wiki/Key:layer)- `lit[boolean]`: 指示道路是否由路灯照明。模型: [https://wiki.openstreetmap.org/wiki/Key:lit](https://wiki.openstreetmap.org/wiki/Key:lit)- `location[*]`: Geojson 对该项目的引用。可以是 Point, LineString, Polygon, MultiPoint, MultiLineString 或 MultiPolygon - `maxSpeed[number]`: 每小时最大允许速度(公里)。模型: [https://wiki.openstreetmap.org/wiki/Key:maxspeed](https://wiki.openstreetmap.org/wiki/Key:maxspeed)- `name[string]`: 此项目的名称 - `oneway[boolean]`: 指示道路是否为机动车单行道。模型: [https://wiki.openstreetmap.org/wiki/Key:oneway](https://wiki.openstreetmap.org/wiki/Key:oneway)- `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]`: OSM 元素最后修改的时间戳。 - `osmType[string]`: 原始 OpenStreetMap 元素的类型。模型: [https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements)- `owner[array]`: 包含 JSON 编码字符序列的列表,引用所有者(一个或多个)的唯一 ID - `ref[string]`: 官方道路参考编号或代码(例如 A-3, M-30)。模型: [https://wiki.openstreetmap.org/wiki/Key:ref](https://wiki.openstreetmap.org/wiki/Key:ref)- `seeAlso[*]`: 指向此项目附加资源(例如 Wikidata, Wikipedia)的 URI 列表。 - `sidewalk[string]`: 指示道路旁人行道的存在和位置。模型: [https://wiki.openstreetmap.org/wiki/Key:sidewalk](https://wiki.openstreetmap.org/wiki/Key:sidewalk)- `source[string]`: 以 URL 形式提供实体数据原始来源的字符序列。建议使用来源提供者的完全限定域名,或指向来源对象的 URL - `surface[string]`: 道路的物理路面材料。模型: [https://wiki.openstreetmap.org/wiki/Key:surface](https://wiki.openstreetmap.org/wiki/Key:surface)- `tunnel[boolean]`: 指示此路段是否穿过隧道。模型: [https://wiki.openstreetmap.org/wiki/Key:tunnel](https://wiki.openstreetmap.org/wiki/Key:tunnel)- `type[string]`: NGSI 实体类型。必须是 OSMHighway - `widthMeters[number]`: 道路的物理宽度(米)。模型: [https://wiki.openstreetmap.org/wiki/Key:width](https://wiki.openstreetmap.org/wiki/Key:width)<!-- /30-PropertiesList -->
27+
<!-- 35-RequiredProperties -->
28+
必需属性
29+
- `highwayType` - `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
3939
OSMHighway:
4040
description: A road or path element from OpenStreetMap tagged with the highway key. Represents all types of roads, from motorways to footpaths, as defined by the OSM highway taxonomy.
4141
properties:
@@ -590,15 +590,15 @@ OSMHighway:
590590
x-version: 0.0.1
591591
```
592592
</details>
593-
<!-- /60-ModelYaml -->
594-
<!-- 70-MiddleNotes -->
595-
<!-- /70-MiddleNotes -->
596-
<!-- 80-Examples -->
597-
## 示例有效载荷
598-
#### OSMHighway NGSI-v2 键值示例
599-
这是OSMHighway在JSON格式中的键值示例。与NGSI-v2兼容,当使用`options=keyValues`时,返回个别实体的上下文数据
593+
<!-- /60-ModelYaml -->
594+
<!-- 70-MiddleNotes -->
595+
<!-- /70-MiddleNotes -->
596+
<!-- 80-Examples -->
597+
## 示例负载
598+
#### OSMHighway NGSI-v2 键值对示例
599+
这是一个 OSMHighway 的 JSON 格式键值对示例。当使用 `options=keyValues` 时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据
600600
<details><summary><strong>显示/隐藏示例</strong></summary>
601-
```json
601+
```json
602602
{
603603
"id": "urn:ngsi-ld:OSMHighway:way:5837156",
604604
"type": "OSMHighway",
@@ -640,10 +640,10 @@ OSMHighway:
640640
}
641641
```
642642
</details>
643-
#### OSMHighway NGSI-v2 规范化示例
644-
这是OSMHighway在JSON格式中的规范化示例。与NGSI-v2兼容,当不使用选项时,返回个别实体的上下文数据
643+
#### OSMHighway NGSI-v2 规范化示例
644+
这是一个 OSMHighway 的 JSON 格式规范化示例。当不使用选项时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据
645645
<details><summary><strong>显示/隐藏示例</strong></summary>
646-
```json
646+
```json
647647
{
648648
"id": "urn:ngsi-ld:OSMHighway:way:5837156",
649649
"type": "OSMHighway",
@@ -748,10 +748,10 @@ OSMHighway:
748748
}
749749
```
750750
</details>
751-
#### OSMHighway NGSI-LD 键值示例
752-
这是OSMHighway在JSON-LD格式中的键值示例。与NGSI-LD兼容,当使用`options=keyValues`时,返回个别实体的上下文数据
751+
#### OSMHighway NGSI-LD 键值对示例
752+
这是一个 OSMHighway 的 JSON-LD 格式键值对示例。当使用 `options=keyValues` 时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据
753753
<details><summary><strong>显示/隐藏示例</strong></summary>
754-
```json
754+
```json
755755
{
756756
"id": "urn:ngsi-ld:OSMHighway:way:5837156",
757757
"type": "OSMHighway",
@@ -796,10 +796,10 @@ OSMHighway:
796796
}
797797
```
798798
</details>
799-
#### OSMHighway NGSI-LD 规范化示例
800-
这是OSMHighway在JSON-LD格式中的规范化示例。与NGSI-LD兼容,当不使用选项时,返回个别实体的上下文数据
799+
#### OSMHighway NGSI-LD 规范化示例
800+
这是一个 OSMHighway 的 JSON-LD 格式规范化示例。当不使用选项时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据
801801
<details><summary><strong>显示/隐藏示例</strong></summary>
802-
```json
802+
```json
803803
{
804804
"id": "urn:ngsi-ld:OSMHighway:way:5837156",
805805
"type": "OSMHighway",
@@ -899,12 +899,12 @@ OSMHighway:
899899
]
900900
}
901901
```
902-
</details><!-- /80-Examples -->
903-
<!-- 90-FooterNotes -->
904-
<!-- /90-FooterNotes -->
905-
<!-- 95-Units -->
906-
请参阅[FAQ 10](https://smartdatamodels.org/index.php/faqs/)以了解如何处理数量单位
907-
<!-- /95-Units -->
908-
<!-- 97-LastFooter -->
902+
</details><!-- /80-Examples -->
903+
<!-- 90-FooterNotes -->
904+
<!-- /90-FooterNotes -->
905+
<!-- 95-Units -->
906+
请参阅 [FAQ 10](https://smartdatamodels.org/index.php/faqs/) 以获取有关如何处理量纲单位的答案
907+
<!-- /95-Units -->
908+
<!-- 97-LastFooter -->
909909
---
910-
[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter -->
910+
[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)