View source: R/geos-geometry.R
as_geos_geometry.wk_xy | R Documentation |
Create GEOS Geometry Vectors
## 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())
x |
An object to be coerced to a geometry vector |
... |
Unused |
crs |
An object that can be interpreted as a CRS. See |
A geos geometry vector
as_geos_geometry("LINESTRING (0 1, 3 9)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.