wkbId method
The WKB type for this geometry type and the given coordinateType
.
Expected values are:
Geometry | 2D | Z | M | ZM |
---|---|---|---|---|
point |
0001 | 1001 | 2001 | 3001 |
lineString |
0002 | 1002 | 2002 | 3002 |
polygon |
0003 | 1003 | 2003 | 3003 |
multiPoint |
0004 | 1004 | 2004 | 3004 |
multiLineString |
0005 | 1005 | 2005 | 3005 |
multiPolygon |
0006 | 1006 | 2006 | 3006 |
geometryCollection |
0007 | 1007 | 2007 | 3007 |
References:
Implementation
int wkbId(Coords coordinateType) => coordinateType.wkbId + wkbId2D;