#25342: Altitude of Point object for equality check
----------------------------+---------------------------------
Reporter: bkowshik | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 1.7
Severity: Normal | Keywords: geodjango, equality
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+---------------------------------
Checking equality of two django.contrib.gis.geos.Point objects does not
take into consideration the altitude of the point.
{{{#!python
from django.contrib.gis.geos import Point
p1 = Point(x=1, y=1, z=1, srid=4326)
print p1 == p1 # True
p2 = Point(x=1.1, y=1, z=1, srid=4326)
print p1 == p2 # False
p3 = Point(x=1, y=1, z=2, srid=4326)
print p1 == p3 # True. Is this a bug?
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25342>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.c0141196b7d0c9a8dafa1c66af235d94%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.