PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ nullDBFValue()

static char * nullDBFValue ( char  fieldType)
static

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

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

Referenced by ShpLoaderGenerateShapeRow().

Here is the caller graph for this function: