vapour_crs_is_lonlat {vapour} | R Documentation |
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)
Arguments
crs |
character string of length 1 |
Value
logical value TRUE
for lonlat, FALSE
otherwise
Examples
vapour_gdal_version() ## versions to catch problems with string input
vapour_proj_version()
vapour_crs_is_lonlat("+proj=aeqd +lon_0=147 +lat_0=-42")
vapour_crs_is_lonlat("EPSG:4326")
vapour_srs_wkt("+proj=laea")
vapour_crs_is_lonlat("+proj=laea +type=crs")
vapour_crs_is_lonlat("OGC:CRS84")
vapour_crs_is_lonlat("WGS84")
vapour_crs_is_lonlat("NAD27")
vapour_crs_is_lonlat("EPSG:3031")
[Package vapour version 0.10.0 Index]