Opened 11 years ago

Closed 11 years ago

#25932 closed Cleanup/optimization (fixed)

predicates of OGRGeometry return int instead of bool

Reported by: Sergey Fedoseev Owned by: Sergey Fedoseev
Component: GIS Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

​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

Change History (4)

comment:1 by Sergey Fedoseev, 11 years ago

Owner: changed from nobody to Sergey Fedoseev
Status: new → assigned

comment:2 by Sergey Fedoseev, 11 years ago

Has patch: set

comment:3 by Claude Paroz, 11 years ago

Triage Stage: Unreviewed → Accepted
Type: Uncategorized → Cleanup/optimization
Version: 1.9 → master

comment:4 by Tim Graham <timograham@…>, 11 years ago

Resolution: → fixed
Status: assigned → closed

In a6c803a:

Fixed #25932 -- Made predicates of OGRGeometry return bool instead of int.

Note: See TracTickets for help on using tickets.
Back to Top