Hi and thanks for the wonderful package!
I have been trying to create shade maps for a Swiss city. The lidar data that is published by the Swiss government uses only one class for vegetation: low vegetation.
The function rasterize_lidar_cover_class() has an inbuilt correction of low vegetation through following line, which reclassifies low vegetation to ground points:
pts$Classification[pts$Classification == 3] <- as.integer(2)
In my case, this creates incomplete rasters for cover classes, and the resulting shade raster at ground level is incorrect.
I would suggest removing this line from the function definition, or alternatively, making it optional with an extra argument in the function definition, i.e. correct.low.veg = T that enables deactivating this behaviour.
Thanks again for a very useful package!
Hi and thanks for the wonderful package!
I have been trying to create shade maps for a Swiss city. The lidar data that is published by the Swiss government uses only one class for vegetation: low vegetation.
The function
rasterize_lidar_cover_class()has an inbuilt correction of low vegetation through following line, which reclassifies low vegetation to ground points:pts$Classification[pts$Classification == 3] <- as.integer(2)In my case, this creates incomplete rasters for cover classes, and the resulting shade raster at ground level is incorrect.
I would suggest removing this line from the function definition, or alternatively, making it optional with an extra argument in the function definition, i.e.
correct.low.veg = Tthat enables deactivating this behaviour.Thanks again for a very useful package!