Opened 16 years ago

Closed 16 years ago

#2323 closed defect (fixed)

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

Reported by: Even Rouault Owned by: Even 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 (1)

comment:1 by Even Rouault, 16 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.