How to Install and Uninstall python3-djangorestframework-gis Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "python3-djangorestframework-gis" package

Please follow the steps below to install python3-djangorestframework-gis on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-djangorestframework-gis

2. Uninstall "python3-djangorestframework-gis" package

Learn how to uninstall python3-djangorestframework-gis on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-djangorestframework-gis $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-djangorestframework-gis package on Ubuntu 21.10 (Impish Indri)

Package: python3-djangorestframework-gis
Architecture: all
Version: 0.16-1
Priority: optional
Section: universe/python
Source: djangorestframework-gis
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 90
Depends: python3-django-filters, python3-djangorestframework (>= 3.0.4), python3:any
Filename: pool/universe/d/djangorestframework-gis/python3-djangorestframework-gis_0.16-1_all.deb
Size: 25168
MD5sum: 6e254913000faea7cee439b24e6ed1b9
SHA1: 14864e972a8e19355c4e83eca4742ea0ff5eb360
SHA256: 2431e8061c3e2592166e1c2c71ac3e9f88f3ad6f58751ad47abd89e871523e70
SHA512: 9a71ca5abeafb8aa2d0db2f9a8fd539314fb59a6df34fc256617067531848547a31655dc24981b18b7e41052c29f15e4356a87e79109344b250913ef8a90b460
Homepage: https://github.com/djangonauts/django-rest-framework-gis
Description-en: Geographic add-ons for Django REST Framework (Python3 version)
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.
Description-md5: 5e1486374e886290951662e5349f3f17