| has.z | R Documentation |
Returns TRUE if any geometry part (or polygon hole) stores Z values.
Z storage is optional: empty Z means a conventional 2D geometry. When Z is
present it is included in geom and crds, preserved
by writeVector / vect file I/O (25D geometries),
and by coercion to/from sf (see also
https://github.com/rspatial/terra/issues/824).
## S4 method for signature 'SpatVector'
has.z(x)
x |
SpatVector |
logical
geom, crds, vect
v <- vect(cbind(1:3, 1:3))
has.z(v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.