Skip to content

Implement all *FromText methods #17

@dotMorten

Description

@dotMorten

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions