Opened 13 years ago
Closed 13 years ago
#4026 closed defect (invalid)
error with isEmpty() function for multy objects
Reported by: | Itanel | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | 1.8.0 |
Severity: | normal | Keywords: | OGR, empty |
Cc: |
Description
Virtual function "empty"(OGR int OGR_G_IsEmpty) not defined for multy objects (multypoint, multylinestring, multypolygon). version 1.8.0
Note:
See TracTickets
for help on using tickets.
yes... but OGRGeometryCollection::IsEmpty() is implemented. As OGRMultiPoint, OGRMultiLineString and OGRMultiPolygon derive from OGRGeometryCollection, that implementation should be sufficient to make IsEmpty() work for them.
Please reopen if you have a test case that shows that they have an inappropriate behaviour