-
Notifications
You must be signed in to change notification settings - Fork 347
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
Change WKTWriter default output dimension to 4 and trim to 'on' #915
Conversation
f381811
to
e64f366
Compare
e64f366
to
5f6c5fc
Compare
|
I've brought this in, hopefully downstream sees not too much test churn. |
|
@pramsey shouldn't these kind of changes be part of majors? Asking because this is breaking the RGeo ruby gem based on GEOS, and being maintainer I'd like to know when to expect these kind of breaking changes! |
|
I would tend to think not? We have behaviour changes every release, but what I've internalize as "breaking" change has been C API change. Once you cannot plunk a GEOS binary on top of another one. Things like "what outputs are produced" are in flux (behaviour of concave hull, etc) and there's really no way to work on the library without that happening. I sympathize with your point of view, but I don't know if I quite agree. |
|
Hm okay this make sense for sure. I'll subscribe to the gh releases then. In case there is some kind of information given before releasing, my email is buonomo dot ulysse at gmail dot com! |
|
The ideal place to keep your finger on the pulse of GEOS is the mailing list, https://lists.osgeo.org/listinfo/geos-devel (yes, we are very old). There you will see pre-release announcements, etc, and other downstream packagers for things like Python, R, Swift, etc. |
The 3.12 include changes in the API responses. Mainly, WBX Writers now default to three dimensions instead of two. We follow the changes, making no breaking change in the API, but some changes in the responses given by `#ccw?` and `#simplify_preserve_topology`. See changes in libgeos: - libgeos/geos#784 - libgeos/geos#878 - libgeos/geos#908 - libgeos/geos#915 Fixes #360
The 3.12 include changes in the API responses. Mainly, WBX Writers now default to three dimensions instead of two. We follow the changes, making no breaking change in the API, but some changes in the responses given by `#ccw?` and `#simplify_preserve_topology`. See changes in libgeos: - libgeos/geos#784 - libgeos/geos#878 - libgeos/geos#908 - libgeos/geos#915 Fixes #360
The 3.12 include changes in the API responses. Mainly, WBX Writers now default to three dimensions instead of two. We follow the changes, making no breaking change in the API, but some changes in the responses given by `#ccw?` and `#simplify_preserve_topology`. See changes in libgeos: - libgeos/geos#784 - libgeos/geos#878 - libgeos/geos#908 - libgeos/geos#915 Fixes #360
The 3.12 include changes in the API responses. Mainly, WBX Writers now default to three dimensions instead of two. We follow the changes, making no breaking change in the API, but some changes in the responses given by `#ccw?` and `#simplify_preserve_topology`. See changes in libgeos: - libgeos/geos#784 - libgeos/geos#878 - libgeos/geos#908 - libgeos/geos#915 Fixes #360
This potentially breaking change with the WKTWriter is to use output dimension 4 and trim 'on'.
For example,
POINT Z (1.1 2.2 3.3)output using defaults are:POINT (1.1000000000000001 2.2000000000000002)POINT Z (1.1 2.2 3.3)Other details:
toText()andtoString()will also use the new defaults; addtests/unit/geom/Geometry/toTextTest.cppfor this coverageGEOSGeomToWKT(andGEOSGeomToWKT_r) should keep the previous defaults showing untrimmed 2D outputs, which is checked withtests/unit/capi/GEOSGeomToWKTTest.cpp