PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ DBFAddField()

int SHPAPI_CALL DBFAddField ( DBFHandle  psDBF,
const char *  pszFieldName,
DBFFieldType  eType,
int  nWidth,
int  nDecimals 
)

Definition at line 797 of file dbfopen.c.

800{
801 char chNativeType = 'C';
802
803 if( eType == FTLogical )
804 chNativeType = 'L';
805 else if( eType == FTDate )
806 chNativeType = 'D';
807 else if( eType == FTString )
808 chNativeType = 'C';
809 else
810 chNativeType = 'N';
811
812 return DBFAddNativeFieldType( psDBF, pszFieldName, chNativeType,
813 nWidth, nDecimals );
814}
int SHPAPI_CALL DBFAddNativeFieldType(DBFHandle psDBF, const char *pszFieldName, char chType, int nWidth, int nDecimals)
Definition dbfopen.c:844
@ FTString
Definition shapefil.h:639
@ FTLogical
Definition shapefil.h:642
@ FTDate
Definition shapefil.h:643

References DBFAddNativeFieldType(), FTDate, FTLogical, and FTString.

Referenced by ShpDumperOpenTable().

Here is the call graph for this function:
Here is the caller graph for this function: