Closed paleolimbot closed 3 years ago
library(geos) x <- as_geos_geometry( c( "POINT EMPTY", "LINESTRING EMPTY", "POLYGON EMPTY", "MULTIPOINT EMPTY", "MULTILINESTRING EMPTY", "MULTIPOLYGON EMPTY", "GEOMETRYCOLLECTION EMPTY", NA ) ) x[3] <- "POINT (1 1)" x