#26920: GEOSGeometry objects compare equal despite different SRID
-------------------------------------+-------------------------------------
     Reporter:  das-g                |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  new
    Component:  GIS                  |                  Version:  1.9
     Severity:  Normal               |               Resolution:
     Keywords:  geodjango, equality  |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by das-g):

 Like with #25342, the behaviour of the `==` operator reflects that of the
 
[https://github.com/libgeos/libgeos/blob/3d15551143c93f6916cb5f2f2a40cf9971975f89/include/geos/geom/Point.h#L128
 underlying `equalsExact` method] (implementation for `Point`
 
[https://github.com/libgeos/libgeos/blob/3d15551143c93f6916cb5f2f2a40cf9971975f89/src/geom/Point.cpp#L216
 here]; each geometry type seems to have its own implementation), but I'm
 not sure it ''should'' reflect that behaviour in this regard (ignoring the
 SRID), too.

--
Ticket URL: <https://code.djangoproject.com/ticket/26920#comment:2>
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/063.043557c3d45a48bd64db794b232d464d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to