Implement the geometry-type-specific FromText methods:
static STPointFromText(SqlChars pointTaggedText, int srid)
static STLineFromText(SqlChars lineStringTaggedText, int srid)
static STPolyFromText(SqlChars polygonTaggedText, int srid)
static STGeomCollFromText(SqlChars geometryCollectionTaggedText, int srid)
static STMPointFromText(SqlChars multiPointTaggedText, int srid)
static STMLineFromText(SqlChars multiLineStringTaggedText, int srid)
static STMPolyFromText(SqlChars multiPolygonTaggedText, int srid)
Works like STGeomFromText but throws format exception if the geometry type doesn't match. STM methods parses the 3rd coordinate as an M value instead of Z.
Implement the geometry-type-specific FromText methods:
Works like
STGeomFromTextbut throws format exception if the geometry type doesn't match. STM methods parses the 3rd coordinate as an M value instead of Z.