|
1 | | -<!-- 10-Header --> |
2 | | -[](https://smartdatamodels.org) |
3 | | -实体:OSMCycleRoute |
4 | | -===================== |
5 | | -<!-- /10-Header --> |
6 | | -<!-- 15-License --> |
7 | | -[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMCycleRoute/LICENSE.md) |
8 | | -[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) |
9 | | -<!-- /15-License --> |
10 | | -<!-- 20-Description --> |
11 | | -全局描述:**OpenStreetMap 中专用的自行车基础设施元素。表示标记为 highway=cycleway 或 cycleway=* 的自行车道、共享自行车道及自行车路线。** |
12 | | -version: 0.0.1 |
13 | | -<!-- /20-Description --> |
14 | | -<!-- 30-PropertiesList --> |
| 1 | +<!-- 10-Header --> |
| 2 | +[](https://smartdatamodels.org) |
| 3 | +实体:OSMCycleRoute |
| 4 | +=====================<!-- /10-Header --> |
| 5 | +<!-- 15-License --> |
| 6 | +[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMCycleRoute/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=cycleway或cycleway=*的道路的自行车道、共享自行车车道和自行车路线。** |
| 11 | +版本:0.0.1 |
| 12 | +<!-- /20-Description --> |
| 13 | +<!-- 30-PropertiesList --> |
15 | 14 |
|
16 | | -## 属性列表 |
| 15 | +## 属性列表 |
17 | 16 |
|
18 | | -<sup><sub>[*] 如果某个属性没有指定类型,则表示它可能具有多种类型或不同的格式/模式</sub></sup> |
19 | | -- `access[string]`:适用于该路线的自行车骑行者的通行限制。模型:[https://wiki.openstreetmap.org/wiki/Key:access](https://wiki.openstreetmap.org/wiki/Key:access) |
20 | | -- `address[object]`:邮寄地址。模型:[https://schema.org/address](https://schema.org/address) |
21 | | - - `addressCountry[string]`:国家。例如,西班牙。模型:[https://schema.org/addressCountry](https://schema.org/addressCountry) |
22 | | - - `addressLocality[string]`:街道地址所在的地方,且该地方隶属于某个区域。模型:[https://schema.org/addressLocality](https://schema.org/addressLocality) |
23 | | - - `addressRegion[string]`:地方所在的区域,且该区域隶属于某个国家。模型:[https://schema.org/addressRegion](https://schema.org/addressRegion) |
24 | | - - `district[string]`:区域是一种行政区划,在某些国家由地方政府管理 |
25 | | - - `postOfficeBoxNumber[string]`:用于邮政信箱地址的邮政信箱号码。例如,03578。模型:[https://schema.org/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber) |
26 | | - - `postalCode[string]`:邮政编码。例如,24004。模型:[https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode) |
27 | | - - `streetAddress[string]`:街道地址。模型:[https://schema.org/streetAddress](https://schema.org/streetAddress) |
28 | | - - `streetNr[string]`:标识公共街道上特定房产的编号 |
29 | | -- `alternateName[string]`:该项目的另一个名称 |
30 | | -- `areaServed[string]`:提供服务或提供项目的地理区域。模型:[https://schema.org/Text](https://schema.org/Text) |
31 | | -- `cyclewayType[string]`:自行车基础设施的分类。枚举值:‘lane(车道)、track(专用道)、opposite(对向)、opposite_lane(对向车道)、shared_busway(共享公交车道)、path(小径)、separate(分离式)、shared(共享式)’。模型:[https://wiki.openstreetmap.org/wiki/Key:cycleway](https://wiki.openstreetmap.org/wiki/Key:cycleway) |
32 | | -- `dataProvider[string]`:标识统一数据实体提供者的一系列字符 |
33 | | -- `dateCreated[date-time]`:实体创建时间戳。通常由存储平台分配 |
34 | | -- `dateModified[date-time]`:实体最后修改的时间戳。通常由存储平台分配 |
35 | | -- `description[string]`:该项目的描述 |
36 | | -- `id[*]`:实体的唯一标识符 |
37 | | -- `lit[boolean]`:指示该自行车路线是否配备街道照明。模型:[https://wiki.openstreetmap.org/wiki/Key:lit](https://wiki.openstreetmap.org/wiki/Key:lit) |
38 | | -- `location[*]`:指向该项目的 GeoJSON 引用。可以是 Point、LineString、Polygon、MultiPoint、MultiLineString 或 MultiPolygon |
39 | | -- `maxSpeed[number]`:以公里/小时为单位的最高限速。模型:[https://wiki.openstreetmap.org/wiki/Key:maxspeed](https://wiki.openstreetmap.org/wiki/Key:maxspeed) |
40 | | -- `name[string]`:该项目的名称 |
41 | | -- `ncnRef[string]`:国家自行车网络路线参考编号。模型:[https://wiki.openstreetmap.org/wiki/Key:ncn_ref](https://wiki.openstreetmap.org/wiki/Key:ncn_ref) |
42 | | -- `oneway[boolean]`:指示该自行车路线是否为单行道。模型:[https://wiki.openstreetmap.org/wiki/Key:oneway](https://wiki.openstreetmap.org/wiki/Key:oneway) |
43 | | -- `operator[string]`:负责维护该自行车路线的实体名称。模型:[https://wiki.openstreetmap.org/wiki/Key:operator](https://wiki.openstreetmap.org/wiki/Key:operator) |
44 | | -- `osmId[number]`:原始 OpenStreetMap 元素的整数标识符。模型:[https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements) |
45 | | -- `osmLastModified[date-time]`:原始 OSM 元素的最后修改时间戳 |
46 | | -- `osmType[string]`:原始 OpenStreetMap 元素的类型。模型:[https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements) |
47 | | -- `owner[array]`:包含以 JSON 编码的字符序列的列表,引用所有者的唯一 ID |
48 | | -- `rcnRef[string]`:区域自行车网络路线参考编号。模型:[https://wiki.openstreetmap.org/wiki/Key:rcn_ref](https://wiki.openstreetmap.org/wiki/Key:rcn_ref) |
49 | | -- `seeAlso[*]`:指向有关该项目的其他资源的 URI 列表 |
50 | | -- `segregated[boolean]`:指示该自行车基础设施是否与行人使用完全隔离。模型:[https://wiki.openstreetmap.org/wiki/Key:segregated](https://wiki.openstreetmap.org/wiki/Key:segregated) |
51 | | -- `source[string]`:以 URL 形式提供的实体数据的原始来源字符序列。建议使用完全限定域名或指向源对象的 URL |
52 | | -- `surface[string]`:自行车道的物理表面材质。模型:[https://wiki.openstreetmap.org/wiki/Key:surface](https://wiki.openstreetmap.org/wiki/Key:surface) |
53 | | -- `type[string]`:NGSI 实体类型。必须为 OSMCycleRoute |
54 | | -- `widthMeters[number]`:自行车道的宽度(单位:米)。模型:[https://wiki.openstreetmap.org/wiki/Key:width](https://wiki.openstreetmap.org/wiki/Key:width) |
55 | | -<!-- /30-PropertiesList --> |
56 | | - |
57 | | -<!-- 35-RequiredProperties --> |
58 | | -必需属性 |
59 | | -- `cyclewayType` |
60 | | -- `id` |
61 | | -- `location` |
62 | | -- `osmId` |
63 | | -- `osmType` |
64 | | -- `type` |
65 | | -<!-- /35-RequiredProperties --> |
66 | | -<!-- 40-NotesYaml --> |
67 | | -<!-- /40-NotesYaml --> |
68 | | -<!-- 50-DataModelHeader --> |
69 | | -## 属性数据模型说明 |
70 | | -按字母顺序排序(点击查看详情) |
71 | | -<!-- /50-DataModelHeader --> |
72 | | -<!-- 60-ModelYaml --> |
73 | | -<details><summary><strong>完整 YAML 详情</strong></summary> |
74 | | -```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)- `cyclewayType[string]`:骑行基础设施的分类。枚举:'车道,轨道,对面,对面车道,共享公交车道,路径,独立,共享'。 模型:[https://wiki.openstreetmap.org/wiki/Key:cycleway](https://wiki.openstreetmap.org/wiki/Key:cycleway)- `dataProvider[string]`:识别和谐数据实体的提供者的字符序列 - `dateCreated[date-time]`:实体创建的时间戳。这通常由存储平台分配 - `dateModified[date-time]`:实体最后修改的时间戳。这通常由存储平台分配 - `description[string]`:此项的描述 - `id[*]`:实体的唯一标识符 - `lit[boolean]`:指示自行车道是否有路灯。 模型:[https://wiki.openstreetmap.org/wiki/Key:lit](https://wiki.openstreetmap.org/wiki/Key:lit)- `location[*]`:Geojson引用此项。它可以是点、线字符串、多边形、多点、多线字符串或多多边形 - `maxSpeed[number]`:允许的最大速度(公里每小时)。 模型:[https://wiki.openstreetmap.org/wiki/Key:maxspeed](https://wiki.openstreetmap.org/wiki/Key:maxspeed)- `name[string]`:此项的名称 - `ncnRef[string]`:国家自行车网络路线参考号。 模型:[https://wiki.openstreetmap.org/wiki/Key:ncn_ref](https://wiki.openstreetmap.org/wiki/Key:ncn_ref)- `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]`:原始OpenStreetMap元素的最后修改时间戳。 - `osmType[string]`:原始OpenStreetMap元素的类型。 模型:[https://wiki.openstreetmap.org/wiki/Elements](https://wiki.openstreetmap.org/wiki/Elements)- `owner[array]`:包含对所有者(们)的唯一ID的JSON编码字符序列的列表 - `rcnRef[string]`:区域自行车网络路线参考号。 模型:[https://wiki.openstreetmap.org/wiki/Key:rcn_ref](https://wiki.openstreetmap.org/wiki/Key:rcn_ref)- `seeAlso[*]`:指向此项的其他资源的URI列表。 - `segregated[boolean]`:指示骑行基础设施是否与行人使用物理隔离。 模型:[https://wiki.openstreetmap.org/wiki/Key:segregated](https://wiki.openstreetmap.org/wiki/Key:segregated)- `source[string]`:实体数据的原始来源的字符序列作为URL。建议为源提供者的全限定域名,或源对象的URL - `surface[string]`:自行车道的物理表面材料。 模型:[https://wiki.openstreetmap.org/wiki/Key:surface](https://wiki.openstreetmap.org/wiki/Key:surface)- `type[string]`:NGSI实体类型。必须是OSMCycleRoute - `widthMeters[number]`:自行车道的宽度(米)。 模型:[https://wiki.openstreetmap.org/wiki/Key:width](https://wiki.openstreetmap.org/wiki/Key:width)<!-- /30-PropertiesList --> |
| 27 | +<!-- 35-RequiredProperties --> |
| 28 | +必需属性 |
| 29 | +- `cyclewayType` - `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 |
75 | 39 | OSMCycleRoute: |
76 | 40 | description: A dedicated cycling infrastructure element from OpenStreetMap. Represents cycle paths, shared cycle lanes, and bike routes tagged with highway=cycleway or cycleway=* on road ways. |
77 | 41 | properties: |
@@ -563,17 +527,17 @@ OSMCycleRoute: |
563 | 527 | x-model-schema: https://smart-data-models.github.io/dataModel.OpenStreetMap/OSMCycleRoute/schema.json |
564 | 528 | x-model-tags: OSM OpenStreetMap Transportation Cycling |
565 | 529 | x-version: 0.0.1 |
566 | | -``` |
567 | | -</details> |
568 | | -<!-- /60-ModelYaml --> |
569 | | -<!-- 70-MiddleNotes --> |
570 | | -<!-- /70-MiddleNotes --> |
571 | | -<!-- 80-Examples --> |
572 | | -## 示例有效负载 |
573 | | -#### OSMCycleRoute NGSI-v2 键值示例 |
574 | | -以下是以 JSON 格式表示的 OSMCycleRoute 键值示例。当使用 `options=keyValues` 时,该示例与 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
575 | | -<details><summary><strong>显示/隐藏示例</strong></summary> |
576 | | -```json |
| 530 | +``` |
| 531 | +</details> |
| 532 | +<!-- /60-ModelYaml --> |
| 533 | +<!-- 70-MiddleNotes --> |
| 534 | +<!-- /70-MiddleNotes --> |
| 535 | +<!-- 80-Examples --> |
| 536 | +## 示例有效载荷 |
| 537 | +#### OSMCycleRoute NGSI-v2 键值示例 |
| 538 | +这是OSMCycleRoute在JSON格式下的键值示例。它与NGSI-v2兼容,当使用`options=keyValues`时,返回个别实体的上下文数据。 |
| 539 | +<details><summary><strong>显示/隐藏示例</strong></summary> |
| 540 | +```json |
577 | 541 | { |
578 | 542 | "id": "urn:ngsi-ld:OSMCycleRoute:way:107532891", |
579 | 543 | "type": "OSMCycleRoute", |
@@ -610,12 +574,12 @@ OSMCycleRoute: |
610 | 574 | "https://www.openstreetmap.org/way/107532891" |
611 | 575 | ] |
612 | 576 | } |
613 | | -``` |
614 | | -</details> |
615 | | -#### OSMCycleRoute NGSI-v2 规范化示例 |
616 | | -以下是以 JSON 格式表示的 OSMCycleRoute 规范化示例。当不使用选项时,该示例与 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
617 | | -<details><summary><strong>显示/隐藏示例</strong></summary> |
618 | | -```json |
| 577 | +``` |
| 578 | +</details> |
| 579 | +#### OSMCycleRoute NGSI-v2 规范化示例 |
| 580 | +这是OSMCycleRoute在JSON格式下的规范化示例。它与NGSI-v2兼容,当不使用选项时,返回个别实体的上下文数据。 |
| 581 | +<details><summary><strong>显示/隐藏示例</strong></summary> |
| 582 | +```json |
619 | 583 | { |
620 | 584 | "id": "urn:ngsi-ld:OSMCycleRoute:way:107532891", |
621 | 585 | "type": "OSMCycleRoute", |
@@ -700,12 +664,12 @@ OSMCycleRoute: |
700 | 664 | ] |
701 | 665 | } |
702 | 666 | } |
703 | | -``` |
704 | | -</details> |
705 | | -#### OSMCycleRoute NGSI-LD 键值示例 |
706 | | -以下是以 JSON-LD 格式表示的 OSMCycleRoute 键值示例。当使用 `options=keyValues` 时,该示例与 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
707 | | -<details><summary><strong>显示/隐藏示例</strong></summary> |
708 | | -```json |
| 667 | +``` |
| 668 | +</details> |
| 669 | +#### OSMCycleRoute NGSI-LD 键值示例 |
| 670 | +这是OSMCycleRoute在JSON-LD格式下的键值示例。它与NGSI-LD兼容,当使用`options=keyValues`时,返回个别实体的上下文数据。 |
| 671 | +<details><summary><strong>显示/隐藏示例</strong></summary> |
| 672 | +```json |
709 | 673 | { |
710 | 674 | "id": "urn:ngsi-ld:OSMCycleRoute:way:107532891", |
711 | 675 | "type": "OSMCycleRoute", |
@@ -745,12 +709,12 @@ OSMCycleRoute: |
745 | 709 | "https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/refs/heads/master/context.jsonld" |
746 | 710 | ] |
747 | 711 | } |
748 | | -``` |
749 | | -</details> |
750 | | -#### OSMCycleRoute NGSI-LD 规范化示例 |
751 | | -以下是以 JSON-LD 格式表示的 OSMCycleRoute 规范化示例。当不使用选项时,该示例与 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
752 | | -<details><summary><strong>显示/隐藏示例</strong></summary> |
753 | | -```json |
| 712 | +``` |
| 713 | +</details> |
| 714 | +#### OSMCycleRoute NGSI-LD 规范化示例 |
| 715 | +这是OSMCycleRoute在JSON-LD格式下的规范化示例。它与NGSI-LD兼容,当不使用选项时,返回个别实体的上下文数据。 |
| 716 | +<details><summary><strong>显示/隐藏示例</strong></summary> |
| 717 | +```json |
754 | 718 | { |
755 | 719 | "id": "urn:ngsi-ld:OSMCycleRoute:way:107532891", |
756 | 720 | "type": "OSMCycleRoute", |
@@ -836,14 +800,13 @@ OSMCycleRoute: |
836 | 800 | "https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/refs/heads/master/context.jsonld" |
837 | 801 | ] |
838 | 802 | } |
839 | | -``` |
840 | | -</details><!-- /80-Examples --> |
841 | | - |
842 | | -<!-- 90-FooterNotes --> |
843 | | -<!-- /90-FooterNotes --> |
844 | | -<!-- 95-Units --> |
845 | | -请参阅 [FAQ 10](https://smartdatamodels.org/index.php/faqs/) 以获取如何处理数量单位的说明 |
846 | | -<!-- /95-Units --> |
847 | | -<!-- 97-LastFooter --> |
848 | | ---- |
849 | | -[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter --> |
| 803 | +``` |
| 804 | +</details><!-- /80-Examples --> |
| 805 | +<!-- 90-FooterNotes --> |
| 806 | +<!-- /90-FooterNotes --> |
| 807 | +<!-- 95-Units --> |
| 808 | +请参阅[FAQ 10](https://smartdatamodels.org/index.php/faqs/)以获取有关如何处理数量单位的答案 |
| 809 | +<!-- /95-Units --> |
| 810 | +<!-- 97-LastFooter --> |
| 811 | +--- |
| 812 | +[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter --> |
|
0 commit comments