This talk explains the easy and effective way to develop REST API within a couple of minutes using GeoDjango and Django Rest Framework.
These APIs will use filtering such as Distance and Radius or BBOX, etc. to query and return the result in GeoJSON format.
GeoDjango is an amazing plugin built on top of a super fast and stable Python framework Django.
In this talk, we’ll walk through the packages such as
- Django Rest Framework
- Django Rest Framework GIS
- Django Filters
In order to understand how to create a standard API which will take several parameters or body as an input to
GET, PUT, POST, DELETE spatial data.
We’ll be developing spatial queries on top of normal text-based queries and we’ll get the data in GeoJSON format which can be utilized directly by mapping JS libraries such as OpenLayers, Leaflet.js, etc.