wkt_reverse: Reverses the points within a geometry.

View source: R/RcppExports.R

wkt_reverseR Documentation

Reverses the points within a geometry.

Description

wkt_reverse reverses the points in any of point, multipoint, linestring, multilinestring, polygon, or multipolygon

Usage

wkt_reverse(x)

Arguments

x

a character vector of WKT objects, represented as strings

Details

segment, box, and ring types not supported

Value

a string, same length as given

Examples

wkt_reverse("POLYGON((42 -26,42 -13,52 -13,52 -26,42 -26))")

ropensci/wellknown documentation built on April 8, 2023, 11:54 p.m.