PostGIS  2.1.10dev-r@@SVN_REVISION@@
const char SHPAPI_CALL1* SHPPartTypeName ( int  nPartType)

Definition at line 2150 of file shpopen.c.

References SHPP_FIRSTRING, SHPP_INNERRING, SHPP_OUTERRING, SHPP_RING, SHPP_TRIFAN, and SHPP_TRISTRIP.

2152 {
2153  switch( nPartType )
2154  {
2155  case SHPP_TRISTRIP:
2156  return "TriangleStrip";
2157 
2158  case SHPP_TRIFAN:
2159  return "TriangleFan";
2160 
2161  case SHPP_OUTERRING:
2162  return "OuterRing";
2163 
2164  case SHPP_INNERRING:
2165  return "InnerRing";
2166 
2167  case SHPP_FIRSTRING:
2168  return "FirstRing";
2169 
2170  case SHPP_RING:
2171  return "Ring";
2172 
2173  default:
2174  return "UnknownPartType";
2175  }
#define SHPP_TRIFAN
Definition: shapefil.h:329
#define SHPP_RING
Definition: shapefil.h:333
#define SHPP_INNERRING
Definition: shapefil.h:331
#define SHPP_FIRSTRING
Definition: shapefil.h:332
#define SHPP_OUTERRING
Definition: shapefil.h:330
#define SHPP_TRISTRIP
Definition: shapefil.h:328