Description Usage Arguments Value
View source: R/break_linestrings.R
This function loads an sf object with the active geometry type "linestring" and adds 0.1 to at least one of the xmax or ymax if the xmax and xmin are the same or the ymax and ymin are the same.
1 | fix_xymax(x)
|
x |
An sf object with the active geometry type "linestring" which is a pair of points and a matrix of 4 values representing 2 points. |
Returns the same sf object with the fixed xmax and/or ymax.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.