Assert whether simple feature coordinates are longlat degrees

st_is_longlat(x)

Arguments

x

object of class sf or sfc

Value

TRUE if +proj=longlat is part of the proj4string, NA if this string is missing, FALSE otherwise