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

Change History (1)

comment:1 by Even Rouault, 13 years ago

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.