Creating GIS Rest APIS using Geodjango under 30 minutes
07-04, 17:45–17:50 (Europe/Tallinn), LAStools (327)

We're living in the world of APIs. CRUD operations are base of lot of operations. Many smart frameworks such as Django, Flask, Laravel provides out of the box solutions to filter the data, which covers almost all needs to separate data based on column values.
When it comes to Geospatial data, we expect to filter data based on their location property instead of metadata. This is where things get complicated, if you are using framework that doesn't have package, library built to handle such use cases, you are likely to be dependent on either database or any external package to handle it.

Fortunately Geodjango[https://docs.djangoproject.com/en/4.0/ref/contrib/gis/] (Django's extension) allows us to create databases which understands geometry and can process it[https://docs.djangoproject.com/en/4.0/ref/contrib/gis/geoquerysets/#gis-queryset-api-reference]. It also provides support to write APIs using Rest Framework extension [https://pypi.org/project/djangorestframework-gis/] which takes this to next level allowing user to output the data in various formats, creating paginations inside geojson, create TMSTileFilters, etc.

In this talk we'll scratch the surface of this python package and see how to build basic CRUD APIs to push, pull GIS data along with filtering it to the PostgreSQL database

See also: slides (3.3 MB)

Hi! I'm Krishna Lodha, founder of http://rottengrapes.tech/ . We are India's one of the leading Open source GIS Companies. We're helping governments and private clients to utilise various open source products such as Geoserver, geonetwork, PostGIS, GeoNode, Tile Creation, etc.

This speaker also appears in: