Extension Geoview


Extension Basics

Title
Geoview
Name
ckanext-geoview
Type
Public extension
Description
Geospatial viewer extension for CKAN containing multiple view plugins (OpenLayers, Leaflet GeoJSON, WMTS, Shapefile) to display geospatial files and services. Supports WMS, WFS, GeoJSON, GML, KML, ArcGIS REST, Google Fusion Tables, WMTS, and ESRI Shapefiles with comprehensive basemap support and configurable viewing options.
CKAN versions
Download-Url (zip)
Download-Url commit date
2024-11-25
Url to repo
Category
Content Management


Background Infos

Description (long)
Show details

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

  1. Install the extension: pip install ckanext-geoview

  2. Add the desired plugins to ckan.plugins in your config file

  3. Add resource_proxy plugin to ckan.plugins
  4. Configure basemaps and viewer-specific options as needed
  5. Restart CKAN

Configuration Options

Extensive configuration available for basemaps, format support, file size limits, projections, and viewer behavior.

Version
0.2.2
Version release date
2024-09-27
Contact name
CKAN Development Team
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Add resource_proxy plugin to ckan.plugins. Configure format support, basemaps, and viewer-specific options. Each plugin can be enabled independently with specific configuration requirements.

Plugins to configure (ckan.ini)
geo_view geojson_view wmts_view shp_view
CKAN Settings (ckan.ini)
# OpenLayers Viewer Configuration # ckanext.geoview.ol_viewer.formats = wms wfs geojson gml kml arcgis_rest gft # ckanext.geoview.gapi_key = <Google API Key for Fusion Tables> # ckanext.geoview.ol_viewer.hide_overlays = false # ckanext.geoview.ol_viewer.default_feature_hoveron = false # ckanext.geoview.ol_viewer.forward_ogc_request_params = false # GeoJSON Viewer Configuration # ckanext.geoview.geojson.max_file_size = 26214400 # 25MB default # Shapefile Viewer Configuration # ckanext.geoview.shp_viewer.srid = 4326 # ckanext.geoview.shp_viewer.encoding = UTF-8 # WMTS Viewer Configuration (uses default settings) # Basemap Configuration # ckanext.spatial.common_map.type = stamen # ckanext.geoview.basemaps = %(here)s/basemaps.json # Common spatial map settings # ckanext.spatial.common_map.custom.url = http://tile.openstreetmap.org/{z}/{x}/{y}.png # ckanext.spatial.common_map.attribution = Map tiles by OpenStreetMap
DB migration to be executed
(not set)
<< back to Extensions