PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ nullDBFValue()

static char * nullDBFValue ( char  fieldType)
static

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

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