Shape type values

A shape type of 0 indicates a null shape with no geometric data for the shape.
ValueShape typeSpatial data type
0 Null ShapeEmpty ST_Geometry
1Point ST_Point
3 PolyLineST_MultiLineString
5Polygon ST_MultiPolygon
8 MultiPointST_MultiPoint
9PointZ ST_Point with Z coordinates
10PolyLineZST_MultiLineString with Z coordinates
11PointZMST_Point with Z coordinates and measures
13PolyLineZM ST_MultiLineString with Z coordinates and measures
15PolygonZM ST_MultiPolygon with Z coordinates and measures
18MultiPointZM ST_MultiPoint with Z coordinates and measures
19PolygonZ ST_MultiPolygon with Z coordinates
20MultiPointZ ST_MultiPoint with Z coordinates
21PointMST_Point with measures
23 PolyLineMST_MultiLineString with measures
25PolygonMST_MultiPolygon with measures
28MultiPointMST_MultiPoint with measures

Shape types not specified above (2, 4, 6, and so on) are reserved for future use.

The ST_LineString and ST_Polygon Spatial data types do not have equivalent shape type values.