We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe.
I am working on a project where I need to map 3D points in space. To give you more details, I am using a PointField configured as follows:
PointField
class System(models.Model): """ """ name = models.CharField( max_length=100, unique=True, verbose_name=_('name') ) coordinate = models.PointField( dim=3, srid=4979, verbose_name=_('coordinate'), unique=True, )
When I make a request, the system seems to be able to deserialize the record correctly. Below is a sample of the code:
{ "count": 2, "next": null, "previous": null, "results": [ { "id": 334, "name": "Solati", "coordinate": { "type": "Point", "coordinates": [ 66.53125, 29.1875, 34.6875 ] }, } ]
However, when trying the DistanceToPointFilter, it does not seem to work properly.
Describe the solution you'd like It would be fantastic if django-rest-framework-gis also supported 3D points.
django-rest-framework-gis
Describe alternatives you've considered I am trying to create custom filters with django_filter.
django_filter
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem? Please describe.
I am working on a project where I need to map 3D points in space. To give you more details, I am using a
PointField
configured as follows:class System(models.Model): """ """ name = models.CharField( max_length=100, unique=True, verbose_name=_('name') ) coordinate = models.PointField( dim=3, srid=4979, verbose_name=_('coordinate'), unique=True, )
When I make a request, the system seems to be able to deserialize the record correctly. Below is a sample of the code:
{ "count": 2, "next": null, "previous": null, "results": [ { "id": 334, "name": "Solati", "coordinate": { "type": "Point", "coordinates": [ 66.53125, 29.1875, 34.6875 ] }, } ]
However, when trying the DistanceToPointFilter, it does not seem to work properly.
Describe the solution you'd like
It would be fantastic if
django-rest-framework-gis
also supported 3D points.Describe alternatives you've considered
I am trying to create custom filters with
django_filter
.The text was updated successfully, but these errors were encountered: