mapscript.DBFInfo

class mapscript.DBFInfo

An object containing information about a DBF file

Attributes

nFields

int immutable Number of fields in the DBF

nRecords

int immutable Number of records in the DBF

thisown

The membership flag

Methods

__init__()[fuente]
getFieldDecimals(iField: int) int[fuente]

Get the field decimals of a DBF using the field index iField

getFieldName(iField: int) char[fuente]

Get the field name of a DBF using the field index iField

getFieldType(iField: int) int[fuente]

Get the field type of a DBF using the field index iField. Field types are one of FTString, FTInteger, FTDouble, FTInvalid

getFieldWidth(iField: int) int[fuente]

Get the field width of a DBF using the field index iField