How to Install and Uninstall python3-djangorestframework-gis Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 16,2024

1. Install "python3-djangorestframework-gis" package

This tutorial shows how to install python3-djangorestframework-gis on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "python3-djangorestframework-gis" package

In this section, we are going to explain the necessary steps to uninstall python3-djangorestframework-gis on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the python3-djangorestframework-gis package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python3-djangorestframework-gis
Priority: optional
Section: universe/python
Installed-Size: 46
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Source: djangorestframework-gis
Version: 0.10.1-1
Depends: python3-djangorestframework (>= 3.0.4), python3-django-filters, python3:any (>= 3.3.2-2~)
Filename: pool/universe/d/djangorestframework-gis/python3-djangorestframework-gis_0.10.1-1_all.deb
Size: 9986
MD5sum: 816dfddf2e9f7f94dbf9258cc0f71116
SHA1: 6708dd87002492519251fffe9a1f59cbf1afcd3d
SHA256: 9471c4d409cc6d923d809df55c004a64124a6f32de8cc842426d1a8a82b7e377
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
Homepage: https://github.com/djangonauts/django-rest-framework-gis
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu