ckanext basemaps plugin

BaseMaps for CKAN

  • Installation_
  • Configuration_

Installation

This plugin dependencies ckanext-spatial Plugin.

The current version of ckanext-basemaps has been developed and tested again CKAN 2.1.x. We assume a running CKAN 2.1.x instance.

The installation has the following steps, assuming you have a running copy of CKAN:

  1. Install the extension from its source repository:

    (pyenv) $ pip install -e git+https://github.com/gsi-cyberjapan/ckanext-basemaps
    

Configuration

These are the configuration options used by the extension

  1. Map Names:

    ckanext.basemaps.laylers.names = 地理院地図(標準), 地理院地図(白地図),電子国土基本図(オルソ画像)
    
  2. Map URLs:

    ckanext.basemaps.laylers.urls = http://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png, http://cyberjapandata.gsi.go.jp/xyz/blank/{z}/{x}/{y}.png, http://cyberjapandata.gsi.go.jp/xyz/ort/{z}/{x}/{y}.jpg
    

Recent Activity