python3-djangorestframework-gis

Geographic add-ons for Django REST Framework (Python3 version)
  https://github.com/djangonauts/django-rest-framework-gis
  0
  no reviews



Djangorestframework-gis extends the Django REST Framework to also handle geographic data as used by GeoDjango during serialization and deserialization. It provides the following features:

* GeometryField: This field handles GeoDjango geometry fields, providing custom to_native and from_native methods for GeoJSON input/output. * GeoModelSerializer: This serializer updates the field_mapping dictionary to include field mapping of GeoDjango geometry fields to the above GeometryField. * GeoFeatureModelSerializer: GeoFeatureModelSerializer is a subclass of GeoModelSerializer which will output data in a format that is GeoJSON compatible. * InBBOXFilter: Filters a queryset to only those instances within a certain bounding box.

This package contains the Python 3 version of the library.