wk_orient {wk} | R Documentation |
Orient polygon coordinates
Description
Orient polygon coordinates
Usage
wk_orient(handleable, ..., direction = wk_counterclockwise())
wk_orient_filter(handler, direction = wk_counterclockwise())
wk_clockwise()
wk_counterclockwise()
Arguments
handleable |
A geometry vector (e.g., |
... |
Passed to the |
direction |
The winding polygon winding direction |
handler |
A wk_handler object. |
Value
handleable
with consistently oriented polygons, in direction
winding order.
Examples
wk_orient(wkt("POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0))"))
wk_orient(
wkt("POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))"),
direction = wk_clockwise()
)
[Package wk version 0.9.2 Index]