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

Last updated: December 25,2024

1. Install "python-djangorestframework-gis" package

This guide let you learn how to install python-djangorestframework-gis on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "python-djangorestframework-gis" package

Please follow the guidance below to uninstall python-djangorestframework-gis on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-djangorestframework-gis
Priority: optional
Section: universe/python
Installed-Size: 52
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Source: djangorestframework-gis
Version: 0.10.1-1
Depends: python-djangorestframework (>= 3.0.4), python-django-filters, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/d/djangorestframework-gis/python-djangorestframework-gis_0.10.1-1_all.deb
Size: 16062
MD5sum: 92e17971a3604c71ec60a1bf64bb6d88
SHA1: 4d896f8bcf5fc8b40ec0e4b72c3055614e50c34c
SHA256: 349a687bcdb5a5cc26d1ad1781869869132d6f7cc96e057d3bf7464e7f599546
Description-en: Geographic add-ons for Django REST Framework
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.
Description-md5: 8195a4d867ba6b4b870010a644569c83
Homepage: https://github.com/djangonauts/django-rest-framework-gis
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu