vapour
vapour copied to clipboard
reproj geometry on input (very unstable, WIP)
It works, it's slow, it crashes. it doesn't check the source or target, haha next year ...
https://github.com/hypertidy/vapour/tree/reproj-geom
f <- system.file("gpkg/nc.gpkg", package = "sf", mustWork = TRUE)
srs <- "+proj=laea +lon_0=-100"
x <- vapour:::dsn_read_transform_geom_ij(f, 0, "", 0, "wkb", c(1, 10), srs)
library(wk)
plot(wkb(x))

have a look at mdsumner/osgeo.gdal that's way easier