Skip to content

(WIP) Barebones CKAN extension for rendering map visualisation in TerriaJS

License

Notifications You must be signed in to change notification settings

salsa-nathan/ckanext-terriajs-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ckanext-terriajs-preview

This is a work in progress and should not be used in production

This extension requires an instance of TerriaJS to be running locally on http://localhost:3001

You can follow the instructions here to set that up:

https://docs.terria.io/guide/getting-started/

Installation

  1. Clone this repo into /usr/lib/ckan/default/src (or equivalent dir for extensions)

  2. Activate Python virtual environment:

     . /usr/lib/ckan/default/bin/activate
     
     cd /usr/lib/ckan/default/src/ckanext-terriajs-preview
    
  3. Run setup:

     python setup.py develop
    

Configuration

Add terriajs_preview to CKAN .ini file, e.g.

ckan.plugins = ... terriajs_preview

TODO

  • Make TerriaJS configurable (add CKAN .ini file setting)
  • Document creation of TerriaJS map preview in CKAN UI

About

(WIP) Barebones CKAN extension for rendering map visualisation in TerriaJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published