FortranGIS  Version2.5
integer function, public shapelib::shpwriteobject ( type(shpfileobject), intent(inout)  hshp,
integer  ishape,
type(shpobject psobject 
)

It writes a shape object to a file.

It returns the number of shape written, starting from 0, or -1 in case of failure.

Parameters
[in,out]hshpshapefile object where to write
ishapenumber of shape to write in the file, starting from 0, -1 to append to existing shapes
psobjectshape object to be written

Definition at line 654 of file shapelib.F90.