django-rest-framework-gis
django-rest-framework-gis copied to clipboard
Geographic add-ons for Django REST Framework. Maintained by the OpenWISP Project.
When GeoJsonPagination is used, the filter button disappear from the API view. The filter button will appear if I use other pagination class. Here is my current environment configuration `...
The `DistanceToPointOrderingFilter` inherits from the `DistanceToPointFilter` but only supports the `point` param and no `dist` param. This adds support for the `dist` param (such that a user can query for...
fixes https://github.com/openwisp/django-rest-framework-gis/issues/247
This will enable automatic releases for each GitHub release that is created and will allow all djangonauts to relesae. It will require every contributor to write a release note. The...
My setup it is something along the lines of this: ``` class Location(models.Model): point = models.PointField(geography=True) class LocationFilterSet(filters.FilterSet): within = GeometryFilter( field_name="point", srid=4326, method="filter_within" ) class Meta: model = Location...
I have a model with a geom (srid=3035) and I want to serialize it as geom (srid=4326). Did not found a solution to do this with django-restframework-gis? My approach was:...
This [piece of code](../pull/223/files#diff-8db95153efd75f5f8d99070efb42eea2d358963b8d6c756c0e9aeb36c1e11066R98-R100) will cause the schema generation to fail if the GeometryField is not in the model, e.g. it is an annotation or a custom property. I don't...
I implemented KML Export functionality for a project using django-rest-framework-gis. I'm opening this issue to check if you want me to create a pull request so the package will have...
The HTML form in the browsable API does not prepopulate the fields with the model data. The RAW form works, but the HTML form doesn't.
In my model I have a linestring field with EPSG:3857: `geom = LineStringField(srid=3857)`. Using `djangorestframework-gis==0.14` I get output coordinate values like this: ``` {"type": "LineString", "coordinates": [[4162390.815448472, 7521835.900630971], [4161637.5299245478, 7521415.799088784],...