Ticket #4026 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by rouault

  • status changed from new to closed
  • resolution set to invalid

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.