Learn R Programming

sf (version 1.0-14)

st_is_longlat: Assert whether simple feature coordinates are longlat degrees

Description

Assert whether simple feature coordinates are longlat degrees

Usage

st_is_longlat(x)

Value

TRUE if x has geographic coordinates, FALSE if it has projected coordinates, or NA if is.na(st_crs(x)).

Arguments

x

object of class sf or sfc, or otherwise an object of a class that has an st_crs method returning a crs object