Opened 9 years ago

Closed 9 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, 9 years ago

Owner: changed from nobody to Sergey Fedoseev
Status: newassigned

comment:2 by Sergey Fedoseev, 9 years ago

Has patch: set

comment:3 by Claude Paroz, 9 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization
Version: 1.9master

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

Resolution: fixed
Status: assignedclosed

In a6c803a:

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

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