Skip to content

davidread/ckanext-geoview

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ckanext-geoview - Geospatial Resource Viewer for CKAN

This extension contains geospatial viewing plugins, namely

  • a ResourceView implementation, compatible with CKAN 2.3+
  • a ResourcePreview implementation for older versions of CKAN

Both implementations rely on OpenLayers 2, and provide support for geospatial formats and protocols such as

  • Mime types: GeoJSON, KML, GML, ESRI JSON, ShapeFile
  • Web Services: WMS, WFS, Google Fusion Tables, ESRI ArcRest

Installation

Inside your pyenv, install using pip:

` pip install -e git+git://github.com/pduchesne/ckanext-geoview.git#egg=ckanext-geoview `

Then add the `geoview` (for CKAN 2.3+) or the `geopreview` plugin (for older versions) into the `ckan.plugins` section of your .ini file.

For CKAN versions 2.2 and older, ensure you have the Resource Proxy enabled. This is done by adding resource_proxy to the ckan.plugins section of your .ini file and adding this config option: ` ckan.resource_proxy_enabled = True `

To be able to view Google Fusion Tables resources, a Google API Key must be configured in the .ini file :

` ckanext.geoview.gapi.key=<API Key here> `

This key must be granted Fusion Tables permissions. More information on obtaining such a key at https://developers.google.com/fusiontables/docs/v1/using#APIKey .

Usage

The `geoview` plugin is available and will register itself automatically on any new resource that has one of the following formats : 'kml','geojson','gml','wms','wfs','shp', 'esrigeojson', 'gft', 'arcgis_rest'

The `geopreview` plugin recognizes the same formats, and will be chosen if possible, according to the priority order defined in the .ini file.

About

CKAN Geospatial ResourceView

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 47.5%
  • Python 42.4%
  • CSS 10.1%