Extension Map


Extension Basics

Title
Map
Name
ckanext-map
Type
Public extension
Description
Map visualisation for NHM CKAN
CKAN versions
Download-Url (zip)
Last commit
6 years ago (2019-11-26 12:06:09)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

ckanext-map

This extension is no longer maintained.

Travis branch Coveralls github branch

A Ckan plugin to create a map view that uses server-generated tiles, allowing for maps visualization of large datasets with millions of data points. The tile server to go with this extension is available at https://github.com/NaturalHistoryMuseum/nhm-windshaft-app

Note that this plugin requires the ckanext-dataspatial plugin, to create the geospatial columns in your dataset and provide functionality such as spatial query extent.

setup

Postgis

Your postgresql database must have postgis support. On Ubuntu 12.04 LTS, assuming a default postgres 9.1 install you can setup your database by doing:

  sudo apt-get install -y postgresql-9.1-postgis
  sudo -u postgres psql -d ${DATASTORE_DB_NAME} -f /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql
  sudo -u postgres psql -d ${DATASTORE_DB_NAME} -c "ALTER TABLE geometry_columns OWNER TO $DB_USER"
  sudo -u postgres psql -d ${DATASTORE_DB_NAME} -c "ALTER TABLE spatial_ref_sys OWNER TO $DB_USER"
  sudo -u postgres psql -d ${DATASTORE_DB_NAME} -f /usr/share/postgresql/9.1/contrib/postgis-1.5/spatial_ref_sys.sql

Where DATASTORE_DB_NAME is the name of your postgres database that holds the datastore name, and DB_USER is your database user.

Tile server

You then need to setup a tile server. You can download the server at <a href=”https://github.com/NaturalHistoryMuseum/nhm-w

Version
0.0.2
Version release date
2018-01-10
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

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