powered by
Checks whether the shape is projected. Applicable to Spatial, Raster and sf objects. In case the projection is missing, it checks whether the coordinates are within -180/180 and -90/90 (if so, it returns FALSE).
Spatial
Raster
sf
FALSE
is_projected(x)
shape (from class Spatial, Raster, or sf), or projection (see get_proj4 for options)
get_proj4
logical: TRUE if the shape is projected and FALSE otherwise.
TRUE