# openwisp/django-rest-framework-gis

Geographic add-ons for Django REST Framework. Maintained by the OpenWISP Project.

Repository: https://github.com/openwisp/django-rest-framework-gis
Canonical: https://ross.abutalabs.com/products/django-rest-framework-gis
Homepage: http://openwisp.org
Language: Python
License: MIT
License Family: permissive
Topics: django, django-rest-framework, gis, python, geojson, hacktoberfest
Last push: 2026-09-02T12:33:40+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 68, longevity 100
- inputs: {"age_days": 4959, "days_push": 0, "days_rel": 1, "gap_med": 227.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1127, forks 222 (observed 2026-09-03T02:15:15.867640+00:00)

## What it is
A Python library providing geographic add-ons (GeoJSON serializers, geometry fields, spatial filters) for Django REST Framework. It is maintained by the OpenWISP project and distributed on PyPI as djangorestframework-gis.

## Use cases
- serve geo from a django rest framework api
- add geometry fields to drf serializers
- filter api results by bounding box or distance
- build a rest api for map data with django
- serialize postgis geometries in django
- expose gis models through django rest framework

## When to choose
- you use Django REST Framework and need GeoJSON output or spatial filtering
- your Django models contain geometry fields backed by PostGIS or SpatiaLite
- you want a well-maintained, MIT-licensed extension integrated with DRF

## When to avoid
- you don't use Django or Django REST Framework
- you need a standalone geospatial toolkit rather than API serialization add-ons
- your DRF/Django/Python versions fall outside the compatibility matrix

## Facets
- artifact type: library
- maturity: active
- function: serialization, api-framework, geospatial
- domain: web-development, backend, apis
- platform: python
- tags: django, django-rest-framework, geo, gis, rest-api, openwisp, maps, web-server

## Member repositories
- openwisp/django-rest-framework-gis (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:15.867640+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:38:51.654134+00:00, confidence not recorded.
  - readme: https://github.com/openwisp/django-rest-framework-gis (fetched 2026-09-03T02:15:15.867640+00:00, sha 1d401be42e43)
  - homepage: http://openwisp.org (fetched 2026-08-29T12:43:36.754085+00:00, sha 0f97a3d84369)
  - site_page: https://openwisp.org/features (fetched 2026-08-29T12:43:36.763578+00:00, sha d9f207dc5bbd)
  - site_page: https://openwisp.org/faq (fetched 2026-08-29T12:43:36.765714+00:00, sha 492d60a9396d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
