Opened 7 years ago

Closed 7 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 Changed 7 years ago by Sergey Fedoseev

Owner: changed from nobody to Sergey Fedoseev
Status: newassigned

comment:2 Changed 7 years ago by Sergey Fedoseev

Has patch: set

comment:3 Changed 7 years ago by Claude Paroz

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

comment:4 Changed 7 years ago by Tim Graham <timograham@…>

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