View source: R/vapour-gdal-library.R
vapour_crs_is_lonlat | R Documentation |
Returns TRUE
if this is longitude latitude data. Missing, malformed, zero-length values are disallowed.
vapour_crs_is_lonlat(crs)
crs |
character string of length 1 |
logical value TRUE
for lonlat, FALSE
otherwise
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.