PostGIS 3.6.2dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ SHPTypeName()

const char SHPAPI_CALL1 * SHPTypeName ( int  nSHPType)

Definition at line 2550 of file shpopen.c.

2553{
2554 switch( nSHPType )
2555 {
2556 case SHPT_NULL:
2557 return "NullShape";
2558
2559 case SHPT_POINT:
2560 return "Point";
2561
2562 case SHPT_ARC:
2563 return "Arc";
2564
2565 case SHPT_POLYGON:
2566 return "Polygon";
2567
2568 case SHPT_MULTIPOINT:
2569 return "MultiPoint";
2570
2571 case SHPT_POINTZ:
2572 return "PointZ";
2573
2574 case SHPT_ARCZ:
2575 return "ArcZ";
2576
2577 case SHPT_POLYGONZ:
2578 return "PolygonZ";
2579
2580 case SHPT_MULTIPOINTZ:
2581 return "MultiPointZ";
2582
2583 case SHPT_POINTM:
2584 return "PointM";
2585
2586 case SHPT_ARCM:
2587 return "ArcM";
2588
2589 case SHPT_POLYGONM:
2590 return "PolygonM";
2591
2592 case SHPT_MULTIPOINTM:
2593 return "MultiPointM";
2594
2595 case SHPT_MULTIPATCH:
2596 return "MultiPatch";
2597
2598 default:
2599 return "UnknownShapeType";
2600 }
#define SHPT_ARCZ
Definition shapefil.h:354
#define SHPT_MULTIPATCH
Definition shapefil.h:361
#define SHPT_NULL
Definition shapefil.h:348
#define SHPT_ARCM
Definition shapefil.h:358
#define SHPT_POLYGONM
Definition shapefil.h:359
#define SHPT_ARC
Definition shapefil.h:350
#define SHPT_POLYGON
Definition shapefil.h:351
#define SHPT_MULTIPOINT
Definition shapefil.h:352
#define SHPT_POINTZ
Definition shapefil.h:353
#define SHPT_MULTIPOINTZ
Definition shapefil.h:356
#define SHPT_MULTIPOINTM
Definition shapefil.h:360
#define SHPT_POINTM
Definition shapefil.h:357
#define SHPT_POINT
Definition shapefil.h:349
#define SHPT_POLYGONZ
Definition shapefil.h:355
psObject nSHPType
Definition shpopen.c:1209

References nSHPType, 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_import().

Here is the caller graph for this function: