is_projected: Is the shape projected?
Description
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
).
Value
logical: TRUE
if the shape is projected and FALSE
otherwise.