I have a large LAS pointcloud in LV03 (EPSG:21781) that I want to reproject to LV95 (EPSG:2056). My approaches so far bear no fruit.
What is a good way to re-project LAS data to a different CRS (optionally efficient)?
I've tried so far:
The excellent LAStools can't do this in my case, since it doesn't know EPSG:2056, which is a known issue. Normally
las2las -epsg WXYZ -target_epsg ABCD
would do the trick.The swisstopo Geosuite-Software (link, suggested here) produces a lot of errors for me. Results are only partially reprojected.
I wanted to do in lidR, as suggested here with this but that results in the following error:
LASfile <- system.file("extdata", "Megaplot.laz", package="lidR") las = readLAS(LASfile) las_transformed = st_transform(las, st_crs(2056)) #> Error in UseMethod("st_transform"): not applicable method 'st_transform' applied to object of class "c('LAS', 'Spatial')"
with lidR 3.2.1