setTrim as true for GEOSWKTWriter since geos3.12 changed it as false by default (#21929)

This commit is contained in:
Dingle Zhang 2023-07-03 14:26:59 +08:00 committed by GitHub
parent 66efc5de27
commit 0806d37292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ int32_t initCtxAsText() {
if (geosCtx->WKTWriter) {
GEOSWKTWriter_setRoundingPrecision_r(geosCtx->handle, geosCtx->WKTWriter, 6);
GEOSWKTWriter_setTrim_r(geosCtx->handle, geosCtx->WKTWriter, 0);
} else {
return code;
}