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

◆ nullDBFValue()

static char * nullDBFValue ( char  fieldType)
static

Definition at line 642 of file pgsql2shp-core.c.

643{
644 switch (fieldType)
645 {
646 case FTInteger:
647 case FTDouble:
648 /* NULL numeric fields have value "****************" */
649 return "****************";
650
651 case FTDate:
652 /* NULL date fields have value "00000000" */
653 return " ";
654
655 case FTLogical:
656 /* NULL boolean fields have value "?" */
657 return "?";
658
659 default:
660 /* empty string fields are considered NULL */
661 return "";
662 }
663}
@ FTDouble
Definition shapefil.h:641
@ FTLogical
Definition shapefil.h:642
@ FTDate
Definition shapefil.h:643
@ FTInteger
Definition shapefil.h:640

References FTDate, FTDouble, FTInteger, and FTLogical.

Referenced by ShpLoaderGenerateShapeRow().

Here is the caller graph for this function: