as_geos_geometry: Create GEOS Geometry Vectors

Description Usage Arguments Value Examples

View source: R/geos-geometry.R

Description

Create GEOS Geometry Vectors

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
as_geos_geometry(x, ...)

## S3 method for class 'geos_geometry'
as_geos_geometry(x, ...)

## S3 method for class 'character'
as_geos_geometry(x, ...)

## S3 method for class 'blob'
as_geos_geometry(x, ...)

## S3 method for class 'WKB'
as_geos_geometry(x, ...)

## S3 method for class 'sfc'
as_geos_geometry(x, ...)

## S3 method for class 'sf'
as_geos_geometry(x, ...)

## S3 method for class 'wk_wkb'
as_geos_geometry(x, ...)

## S3 method for class 'wk_wkt'
as_geos_geometry(x, ...)

Arguments

x

An object to be coerced to a geometry vector

...

Unused

Value

A geos geometry vector

Examples

1
as_geos_geometry("LINESTRING (0 1, 3 9)")

geos documentation built on Jan. 13, 2021, 8:13 a.m.