Skip to content
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

**sf** fails with Overlay-NG (GEOS 3.9.0) #1512

Closed
rsbivand opened this issue Oct 15, 2020 · 1 comment
Closed

**sf** fails with Overlay-NG (GEOS 3.9.0) #1512

rsbivand opened this issue Oct 15, 2020 · 1 comment

Comments

@rsbivand
Copy link
Member

testthat/test_geos.R fails at lines 213, 214, because st_difference() output vertices are ordered differently with Overlay-NG:

> out1[[2]][[1]]
     [,1] [,2]
[1,]  0.0  0.5
[2,]  1.0  1.5
[3,]  2.0  0.5
[4,]  1.5  0.5
[5,]  1.0  1.0
[6,]  0.5  0.5
[7,]  0.0  0.5
> correct_geom[[2]][[1]]
     [,1] [,2]
[1,]  0.5  0.5
[2,]  0.0  0.5
[3,]  1.0  1.5
[4,]  2.0  0.5
[5,]  1.5  0.5
[6,]  1.0  1.0
[7,]  0.5  0.5
@rsbivand
Copy link
Member Author

Do you use CPL_geos_normalize() always in returning GEOS geometry output? See https://lists.osgeo.org/pipermail/geos-devel/2020-October/009758.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant