We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TRIANGLE
I'm not sure if we should support this, but I wanted to at least gather some facts for documentation.
postgis supports it:
SELECT ST_AsText('TRIANGLE((0 0,0 1,1 1,0 0 ))'); st_astext ----------------------------- TRIANGLE((0 0,0 1,1 1,0 0)) (1 row)
JTS does not support it
reader.read("TRIANGLE((0 0,0 1,1 1,0 0 ))"); > org.locationtech.jts.io.ParseException: Unknown geometry type: TRIANGLE (line 1)
Nor does GEOS
message: `ParseException: Unknown type: 'TRIANGLE'`
The text was updated successfully, but these errors were encountered:
It's part of the spec (OpenGIS Implementation Specification for Geographic information - Simple feature access - Part 1: Common architecture, p14, p26), and also part of WKB, so I'm not against it, but I wonder why JTS and GEOS don't support it.
GEOS usually follows JTS, and it's curious that PostGIS uses GEOS, but supports TRIANGLE.
We could just ask JTS?
Sorry, something went wrong.
No branches or pull requests
I'm not sure if we should support this, but I wanted to at least gather some facts for documentation.
postgis supports it:
JTS does not support it
Nor does GEOS
The text was updated successfully, but these errors were encountered: