FortranGIS
Version2.5
|
Interface to SUBROUTINEs for reading dbf attributes. More...
Interface to SUBROUTINEs for reading dbf attributes.
The type of the attribute can be either INTEGER, REAL(kind=c_double) (double) or CHARACTER. In case of CHARACTER attributes it is important that the length of the string passed is big enough to contain the attribute. The maximum length for each field can be obtained with the dbfgetfieldinfo function, but it is limited anyway to a maximum of 512 characters. The type of the attribute requested may not coincide with the native type of the field, if possible a conversion will be performed.
hshp | TYPE(shpfileobject),INTENT(inout) shapefile object to query |
ishape | INTEGER,INTENT(in) the number of shape to query |
ifield | INTEGER,INTENT(in) the number of field to query |
attr | INTEGER, CHARACTER or REAL(kind=c_double), INTENT(out) the value of the attribute |
Definition at line 138 of file shapelib.F90.