I'm getting a warning that a LINESTRING cannot split a polygon because it is in fact a MultiLineString - even though it does not appear to be to me. I get this warning message:
Splitting a Polygon by a MultiLineString is unsupported
Error in CPL_split(x, st_geometry(y)) : lwgeom error
I am using the latest GitHub development release of lwgeom on a Windows 10 installation of R 3.5.3 with rtools installed:
attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base
other attached packages:
[1] lwgeom_0.1-6 sf_0.7-3
Below is a REPREX of my problem - forgive me for the length of the example - I didn't know how to succinctly represent the polygon I am working with:
I'm getting a warning that a
LINESTRING
cannot split a polygon because it is in fact aMultiLineString
- even though it does not appear to be to me. I get this warning message:I am using the latest GitHub development release of
lwgeom
on a Windows 10 installation of R 3.5.3 with rtools installed:Below is a REPREX of my problem - forgive me for the length of the example - I didn't know how to succinctly represent the polygon I am working with:
Am I misunderstanding something about
st_split
?