possible to set crs of las files? #32
-
For some reason the CRS in the laz files I am working with is not set properly by the provider, is there any way to define it with lasR? Or do I have to to it in advance with e.g. lidR ( |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
There is currently no tool for that. This is in my todo list with a low priority. It is not hard to add so I may implement that on spare time. The real difficulty is to determine the behavior we are expecting. What would be the behavior of: reader_las() + rasterize() + set_crs() + local_maximum() If you read it as a pipeline then the raster has no crs or an incorrect crs and the vector have the correct crs. This makes sense if you consider the pipeline as a flow (which is correct). But does it really makes sense? What would be the purpose? Should we rather expect Using |
Beta Was this translation helpful? Give feedback.
-
The version 0.5.0 in the f <- system.file("extdata", "Topography.las", package="lasR")
pipeline <- reader_las() + rasterize(20, "count") + set_crs(2044) + local_maximum(5) + set_crs(2004) + write_las()
ans = exec(pipeline, on = f) Be careful, the |
Beta Was this translation helpful? Give feedback.
I merged the fixes from the
master
branch indevel
yesterday night but forgot to push the changes. So you may indeed have a non patcheddevel
version. This should be fixed now.