fix_xymax: Fix the xmax and/or ymax when the xmax and xmin are the same...

Description Usage Arguments Value

View source: R/break_linestrings.R

Description

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.

Usage

1

Arguments

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.

Value

Returns the same sf object with the fixed xmax and/or ymax.


tayoso2/sfXtra documentation built on Dec. 23, 2021, 7:50 a.m.