|
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 --> |
| 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 --> |
14 | 15 |
|
15 | | -## 属性列表 |
| 16 | +## 属性列表 |
16 | 17 |
|
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]`: 自行车基础设施的分类。枚举值:'lane, track, opposite, opposite_lane, shared_busway, path, separate, shared' . 模型: [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 对该项目的引用。可以是 Point, LineString, Polygon, MultiPoint, MultiLineString 或 MultiPolygon - `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]`: OSM 元素最后修改时间戳。 - `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> |
| 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> |
38 | 74 | ```yaml |
39 | 75 | OSMCycleRoute: |
40 | 76 | 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. |
@@ -527,16 +563,16 @@ OSMCycleRoute: |
527 | 563 | x-model-schema: https://smart-data-models.github.io/dataModel.OpenStreetMap/OSMCycleRoute/schema.json |
528 | 564 | x-model-tags: OSM OpenStreetMap Transportation Cycling |
529 | 565 | x-version: 0.0.1 |
530 | | -``` |
531 | | -</details> |
532 | | -<!-- /60-ModelYaml --> |
533 | | -<!-- 70-MiddleNotes --> |
534 | | -<!-- /70-MiddleNotes --> |
535 | | -<!-- 80-Examples --> |
536 | | -## 示例负载 |
537 | | -#### OSMCycleRoute NGSI-v2 键值示例 |
538 | | -这是一个 OSMCycleRoute 的 JSON 格式键值示例。这与使用 `options=keyValues` 时的 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
539 | | -<details><summary><strong>显示/隐藏示例</strong></summary> |
| 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> |
540 | 576 | ```json |
541 | 577 | { |
542 | 578 | "id": "urn:ngsi-ld:OSMCycleRoute:way:107532891", |
@@ -574,11 +610,11 @@ OSMCycleRoute: |
574 | 610 | "https://www.openstreetmap.org/way/107532891" |
575 | 611 | ] |
576 | 612 | } |
577 | | -``` |
578 | | -</details> |
579 | | -#### OSMCycleRoute NGSI-v2 规范化示例 |
580 | | -这是一个 OSMCycleRoute 的 JSON 格式规范化示例。这与不使用选项时的 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
581 | | -<details><summary><strong>显示/隐藏示例</strong></summary> |
| 613 | +``` |
| 614 | +</details> |
| 615 | +#### OSMCycleRoute NGSI-v2 规范化示例 |
| 616 | +以下是以 JSON 格式表示的 OSMCycleRoute 规范化示例。当不使用选项时,该示例与 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
| 617 | +<details><summary><strong>显示/隐藏示例</strong></summary> |
582 | 618 | ```json |
583 | 619 | { |
584 | 620 | "id": "urn:ngsi-ld:OSMCycleRoute:way:107532891", |
@@ -664,11 +700,11 @@ OSMCycleRoute: |
664 | 700 | ] |
665 | 701 | } |
666 | 702 | } |
667 | | -``` |
668 | | -</details> |
669 | | -#### OSMCycleRoute NGSI-LD 键值示例 |
670 | | -这是一个 OSMCycleRoute 的 JSON-LD 格式键值示例。这与使用 `options=keyValues` 时的 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
671 | | -<details><summary><strong>显示/隐藏示例</strong></summary> |
| 703 | +``` |
| 704 | +</details> |
| 705 | +#### OSMCycleRoute NGSI-LD 键值示例 |
| 706 | +以下是以 JSON-LD 格式表示的 OSMCycleRoute 键值示例。当使用 `options=keyValues` 时,该示例与 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
| 707 | +<details><summary><strong>显示/隐藏示例</strong></summary> |
672 | 708 | ```json |
673 | 709 | { |
674 | 710 | "id": "urn:ngsi-ld:OSMCycleRoute:way:107532891", |
@@ -709,11 +745,11 @@ OSMCycleRoute: |
709 | 745 | "https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/refs/heads/master/context.jsonld" |
710 | 746 | ] |
711 | 747 | } |
712 | | -``` |
713 | | -</details> |
714 | | -#### OSMCycleRoute NGSI-LD 规范化示例 |
715 | | -这是一个 OSMCycleRoute 的 JSON-LD 格式规范化示例。这与不使用选项时的 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
716 | | -<details><summary><strong>显示/隐藏示例</strong></summary> |
| 748 | +``` |
| 749 | +</details> |
| 750 | +#### OSMCycleRoute NGSI-LD 规范化示例 |
| 751 | +以下是以 JSON-LD 格式表示的 OSMCycleRoute 规范化示例。当不使用选项时,该示例与 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
| 752 | +<details><summary><strong>显示/隐藏示例</strong></summary> |
717 | 753 | ```json |
718 | 754 | { |
719 | 755 | "id": "urn:ngsi-ld:OSMCycleRoute:way:107532891", |
@@ -800,13 +836,14 @@ OSMCycleRoute: |
800 | 836 | "https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/refs/heads/master/context.jsonld" |
801 | 837 | ] |
802 | 838 | } |
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 | | ---- |
| 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 | +--- |
812 | 849 | [Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter --> |
|
0 commit comments