Skip to content

cioos-siooc/ckanext-spatial

 
 

Repository files navigation

ckanext-spatial - Geo related plugins for CKAN

https://github.com/ckan/ckanext-spatial/workflows/Tests/badge.svg?branch=master

This extension contains plugins that add geospatial capabilities to CKAN, including:

  • A spatial field on the default CKAN dataset schema, that uses PostGIS as the backend and allows to perform spatial queries and to display the dataset extent on the frontend.
  • Harvesters to import geospatial metadata into CKAN from other sources in ISO 19139 format and others.
  • Commands to support the CSW standard using pycsw.

Note: The view plugins for rendering spatial formats like GeoJSON have been moved to ckanext-geoview.

Full documentation, including installation instructions, can be found at:

https://docs.ckan.org/projects/ckanext-spatial/en/latest/

CIOOS-SIOOC Changes

[0f25a0b](https://github.com/cioos-siooc/ckanext-spatial/commit/0f25a0bdb591b413f89d4e716118fd8269aede1b), [20236c8](https://github.com/cioos-siooc/ckanext-spatial/commit/20236c85bff69a2ab03a7e9b6aea28478fee840e) * Add remote_orgs support to spatial base. Harvesting of remote organizations

works similarly to the ckan harvester base but matches on organization name. Name is pulled from metadata in responsible party or metadata contact fields. Also added is an organization_mapping field that works similarly to group_mapping. Temote organization names that match the dictionary key are mapped to local org names. The local names are used as organization titles and regex replaced to conform to ckan org names internally. To use add ` "remote_orgs": "create" "organization_mapping":{"REMOTE ORG NAME": "Local Org Name"} ` to the harvester config. [5d0fbd0](https://github.com/cioos-siooc/ckanext-spatial/commit/5d0fbd0e33f7ee72d5576ba97781465971c5c839)

Community

Contributing

For contributing to ckanext-spatial or its documentation, follow the same guidelines that apply to CKAN core, described in CONTRIBUTING.

Copying and License

This material is copyright (c) 2011-2021 Open Knowledge Foundation and contributors.

It is open and licensed under the GNU Affero General Public License (AGPL) v3.0 whose full text may be found at:

http://www.fsf.org/licensing/licenses/agpl-3.0.html

Releases

No releases published

Packages

No packages published

Languages

  • XSLT 59.9%
  • Python 35.2%
  • HTML 2.5%
  • JavaScript 2.1%
  • CSS 0.3%