Extension CKAN Extension OGC Preview


Extension Basics

Title
CKAN Extension OGC Preview
Name
ckanext-ogcpreview-bku03232018
Type
Public extension
Description
OGC (Open Geospatial Consortium) services preview extension for CKAN providing WMS and WFS layer visualization
CKAN versions
Download-Url (zip)
Last commit
10 years ago (2015-03-24 00:00:00)
Url to repo
Category
Content Management


Background Infos

Description (long)
Show details

ckanext-ogcpreview

OGC (Open Geospatial Consortium) services preview extension for CKAN, developed for the National Geothermal Data System (NGDS).

Overview

This extension provides preview capabilities for OGC services including WMS (Web Map Service) and WFS (Web Feature Service) layers. Originally extracted from ckanext-geoserver.

Features

  • WMS layer preview on map
  • WFS feature preview
  • Geoserver integration
  • Secure access via proxy
  • Layer information extraction from GetCapabilities
  • Support for multiple OGC service versions

Requirements

  • CKAN 2.x
  • Geoserver
  • OWSLib

Installation

Install the extension:

pip install -r requirements.txt
python setup.py develop

Add ogcpreview to your CKAN config plugins.

Configuration

Configure the ckan_web_map_service_url in tests_config.cfg for WMS server.

Run Tests

Step 1

Configure test files: - ckanext-ogcpreview/test.ini: overrides ckan environment.ini variables - ckanext-ogcpreview/ckanext/ogcpreview/tests/tests_config.cfg: configure ckan_web_map_service_url

Step 2

Run tests:

cd ckanext-ogcpreview/ckanext/ogcpreview
nosetests --ckan --with-pylons=../../test.ini tests/

Note

This repository was archived on April 15, 2021 and is now read-only.

Version
Version release date
(not set)
Contact name
NGDS
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
ogcpreview
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions