| srs_is_geographic {gdalraster} | R Documentation |
Check if WKT definition is a geographic coordinate system
Description
srs_is_geographic() will attempt to import the given WKT string as a
spatial reference system, and returns TRUE if the root is a
GEOGCS node. This is a wrapper for OSRIsGeographic() in the GDAL Spatial
Reference System C API.
Usage
srs_is_geographic(srs)
Arguments
srs |
Character OGC WKT string for a spatial reference system |
Value
Logical. TRUE if srs is geographic, otherwise FALSE
See Also
srs_is_projected(), srs_is_same()
Examples
srs_is_geographic(epsg_to_wkt(5070))
srs_is_geographic(srs_to_wkt("WGS84"))
[Package gdalraster version 1.11.1 Index]