st_is_longlat {sf} | R Documentation |
Assert whether simple feature coordinates are longlat degrees
st_is_longlat(x)
x |
object of class sf or sfc, or otherwise an object of a class that has an st_crs method returning a |
TRUE
if x
has geographic coordinates, FALSE
if it has projected coordinates, or NA
if is.na(st_crs(x))
.