Learn R Programming

crsmeta (version 0.3.0)

sfx: Simple features example data

Description

A copy of the 'minimal_mesh' data set from the silicate package, with coordinate reference system information added.

Arguments

Warning

do not use this data in real situations, or as exemplary of the 'sf' format. It was created purely to add examples to this package.

Details

sfx is the old-style PROJ.4 and EPSG code CRS (prior to sf 0.8-1).

sfx_new is the new-style WKT2, with user input.

Examples

Run this code
# NOT RUN {
## three equivalent representations, of increasing richness
crs_epsg(sfx)

crs_proj(sfx)

crs_wkt2(sfx)  ## did not exist in earlier sf

## new style
crs_epsg(sfx_new) ## NA!
crs_proj(sfx_new) ## NA!

crs_input(sfx_new)
crs_wkt(sfx_new)
# }

Run the code above in your browser using DataLab