Learn R Programming

crsmeta (version 0.3.0)

crs_proj: Extract 'PROJ4' string

Description

Obtain the 'PROJ4' string from an object, if it has one. Supported inputs include raster, sf, sp, and silicate.

Usage

crs_proj(x, ...)

Arguments

x

object with 'PROJ4' string

...

ignored

Value

character string (or NA)

References

PROJ system website

See Also

crs_epsg() crs_wkt2() crs_input()

Examples

Run this code
# NOT RUN {
crs_proj(sfx)

crs_proj(sfx$geom)

crs_proj(sfx_new) ## NA
# }

Run the code above in your browser using DataLab