FortranGIS  Version2.5
List of all members
dbfwriteattribute Interface Reference

Interface to FUNCTIONs for setting dbf attributes. More...

Detailed Description

Interface to FUNCTIONs for setting dbf attributes.

The type of the attribute can be either INTEGER, REAL(kind=c_double) (double) or CHARACTER. The type of the attribute provided may not coincide with the native type of the field, if possible a conversion will be performed. If the attr parameter is not provided the attribute will be set to a null value.

Parameters
hshpTYPE(shpfileobject),INTENT(inout) shapefile object to set
ishapeINTEGER,INTENT(in) the number of shape to set
ifieldINTEGER,INTENT(in) the number of field to set
attrINTEGER, CHARACTER or REAL(kind=c_double), INTENT(in) the value of the attribute to set

Definition at line 156 of file shapelib.F90.