hypertidy/silicate

the PROJ snafu

Closed this issue · 1 comments

Currently silicate uses internal get_projection methods, and reproj just looks for $meta$proj.

e.g.

meta <- tibble::tibble(proj = get_projection(x), ctime = Sys.time())

Change this to

meta <- tibble::tibble(proj = crsmeta::crs_proj(x),
                                   wkt = crsmeta::crs_wkt(x), 
                                   epsg = crsmeta::crs_epsg(x), 
                                  ctime = Sys.time())

and work out policy in reproj for what it's looking for and prioritizes to use.

But, current crsmeta on CRAN looks for sfc$wkt2 and it looks like it will be released as wkt from $input, $wkt.

fixed