PostGIS  3.1.6dev-r@@SVN_REVISION@@

◆ nullDBFValue()

static char * nullDBFValue ( char  fieldType)
static

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

622 {
623  switch (fieldType)
624  {
625  case FTInteger:
626  case FTDouble:
627  /* NULL numeric fields have value "****************" */
628  return "****************";
629 
630  case FTDate:
631  /* NULL date fields have value "00000000" */
632  return " ";
633 
634  case FTLogical:
635  /* NULL boolean fields have value "?" */
636  return "?";
637 
638  default:
639  /* empty string fields are considered NULL */
640  return "";
641  }
642 }
@ 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: