Opened 10 years ago
Closed 10 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 , 10 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 10 years ago
| Has patch: | set |
|---|
comment:3 by , 10 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|---|
| Type: | Uncategorized → Cleanup/optimization |
| Version: | 1.9 → master |
Note:
See TracTickets
for help on using tickets.
PR -- https://github.com/django/django/pull/5825