Ticket #2323 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

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

Reported by: rouault Assigned to: 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

04/12/08 09:48:31 changed by rouault

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

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