Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement all *FromText methods #17

Open
dotMorten opened this issue Oct 29, 2018 · 0 comments
Open

Implement all *FromText methods #17

dotMorten opened this issue Oct 29, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@dotMorten
Copy link
Owner

dotMorten commented Oct 29, 2018

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.

@dotMorten dotMorten added the enhancement New feature or request label Oct 29, 2018
@dotMorten dotMorten changed the title Implement all FromWKT methods Implement all *FromText methods Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant