PostGIS  2.1.10dev-r@@SVN_REVISION@@
char* shapetypename ( int  num)

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

References SHPT_ARC, SHPT_ARCM, SHPT_ARCZ, SHPT_MULTIPATCH, SHPT_MULTIPOINT, SHPT_MULTIPOINTM, SHPT_MULTIPOINTZ, SHPT_NULL, SHPT_POINT, SHPT_POINTM, SHPT_POINTZ, SHPT_POLYGON, SHPT_POLYGONM, and SHPT_POLYGONZ.

Referenced by main(), and pgui_action_export().

586 {
587  switch (num)
588  {
589  case SHPT_NULL:
590  return "Null Shape";
591  case SHPT_POINT:
592  return "Point";
593  case SHPT_ARC:
594  return "PolyLine";
595  case SHPT_POLYGON:
596  return "Polygon";
597  case SHPT_MULTIPOINT:
598  return "MultiPoint";
599  case SHPT_POINTZ:
600  return "PointZ";
601  case SHPT_ARCZ:
602  return "PolyLineZ";
603  case SHPT_POLYGONZ:
604  return "PolygonZ";
605  case SHPT_MULTIPOINTZ:
606  return "MultiPointZ";
607  case SHPT_POINTM:
608  return "PointM";
609  case SHPT_ARCM:
610  return "PolyLineM";
611  case SHPT_POLYGONM:
612  return "PolygonM";
613  case SHPT_MULTIPOINTM:
614  return "MultiPointM";
615  case SHPT_MULTIPATCH:
616  return "MultiPatch";
617  default:
618  return "Unknown";
619  }
620 }
#define SHPT_MULTIPATCH
Definition: shapefil.h:320
#define SHPT_ARCM
Definition: shapefil.h:317
#define SHPT_POLYGONM
Definition: shapefil.h:318
#define SHPT_MULTIPOINT
Definition: shapefil.h:311
#define SHPT_POLYGON
Definition: shapefil.h:310
#define SHPT_MULTIPOINTZ
Definition: shapefil.h:315
#define SHPT_ARCZ
Definition: shapefil.h:313
#define SHPT_MULTIPOINTM
Definition: shapefil.h:319
#define SHPT_POINTZ
Definition: shapefil.h:312
#define SHPT_POINTM
Definition: shapefil.h:316
#define SHPT_POLYGONZ
Definition: shapefil.h:314
#define SHPT_POINT
Definition: shapefil.h:308
#define SHPT_NULL
Definition: shapefil.h:307
#define SHPT_ARC
Definition: shapefil.h:309

Here is the caller graph for this function: