Hello,
I have one point cloud tile with extents, for example, of min (0,0) and max (1000, 1000).
I want to make a DEM from this point cloud, which seems pretty straightforward, but it isn't.
If I want a raster with a 1x1 cell size, the RasterDEMGenerator makes a DEM that has 1001x1001 pixels and extent min (-0.5,-0.5) max (1000.5,1000.5). The main problem is, that the values of the bounding pixels are not ok, as half of the pixel surface does not have corresponding points.
Is it anyhow possible to define that I simply want a DEM between 0,0 and 1000, 1000 (original point cloud extent) with cell size 1x1?
From my point of view, it just doesn't make sense to implement a "point cloud to DEM" solution that always takes half of a pixel size larger extent than the original point cloud extent, which is, of course,
empty (without points). I know how it works; the algorithm places the center of the left lowest DEM cell to the point of min extent of the input point cloud, and this is just wrong. I cannot imagine any case where
this approach would make sense. This always makes DEM with a "crippled" boundary all around that needs to be clipped to a smaller extent. Therefore I get only 999 x 999 pixels DEM that is useful with the extent of min (0.5, 0.5) and max (999.5, 999.5).
If I am not missing something here that enables me to do what I want, I suggest you implement that ASAP, as this results in many bad (wrong) results that people are mostly even not aware of.
Regards, Jernej