Webmapper is a Heavy-Duty Mapping Infrastructure

Any geographic datamodel that you can express in geodjango can also be expressed as webmapper map. The system is designed for ultimate flexibility, allowing you precise control over back-end state and client-side functionality.

Webmapper is geodjango and PostGIS.


1) Install webmapper code and dependencies

python install

add webmapper to your settings.INSTALLED_APPS

INSTALLED_APPS =+ ('webmapper')

You must have contrib.sites, and contrib.staticfiles in your installed apps as well.


Bootstrap your template with WEBMAPPER_MEDIA.

{% include 'webmapper/_webmapper_media.html' %}

Next, invoke the Map creation

<script type="text/javascript">
  window.wmap = new webmapper.Map({id:{{}},

The Map invocation is designed to happen in a django template. Here we pass in the webmapper.models.Map object

It is enough to pass in a model id and a base DOM element id.


  • Bind any geographic datamodel to a client-side map.
  • Authenticate users and define custom permissions. e.g: - Display certain maps only for users that are logged in - Map features (like points and polygons) can be tied to actions and users


Webmapper uses django-nose to run unittest. Follow the installation instructions and run ./ test webmapper


Check out as a working example of what a webmapper map can do!


If you are using postgresql 9.1 and django 1.3.* you must set standard_conforming_strings = off in your /etc/postgresql/9.1/main/postgresql.conf file