[Django] #25932: predicates of OGRGeometry return int instead of bool

11 views
Skip to first unread message

Django

unread,
Dec 13, 2015, 1:22:16 PM12/13/15
to django-...@googlegroups.com
#25932: predicates of OGRGeometry return int instead of bool
-------------------------------+--------------------
Reporter: sir-sigurd | Owner: nobody
Type: Uncategorized | Status: new
Component: GIS | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
[https://docs.djangoproject.com/en/1.9/ref/contrib/gis/gdal/#django.contrib.gis.gdal.OGRGeometry.equals
Documentation] says:

equals(other)
Returns True if this geometry is equivalent to the other, otherwise
returns False.

{{{
In [2]: Point(0, 0).ogr.equals(Point(0, 0).ogr)
Out[2]: 1
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25932>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 13, 2015, 1:22:25 PM12/13/15
to django-...@googlegroups.com
#25932: predicates of OGRGeometry return int instead of bool
-------------------------------+--------------------------------------
Reporter: sir-sigurd | Owner: sir-sigurd
Type: Uncategorized | Status: assigned
Component: GIS | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by sir-sigurd):

* status: new => assigned
* needs_docs: => 0
* owner: nobody => sir-sigurd
* needs_tests: => 0
* needs_better_patch: => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/25932#comment:1>

Django

unread,
Dec 13, 2015, 11:35:18 PM12/13/15
to django-...@googlegroups.com
#25932: predicates of OGRGeometry return int instead of bool
-------------------------------+--------------------------------------
Reporter: sir-sigurd | Owner: sir-sigurd
Type: Uncategorized | Status: assigned
Component: GIS | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by sir-sigurd):

* has_patch: 0 => 1


Comment:

PR -- https://github.com/django/django/pull/5825

--
Ticket URL: <https://code.djangoproject.com/ticket/25932#comment:2>

Django

unread,
Dec 14, 2015, 1:53:32 AM12/14/15
to django-...@googlegroups.com
#25932: predicates of OGRGeometry return int instead of bool
-------------------------------------+-------------------------------------
Reporter: sir-sigurd | Owner: sir-
Type: | sigurd
Cleanup/optimization | Status: assigned
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by claudep):

* version: 1.9 => master
* type: Uncategorized => Cleanup/optimization
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/25932#comment:3>

Django

unread,
Dec 14, 2015, 11:31:04 AM12/14/15
to django-...@googlegroups.com
#25932: predicates of OGRGeometry return int instead of bool
-------------------------------------+-------------------------------------
Reporter: sir-sigurd | Owner: sir-
Type: | sigurd
Cleanup/optimization | Status: closed
Component: GIS | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"a6c803a2e3d270818d20f3f0c76e2241de9f0ab1" a6c803a]:
{{{
#!CommitTicketReference repository=""
revision="a6c803a2e3d270818d20f3f0c76e2241de9f0ab1"
Fixed #25932 -- Made predicates of OGRGeometry return bool instead of int.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25932#comment:4>

Reply all
Reply to author
Forward
0 new messages