django-munigeo

A Django app for processing municipality-related geospatial data.


Keywords
django, django-application, geospatial-data
License
BSD-3-Clause
Install
pip install django-munigeo==0.3.10

Documentation

Build status codecov Requirements

munigeo

munigeo is a reusable Django application for storing and accessing municipality-related geospatial data. It can manage following categories of data:

  • Municipalities as containers of everything below
  • Administrative divisions (with parent-child relationships and links to Municipalities)
  • Streets and address locations on those Streets
  • Buildings with 2D-geometries and addresses
  • PoIs (Points of Interest) with location and type

If you are using Django Rest Framework (DRF), munigeo also provides you with serializers for including these in your API.

For actually getting the data into your database application, munigeo provides importer framework. Currently we only have actual importers for City of Helsinki, but other are welcome.

Usage

Install this to your project with pip install django-munigeo, add munigeo to your INSTALLED_APPS setting.

Helsinki example

Before you can get Helsinki, you will need the data for Finland first:

python manage.py geo_import finland --municipalities

then

python manage.py geo_import helsinki --divisions