#25728: description of `GEOSGeometry.contains` is incorrect
-------------------------------+--------------------
Reporter: sir-sigurd | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Documentation says that `GEOSGeometry.contains`
{{{
Returns True if GEOSGeometry.within() is False.
}}}
this is incorrect:
{{{
In [23]: pol1 = GEOSGeometry('POLYGON((0 0, 0 4, 4 4, 4 0, 0 0))')
In [24]: pol2 = GEOSGeometry('POLYGON((6 6, 6 9, 9 9, 9 6, 6 6))')
In [25]: pol1.within(pol2)
Out[25]: False
In [26]: pol1.contains(pol2)
Out[26]: False
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25728>
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/053.5ffd5a8e6031c4f6fd1ac9a48c705367%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.