st_is_longlat: Assert whether simple feature coordinates are longlat degrees

View source: R/crs.R

st_is_longlatR Documentation

Assert whether simple feature coordinates are longlat degrees

Description

Assert whether simple feature coordinates are longlat degrees

Usage

st_is_longlat(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

Value

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


edzer/sfr documentation built on April 23, 2024, 7:17 p.m.