| fm_zm | R Documentation |
Add and/or remove Z and/or M information from simple feature geometries.
fm_zm(x, ...)
## S3 method for class 'sf'
fm_zm(x, ...)
## S3 method for class 'sfc'
fm_zm(x, ..., add = NULL, remove = NULL, target = NULL)
## S3 method for class 'list'
fm_zm(x, ..., add = NULL, remove = NULL, target = NULL)
## S3 method for class 'sfg'
fm_zm(x, ..., add = NULL, remove = NULL, target = NULL)
## S3 method for class 'numeric'
fm_zm(x, ..., add = NULL, remove = NULL, target = NULL, input = NULL)
## S3 method for class 'matrix'
fm_zm(x, ..., add = NULL, remove = NULL, target = NULL, input = NULL)
fm_zm_input(x, ...)
## S3 method for class 'sf'
fm_zm_input(x, ...)
## S3 method for class 'sfc'
fm_zm_input(x, ...)
## S3 method for class 'list'
fm_zm_input(x, ...)
## S3 method for class 'sfg'
fm_zm_input(x, ...)
## S3 method for class 'numeric'
fm_zm_input(x, ..., input = NULL)
## S3 method for class 'matrix'
fm_zm_input(x, ..., input = NULL)
fm_zm_target(input, add = NULL, remove = NULL, target = NULL)
x |
An object to modify |
... |
Further arguments passed to methods |
add |
character; one of |
remove |
character; one of |
target |
character; one of |
input |
character or character vector; one of |
An object of the same class as x, with modified Z/M dimensions.
fm_zm_input(): Find the set of distinct XY/XYZ/XYM/XYZM types
fm_zm_target(): Determines the target XY/XYZ/XYM/XYZM format
Finn Lindgren Finn.Lindgren@gmail.com
sf::st_zm() that supports a subset of these operations.
fm_zm(fmexample$loc_sf, add = "Z")
fm_zm_input(fmexample$loc_sf)
fm_zm_target(c("XY", "XYZ"))
fm_zm_target("XY", add = "Z")
fm_zm_target(c("XY", "XYZM"), remove = "M")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.