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:

Error: IllegalArgumentException: Overlay input is mixed-dimension

The abbreviated input in R is:

library(terra)
gdal(lib="geos")
# [1] "3.12.0beta1"
v <- vect(system.file("ex/lux.shp", package="terra"))
b <- buffer(v, 1000) # 1000m even though v are in degrees
u <- union(b)
# Error: IllegalArgumentException: Overlay input is mixed-dimension

The input shapefile may be found at 
https://github.com/rspatial/terra/tree/master/inst/ex/lux.*

I'm unsure whether this is change intentional, should I provide a WKT of the 
shapefile geometries, possibly planar?

Best wishes,

Roger

--
Roger Bivand
Emeritus Professor
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway
roger.biv...@nhh.no
_______________________________________________
geos-devel mailing list
geos-devel@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/geos-devel

Reply via email to