PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ SHPPartTypeName()

const char SHPAPI_CALL1* SHPPartTypeName ( int  nPartType)

Definition at line 2148 of file shpopen.c.

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

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