{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/4"}],"enrichment":{"capability":"Adds geographic and GeoJSON support to Django REST Framework, providing serialization fields and utilities for handling GeoDjango geometry objects in REST APIs.","skillfed_tags":["geospatial","django-rest-framework","geojson"],"use_cases":["Build a location-based REST API that returns points, polygons, or linestrings as GeoJSON for mapping frontends","Serialize GeoDjango models with geometry fields without manual field mapping or custom serializer logic","Reduce API response size by rounding coordinate precision or removing duplicate points from geometries","Transform geometries to a standard projection for GeoJSON compliance in REST responses","Create computed geometry fields in serializers using GeometrySerializerMethodField for derived spatial data"],"what_it_does":"djangorestframework-gis extends Django REST Framework with geographic data handling, automatically mapping GeoDjango geometry fields to a custom GeometryField that serializes to and from GeoJSON. It provides a GeometryField with optional coordinate precision rounding, duplicate coordinate removal, bounding-box generation, and coordinate transformation support, plus a GeometrySerializerMethodField for computed geometry values. The package integrates transparently into DRF's serializer system once added to INSTALLED_APPS, eliminating the need for explicit field declarations in most cases.\n\nThe package is built on top of django, djangorestframework, and django-filter, and is designed for REST APIs that expose spatial data\u2014locations, boundaries, routes, or any geometry stored in a GeoDjango model. It handles the conversion between database geometry representations and the GeoJSON standard expected by web clients and mapping libraries.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive BSD license. It directly solves the problem of serializing GeoDjango geometries in REST APIs and is the standard tool for this task in the Django ecosystem. Install it if you need to expose spatial data via REST."},"id":"djangorestframework-gis","links":{"html":"https://skillfed.io/packages/djangorestframework-gis","md":"https://skillfed.io/packages/djangorestframework-gis.md","pypi":"https://pypi.org/project/djangorestframework-gis/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-04","license_spdx":null,"license_treatment":"permissive","name":"djangorestframework-gis","python_support":"unspecified","summary":"Geographic add-ons for Django Rest Framework"},"popularity":{"monthly_downloads":451961,"position":6584,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.1"}
