| is.lonlat,character-method | R Documentation |
is.lonlat() attempts to determine if a coordinate reference system is unprojected (e.g., WGS84, NAD83, NAD27, etc.). For GRasters and GVectors, the function should always be correct. For WKT character strings and sf vectors, it does this by looking for the "CONVERSION[" tag in the WKT string (or the object's WKT string), and if it finds one, returns FALSE. This may not be truthful in all cases.
## S4 method for signature 'character'
is.lonlat(x)
## S4 method for signature 'GLocation'
is.lonlat(x)
## S4 method for signature 'sf'
is.lonlat(x)
x |
A WKT coordinate reference string or an object from which on can be obtained (e.g., a |
Logical (TRUE if unprojected, FALSE otherwise).
terra::is.lonlat()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.