Skip to main content

Django speaking WFS 2.0 (exposing GeoDjango model fields)

Project description

# django-gisserver

Django speaking WFS 2.0 to expose geo data.

## Features

  • WFS 2.0 simple implementation.

  • GML 3.2 output.

  • GeoJSON export support.

  • Extensible view/operations.

  • Uses GeoDjango queries for filtering.

  • Uses Django template engine for rendering XML (might become streaming lxml later).

## Standards compliance

Currently, the following 3 methods are implemented:

  • GetCapabilities

  • DescribeFeatureType

  • GetFeature with bbox and pagination support.

This is sufficient to show results in QGis. The unit tests validate the output against WFS XSD schema.

Some parts for conformance to the “WFS simple” level are not implemented yet:

  • GetPropertyValue

  • ListStoredQueries

  • DescribeStoredQueries

  • GetFeature operation with only the StoredQuery action.

  • Certain parameters: * Filtering: filter, filter_language, resourceID, propertyName * Resolving: resolve, resolveDepth, resolveTimeout * Output rewriting: namespaces, aliases * Some GetCapabilities features: acceptFormats and sections

Filtering is high on the TO-DO list.

### Low-prio items:

Anything outside WFS simple could be implemented, but is very low on the todo-list:

  • The methods for the WFS basic, transactional, locking and inheritance conformance classes.

  • HTTP POST requests.

  • SOAP requests.

Nor supported are:

  • Other protocols (WMS, WMTS, WCS)

  • Other output formats (shapefile, CSV, KML, GML 3.1) - but easy to add.

## Why this code is shared

The “datapunt” team of the Municipality of Amsterdam develops software for the municipality. Much of this software is then published as Open Source so that other municipalities, organizations and citizens can use the software as a basis and inspiration to develop similar software themselves. The Municipality of Amsterdam considers it important that software developed with public money is also publicly available.

This package is initially developed by the City of Amsterdam, but the tools and concepts created in this project can be used in any city.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-gisserver-0.1.tar.gz (30.4 kB view hashes)

Uploaded Source

Built Distribution

django_gisserver-0.1-py2.py3-none-any.whl (29.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page