sf_segmentize: Segmentize your simple features

View source: R/segmentize.R

sf_segmentizeR Documentation

Segmentize your simple features

Description

No weird tricks, just extra vertices based on a distance. These functions work consistently, if you want ellipsoidal methods you get them. You want planar? Here you go!

Usage

sf_segmentize(x, dx, ...)

sf_segmentize_ll(x, dfMaxLength, ..., ll_proj = "OGC:CRS84")

Arguments

x

sf object

dx

distance in units of the data

...

passed to st_segmentize, but unused currently

dfMaxLength

distance in metres (for use in ellipsoidal approximate segmentize)

ll_proj

projection string used for longitude latitude (for ellipsoidal pathway)

Details

Use 'sf_segmentize' to segmentize your data as-is. Use 'sf_segmentize_ll' to segmentize using ellipsoidal tricks. Data is unprojected for this purpose if need be.


mdsumner/basf documentation built on Sept. 11, 2022, 1:08 p.m.