PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ nullDBFValue()

static char * nullDBFValue ( char  fieldType)
static

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

639 {
640  switch (fieldType)
641  {
642  case FTInteger:
643  case FTDouble:
644  /* NULL numeric fields have value "****************" */
645  return "****************";
646 
647  case FTDate:
648  /* NULL date fields have value "00000000" */
649  return " ";
650 
651  case FTLogical:
652  /* NULL boolean fields have value "?" */
653  return "?";
654 
655  default:
656  /* empty string fields are considered NULL */
657  return "";
658  }
659 }
@ 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: