View source: R/orient-filter.R
wk_orient | R Documentation |
Orient polygon coordinates
wk_orient(handleable, ..., direction = wk_counterclockwise())
wk_orient_filter(handler, direction = wk_counterclockwise())
wk_clockwise()
wk_counterclockwise()
handleable |
A geometry vector (e.g., |
... |
Passed to the |
direction |
The winding polygon winding direction |
handler |
A wk_handler object. |
handleable
with consistently oriented polygons, in direction
winding order.
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()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.