as_geos_geometry.wk_xy {geos} | R Documentation |
Create GEOS Geometry Vectors
Description
Create GEOS Geometry Vectors
Usage
## S3 method for class 'wk_xy'
as_geos_geometry(x, ...)
## S3 method for class 'wk_xyz'
as_geos_geometry(x, ...)
as_geos_geometry(x, ...)
## S3 method for class 'geos_geometry'
as_geos_geometry(x, ...)
## Default S3 method:
as_geos_geometry(x, ...)
## S3 method for class 'character'
as_geos_geometry(x, ..., crs = NULL)
## S3 method for class 'blob'
as_geos_geometry(x, ..., crs = NULL)
## S3 method for class 'WKB'
as_geos_geometry(x, ..., crs = NULL)
geos_geometry(crs = wk::wk_crs_inherit())
Arguments
x |
An object to be coerced to a geometry vector |
... |
Unused |
crs |
An object that can be interpreted as a CRS. See |
Value
A geos geometry vector
Examples
as_geos_geometry("LINESTRING (0 1, 3 9)")
[Package geos version 0.2.4 Index]