conferences | speakers | series

How I discovered, tested and fixed a bug in GeoDjango

home

How I discovered, tested and fixed a bug in GeoDjango
FOSS4G 2023

Here comes a developer story about **contributing to GeoDjango**. An unfortunate combination of a valid, but unconventional spatial reference on the one hand, and "smart" logic for a mixed-geometry dataset: Geometries supposed to be located in Austria ended up in the Near East. Investigation showed that GeoDjango's behaviour for returning the SRID of the dataset was not according to its documentation (see [Django ticket #34302](https://code.djangoproject.com/ticket/34302)). While fixing the issue, additionally, an incorrect type cast from `None` to string was discovered. In this talk **you will also learn**: 1. How to set up the GeoDjango test suite with a PostGIS docker container 2. How the Django code review process looks like

None

Speakers: Stefan Brand