简体   繁体   English

Ckan单一空间元数据文档收集器

[英]Ckan single spatial metadata document harvester

I'm trying to harvest from a single spatial metadata document(using doc.py harvester from the ckanext-spatial) into my Ckan site but the format and the structure of the document is not specified. 我正在尝试从单个空间元数据文档(使用来自ckanext-spatial的doc.py Harvester)收集到我的Ckan网站,但是未指定文档的格式和结构。 I used a xml format(as I noticed from the guess_standart() method in the base.py file) but I don't know what structure to implement in order to harvest successfully from it. 我使用了xml格式(正如我从base.py文件中的guess_standart()方法中注意到的那样),但是我不知道要从中成功获取要实现的结构。 Any ideas? 有任何想法吗?

ckanext-spatial supports primarily ISO-19139 standard (which is based on the more abstract ISO-19115 model), but also US's FGDC standard which is a variant of the ISO one. ckanext-spatial主要支持ISO-19139标准(该标准基于更为抽象的ISO-19115模型),还支持美国的FGDC标准,它是ISO标准的一种变体。

To get a copy of the ISO standard itself you need to pay for a copy. 要获得ISO标准本身的副本,您需要付费。 However there are plenty of open examples and documentation around, freely available. 但是,周围有许多开放的示例和文档可免费获得。 eg http://inspire.ec.europa.eu/documents/Metadata/MD_IR_and_ISO_20131029.pdf 例如http://inspire.ec.europa.eu/documents/Metadata/MD_IR_and_ISO_20131029.pdf

ckanext-spatial will convert the main ISO-19139 fields to CKAN fields. ckanext-spatial会将主要的ISO-19139字段转换为CKAN字段。 So if all you want is spatial metadata in CKAN then you could achieve this more easily by just typing this into the CKAN form, and use the 'extra' fields to store things that aren't on the form by default, such as the spatial extent. 因此,如果您只需要CKAN中的空间元数据,则只需将其键入CKAN表单,然后使用“额外”字段存储默认情况下不在表单上的内容(例如空间程度。 Harvesting is useful in two circumstances: 收割在两种情况下很有用:

  1. You have metadata elsewhere. 您在其他地方有元数据。 Harvesting is a convenient way to import it and keep it in sync over time. 收获是一种方便的导入方式,可使其随时间推移保持同步。

  2. You want to be able to serve up the original spatial metadata records. 您希望能够提供原始空间元数据记录。 (The metadata that is converted to CKAN's internal format tends to be lossy because the ISO standard is labyrinthine.) This tends to be what GIS experts want, and is a requirement of the European INSPIRE programme. (由于ISO标准是迷宫式的,因此,转换为CKAN内部格式的元数据往往会丢失。)这通常是GIS专家想要的,并且是欧洲INSPIRE计划的要求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM