sf_segmentize | R Documentation |
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!
sf_segmentize(x, dx, ...) sf_segmentize_ll(x, dfMaxLength, ..., ll_proj = "OGC:CRS84")
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) |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.