Ticket #2323 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

NULL are valid values for the hGeom parameter of OGR_F_SetGeometryDirectly and OGR_F_SetGeometry

Reported by: rouault Owned by: rouault
Priority: normal Milestone: 1.5.2
Component: OGR_SF Version: 1.5.0
Severity: normal Keywords:
Cc: warmerdam

Description

The doc of OGRFeature::SetGeometryDirectly? and OGRFeature::SetGeometry? says that poGeomIn == NULL is perfectly valid, so the check in the C API is wrong.

Change History

Changed 4 years ago by rouault

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

Fixed in trunk in r14269 and in branches/1.5 in r14270

Note: See TracTickets for help on using tickets.