CKAN Geoview Extension
This extension contains view plugins to display geospatial files and services in CKAN. It contains an OpenLayers based viewer originally developed by Philippe Duchesne and other view plugins that used to be part of ckanext-spatial.
Available Plugins
OpenLayers Viewer (geo_view)
Provides access to different geospatial formats and services including WMS, WFS, GeoJSON, GML, KML, ArcGIS REST API, and Google Fusion Tables.
Leaflet GeoJSON Viewer (geojson_view)
Renders GeoJSON files on a map and adds popups showing feature properties for resources with ‘geojson’ format.
Leaflet WMTS Viewer (wmts_view)
Renders WMTS (Web Map Tile Service) layers on a map for resources with ‘wmts’ format.
Leaflet ESRI Shapefile Viewer (shp_view)
Renders ESRI Shapefiles (ZIP archive containing .shp, .shx, .dbf, and .prj files) on a map with feature property popups for resources with ‘shp’ format.
Installation
Install the extension:
pip install ckanext-geoview
Add the desired plugins to ckan.plugins in your config file
- Add resource_proxy plugin to ckan.plugins
- Configure basemaps and viewer-specific options as needed
- Restart CKAN
Configuration Options
Extensive configuration available for basemaps, format support, file size limits, projections, and viewer behavior.