|
1 | 1 | <!-- 10-Header --> |
2 | 2 | [](https://smartdatamodels.org) |
3 | 3 | 实体:OSMLanduse |
4 | | -==================<!-- /10-Header --> |
| 4 | +================== |
| 5 | +<!-- /10-Header --> |
5 | 6 | <!-- 15-License --> |
6 | 7 | [Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMLanduse/LICENSE.md) |
7 | 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) |
8 | 9 | <!-- /15-License --> |
9 | 10 | <!-- 20-Description --> |
10 | | -全局描述:**来自 OpenStreetMap 的一块土地用途区域,标记为 landuse=*。描述了土地的主要人类用途或使用方式** |
| 11 | +全局描述:**OpenStreetMap 中标记为 landuse=* 的土地用途区域。描述土地的主要人类用途或使用方式** |
11 | 12 | 版本:0.0.1 |
12 | 13 | <!-- /20-Description --> |
13 | 14 | <!-- 30-PropertiesList --> |
14 | 15 |
|
15 | 16 | ## 属性列表 |
16 | 17 |
|
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) |
| 18 | +<sup><sub>[*] 如果某个属性未设置类型,是因为该属性可能具有多种类型或不同的格式/模式</sub></sup> |
| 19 | +- `address[object]`:邮寄地址。模型:[https://schema.org/address](https://schema.org/address) |
| 20 | + - `addressCountry[string]`:国家。例如,西班牙。模型:[https://schema.org/addressCountry](https://schema.org/addressCountry) |
| 21 | + - `addressLocality[string]`:街道地址所在的城镇,且该城镇隶属于某个地区。模型:[https://schema.org/addressLocality](https://schema.org/addressLocality) |
| 22 | + - `addressRegion[string]`:城镇所在的地区,且该地区隶属于某个国家。模型:[https://schema.org/addressRegion](https://schema.org/addressRegion) |
| 23 | + - `district[string]`:区(district)是一种行政区划类型,在某些国家由地方政府管理 |
| 24 | + - `postOfficeBoxNumber[string]`:用于邮政信箱地址的邮箱号码。例如,03578。模型:[https://schema.org/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber) |
23 | 25 | - `postalCode[string]`:邮政编码。例如,24004。模型:[https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode) |
24 | 26 | - `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) - `crop[string]`:如果 landuse=farmland,则土地上种植的作物。模型:[https://wiki.openstreetmap.org/wiki/Key:crop](https://wiki.openstreetmap.org/wiki/Key:crop) - `dataProvider[string]`:标识统一数据实体提供者的字符序列 - `dateCreated[date-time]`:实体创建时间戳。这通常由存储平台分配 - `dateModified[date-time]`:实体最后修改时间戳。这通常由存储平台分配 - `description[string]`:对此项目的描述 - `id[*]`:实体的唯一标识符 - `landuseType[string]`:对土地的主要人类用途进行分类的 OSM 土地用途标签。枚举:“commercial, construction, education, industrial, residential, retail, farmland, forest, meadow, orchard, ...”。模型:[https://wiki.openstreetmap.org/wiki/Key:landuse](https://wiki.openstreetmap.org/wiki/Key:landuse) - `location[*]`:项目的 Geojson 引用。它可以是 Point、LineString、Polygon、MultiPoint、MultiLineString 或 MultiPolygon - `name[string]`:此项目的名称 - `operator[string]`:运营或管理该区域的实体的名称 - `osmId[number]`:原始 OpenStreetMap 元素的整数标识符 - `osmLastModified[date-time]`:最后修改的时间戳 - `osmType[string]`:原始 OSM 元素的类型 - `owner[array]`:一个列表,包含一个 JSON 编码的字符序列,引用所有者的唯一 ID - `seeAlso[*]`:指向附加资源的 URI 列表 - `source[string]`:一个字符序列,给出实体数据的原始来源作为 URL。建议使用源提供者的完全限定域名或源对象的 URL - `trees[string]`:如果 landuse=forest 或 orchard,则种植的树木类型。模型:[https://wiki.openstreetmap.org/wiki/Key:trees](https://wiki.openstreetmap.org/wiki/Key:trees) - `type[string]`:NGSI 实体类型。它必须是 OSMLanduse <!-- /30-PropertiesList --> |
| 27 | + - `streetNr[string]`:标识公共街道上某个特定房产的编号 |
| 28 | +- `alternateName[string]`:此项目的另一个名称 |
| 29 | +- `areaServed[string]`:提供服务或商品的地理区域。模型:[https://schema.org/Text](https://schema.org/Text) |
| 30 | +- `crop[string]`:若 landuse=farmland,则为此土地上种植的农作物。模型:[https://wiki.openstreetmap.org/wiki/Key:crop](https://wiki.openstreetmap.org/wiki/Key:crop) |
| 31 | +- `dataProvider[string]`:标识统一数据实体提供者的一组字符序列 |
| 32 | +- `dateCreated[date-time]`:实体创建时间戳。通常由存储平台分配 |
| 33 | +- `dateModified[date-time]`:实体最后一次修改的时间戳。通常由存储平台分配 |
| 34 | +- `description[string]`:此项目的描述 |
| 35 | +- `id[*]`:实体的唯一标识符 |
| 36 | +- `landuseType[string]`:对土地主要人类用途进行分类的 OSM landuse 标签。枚举值:'commercial(商业)、construction(建筑施工)、education(教育)、industrial(工业)、residential(住宅)、retail(零售)、farmland(农田)、forest(森林)、meadow(草地)、orchard(果园)、...'。模型:[https://wiki.openstreetmap.org/wiki/Key:landuse](https://wiki.openstreetmap.org/wiki/Key:landuse) |
| 37 | +- `location[*]`:指向该项目的 GeoJSON 引用。可以是 Point、LineString、Polygon、MultiPoint、MultiLineString 或 MultiPolygon |
| 38 | +- `name[string]`:此项目的名称 |
| 39 | +- `operator[string]`:运营或管理该区域的实体名称 |
| 40 | +- `osmId[number]`:原始 OpenStreetMap 元素整数标识符 |
| 41 | +- `osmLastModified[date-time]`:最后一次修改的时间戳 |
| 42 | +- `osmType[string]`:原始 OSM 元素的类型 |
| 43 | +- `owner[array]`:包含以 JSON 编码的字符序列的列表,引用所有者的唯一 ID |
| 44 | +- `seeAlso[*]`:指向附加资源的 URI 列表 |
| 45 | +- `source[string]`:以 URL 形式给出的实体数据的原始来源字符序列。建议使用源提供商的完整域名或指向源对象的 URL |
| 46 | +- `trees[string]`:若 landuse=forest 或 orchard,则为此林地或果园中种植的树木类型。模型:[https://wiki.openstreetmap.org/wiki/Key:trees](https://wiki.openstreetmap.org/wiki/Key:trees) |
| 47 | +- `type[string]`:NGSI 实体类型。必须为 OSMLanduse |
| 48 | +<!-- /30-PropertiesList --> |
27 | 49 | <!-- 35-RequiredProperties --> |
| 50 | + |
28 | 51 | 必需属性 |
29 | | -- `id` - `landuseType` - `location` - `osmId` - `osmType` - `type` <!-- /35-RequiredProperties --> |
| 52 | +- `id` |
| 53 | +- `landuseType` |
| 54 | +- `location` |
| 55 | +- `osmId` |
| 56 | +- `osmType` |
| 57 | +- `type` |
| 58 | +<!-- /35-RequiredProperties --> |
30 | 59 | <!-- 40-NotesYaml --> |
31 | 60 | <!-- /40-NotesYaml --> |
32 | 61 | <!-- 50-DataModelHeader --> |
33 | | -## 属性的数据模型描述 |
| 62 | + |
| 63 | +## 属性数据模型说明 |
34 | 64 | 按字母顺序排序(点击查看详情) |
35 | 65 | <!-- /50-DataModelHeader --> |
36 | 66 | <!-- 60-ModelYaml --> |
37 | | -<details><summary><strong>完整的 yaml 详情</strong></summary> |
| 67 | +<details><summary><strong>完整 YAML 详情</strong></summary> |
38 | 68 | ```yaml |
39 | 69 | OSMLanduse: |
40 | 70 | description: An area of land use from OpenStreetMap tagged with landuse=*. Describes the primary human purpose or use of an area of land |
@@ -481,9 +511,10 @@ OSMLanduse: |
481 | 511 | <!-- 70-MiddleNotes --> |
482 | 512 | <!-- /70-MiddleNotes --> |
483 | 513 | <!-- 80-Examples --> |
484 | | -## 示例负载 |
| 514 | +
|
| 515 | +## 示例有效负载 |
485 | 516 | #### OSMLanduse NGSI-v2 键值示例 |
486 | | -以下是 OSMLanduse 的 JSON 格式键值示例。当使用 `options=keyValues` 时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
| 517 | +以下是以 JSON 格式表示的 OSMLanduse 键值示例。当使用 `options=keyValues` 时,此格式与 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
487 | 518 | <details><summary><strong>显示/隐藏示例</strong></summary> |
488 | 519 | ```json |
489 | 520 | { |
@@ -528,8 +559,9 @@ OSMLanduse: |
528 | 559 | } |
529 | 560 | ``` |
530 | 561 | </details> |
| 562 | + |
531 | 563 | #### OSMLanduse NGSI-v2 规范化示例 |
532 | | -以下是 OSMLanduse 的 JSON 格式规范化示例。当不使用选项时,它与 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
| 564 | +以下是以 JSON 格式表示的 OSMLanduse 规范化示例。当不使用选项时,此格式与 NGSI-v2 兼容,并返回单个实体的上下文数据。 |
533 | 565 | <details><summary><strong>显示/隐藏示例</strong></summary> |
534 | 566 | ```json |
535 | 567 | { |
@@ -598,8 +630,9 @@ OSMLanduse: |
598 | 630 | } |
599 | 631 | ``` |
600 | 632 | </details> |
| 633 | + |
601 | 634 | #### OSMLanduse NGSI-LD 键值示例 |
602 | | -以下是 OSMLanduse 的 JSON-LD 格式键值示例。当使用 `options=keyValues` 时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
| 635 | +以下是以 JSON-LD 格式表示的 OSMLanduse 键值示例。当使用 `options=keyValues` 时,此格式与 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
603 | 636 | <details><summary><strong>显示/隐藏示例</strong></summary> |
604 | 637 | ```json |
605 | 638 | { |
@@ -647,8 +680,9 @@ OSMLanduse: |
647 | 680 | } |
648 | 681 | ``` |
649 | 682 | </details> |
| 683 | + |
650 | 684 | #### OSMLanduse NGSI-LD 规范化示例 |
651 | | -以下是 OSMLanduse 的 JSON-LD 格式规范化示例。当不使用选项时,它与 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
| 685 | +以下是以 JSON-LD 格式表示的 OSMLanduse 规范化示例。当不使用选项时,此格式与 NGSI-LD 兼容,并返回单个实体的上下文数据。 |
652 | 686 | <details><summary><strong>显示/隐藏示例</strong></summary> |
653 | 687 | ```json |
654 | 688 | { |
@@ -722,12 +756,14 @@ OSMLanduse: |
722 | 756 | ] |
723 | 757 | } |
724 | 758 | ``` |
725 | | -</details><!-- /80-Examples --> |
| 759 | +</details> |
| 760 | +<!-- /80-Examples --> |
726 | 761 | <!-- 90-FooterNotes --> |
727 | 762 | <!-- /90-FooterNotes --> |
728 | 763 | <!-- 95-Units --> |
729 | | -有关如何处理数量单位的答案,请参阅 [FAQ 10](https://smartdatamodels.org/index.php/faqs/) |
| 764 | +请参阅 [FAQ 10](https://smartdatamodels.org/index.php/faqs/) 了解如何处理数量单位的说明 |
730 | 765 | <!-- /95-Units --> |
731 | 766 | <!-- 97-LastFooter --> |
| 767 | + |
732 | 768 | --- |
733 | 769 | [Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter --> |
|
0 commit comments