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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file django-gisserver-0.1.tar.gz.

File metadata

  • Download URL: django-gisserver-0.1.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.10.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.17

File hashes

Hashes for django-gisserver-0.1.tar.gz
Algorithm Hash digest
SHA256 1f89139f28cbe2aac80444d8830425c968538a8cd4d50e22c1cc7813fe6551c6
MD5 fd81c3544812268b348d5374fb30cd44
BLAKE2b-256 72f375e519bb66523e51f5f059332dd8e9186f2d0b7163484f22869671c301cc

See more details on using hashes here.

File details

Details for the file django_gisserver-0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: django_gisserver-0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.10.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.17

File hashes

Hashes for django_gisserver-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c996b04e9d48ca0e185f170327552e3f669ebaa012656ff3def7a548927e930b
MD5 3f9557e5c6a6292db9d33f1c46bca03c
BLAKE2b-256 f54044f7858190cd9ea77d86e9522d28146aca9a0a67e0c647d2c33cfbb2978f

See more details on using hashes here.

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