ckanext-map
This extension is no longer maintained.

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