Extension Mapsearch


Extension Basics

Title
Mapsearch
Name
ckanext-mapsearch
Type
Public extension
Description
A CKAN extension to add an scale-aware map-centred search
CKAN versions
Download-Url (zip)
Last commit
11 years ago (2014-11-07 11:53:36)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

CKAN Mapsearch extension

ABOUT

Mapsearch is a CKAN-extension to add a scale-aware, map-centered search to the CKAN spatial extension (ckanext-spatial).

Full screenshot

FEATURES

Its main distinguishing factor is the scale-awareness of the search-engine.

This scale-awareness lets you see how many results there are on 5 different scales for the same geographic area of interest, by using an extra area field during indexing. see this paragraph below.

screenshot scales

DEMO

see a working demo on bopen.eu.

INSTALLATION

ckanext-mapsearch is installed like any ckan extension. However, as it depends on ckanext-spatial to be installed, make sure mapsearch comes after ckanext-spatial in the plugin list (see below).

It also requires solr >= 3.1, as per http://docs.ckan.org/projects/ckanext-spatial/en/latest/spatial-search.html#choosing-a-backend-for-the-spatial-search.

1. install the extension with pip

pip install -e  git+https://github.com/bopen/ckanext-mapsearch.git#egg=ckanext-mapsearch

2. add the extension as a plugin

add the plugin to the plugins-line in your configuration .ini file.

NB. It must be included with, but after spatial_query

ckan.plugins = stats text_preview resource_proxy recline_preview spatial_metadata spatial_query harvest csw_harvester ckan_harvester mapsearch

3. configure the extension

  • set the initial mapextent

    add a line to your ini-file specifying the initial map extent ([bottom-left, upper-right]). To show Europe

Version
Version release date
(not set)
Contact name
B-Open
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
stats text_preview resource_proxy recline_preview spatial_metadata spatial_query harvest csw_harvester ckan_harvester mapsearch
CKAN Settings (ckan.ini)
# ckanext.mapsearch.initial_map_extent = [[30.4806, -12.9449], [72.9295, 40.7210]]
# ckanext.spatial.search_backend = solr-spatial-field
DB migration to be executed
(not set)
<< back to Extensions