Learn R Programming

vapour (version 0.9.5)

vapour_crs_is_lonlat: Is the CRS string representative of angular coordinates

Description

Returns TRUE if this is longitude latitude data. Missing, malformed, zero-length values are disallowed.

Usage

vapour_crs_is_lonlat(crs)

Value

logical value TRUE for lonlat, FALSE otherwise

Arguments

crs

character string of length 1

Examples

Run this code
vapour_crs_is_lonlat("+proj=laea")
vapour_crs_is_lonlat("+proj=longlat")
vapour_crs_is_lonlat("+init=EPSG:4326")
vapour_crs_is_lonlat("OGC:CRS84")
vapour_crs_is_lonlat("WGS84")
vapour_crs_is_lonlat("NAD27")
vapour_crs_is_lonlat("EPSG:3031")

Run the code above in your browser using DataLab