#28433: comparing GEOSGeometry with non-canonical WKT string return False -------------------------------------------+------------------------ Reporter: Sergey Fedoseev | Owner: nobody Type: Bug | Status: new Component: GIS | Version: 1.11 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------------+------------------------ {{{ In [2]: from django.contrib.gis.geos import GEOSGeometry
In [3]: GEOSGeometry('POINT (0 0)') == 'POINT (0 0)' Out[3]: True In [4]: GEOSGeometry('POINT (0 0)') == GEOSGeometry('POINT (0.0 0.0)') Out[4]: True In [5]: GEOSGeometry('POINT (0 0)') == 'POINT (0.0 0.0)' Out[5]: False }}} -- Ticket URL: <https://code.djangoproject.com/ticket/28433> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/053.20ca9f9ae8aad13a4ed79eea9f6c932a%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.