FortranGIS  Version2.5
character(len=1) function, public shapelib::dbfgetnativefieldtype ( type(shpfileobject), intent(inout)  hshp,
integer, intent(in)  ifield 
)

It returns the dbf type code of the requested field.

The return value is a single character and it can assume the following values:

  • 'C' (String)
  • 'D' (Date)
  • 'F' (Float)
  • 'N' (Numeric, with or without decimal)
  • 'L' (Logical)
  • 'M' (Memo: 10 digits .DBT block ptr)
  • ' ' (field out of range or other error)

This procedure is available only with shapelib version 1.2.10 or later.

Parameters
[in,out]hshpshapefile object to query
[in]ifieldnumber of field to query

Definition at line 914 of file shapelib.F90.