crs_wkt2: Extract 'WKT2' string

Description Usage Arguments Details Value Warning References See Also Examples

View source: R/get_crs.R

Description

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

Usage

1
2
3

Arguments

x

object with 'WKT2' string

...

ignored

Details

The functions crs_wkt() and crs_wkt2() are aliased, they do the same thing.

Value

character string (or NA)

Warning

For WKT2 only, PROJ6 and beyond

References

WKT2 specification

See Also

crs_epsg() crs_proj() crs_wkt() crs_input()

Examples

1
2
3
4
5

crsmeta documentation built on April 14, 2020, 7:13 p.m.