<div dir="ltr"><div>Thanks for raising this. There was some discussion of the issue at <a href="https://github.com/libgeos/geos/issues/797">https://github.com/libgeos/geos/issues/797</a> and other tickets linked from there, but it was never really resolved.</div><div><br></div><div>Dan<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 12, 2023 at 8:52 AM Roger Bivand <<a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">An R packages built against GEOS is showing new test failures with 3.12.0beta1. The important terra package fails first at a union on a buffered object, other failures may occur later, but testing stops at first error. The error is:<br>
<br>
Error: IllegalArgumentException: Overlay input is mixed-dimension<br>
<br>
The abbreviated input in R is:<br>
<br>
library(terra)<br>
gdal(lib="geos")<br>
# [1] "3.12.0beta1"<br>
v <- vect(system.file("ex/lux.shp", package="terra"))<br>
b <- buffer(v, 1000) # 1000m even though v are in degrees<br>
u <- union(b)<br>
# Error: IllegalArgumentException: Overlay input is mixed-dimension<br>
<br>
The input shapefile may be found at <a href="https://github.com/rspatial/terra/tree/master/inst/ex/lux.*" rel="noreferrer" target="_blank">https://github.com/rspatial/terra/tree/master/inst/ex/lux.*</a><br>
<br>
I'm unsure whether this is change intentional, should I provide a WKT of the shapefile geometries, possibly planar?<br>
<br>
Best wishes,<br>
<br>
Roger<br>
<br>
--<br>
Roger Bivand<br>
Emeritus Professor<br>
Norwegian School of Economics<br>
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway<br>
<a href="mailto:Roger.Bivand@nhh.no" target="_blank">Roger.Bivand@nhh.no</a><br>
_______________________________________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org" target="_blank">geos-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geos-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geos-devel</a><br>
</blockquote></div>