[pdal] writers.gdal: median

Andrew Bell andrew.bell.ia at gmail.com
Mon Jan 31 08:29:30 PST 2022


On Mon, Jan 31, 2022 at 11:06 AM Jim Klassen <klassen.js at gmail.com> wrote:

>
> A hack to save half the memory would be to use std::vector<float> instead
> of std::vector<double>.  The data I am working with is fine with 6 decimal
> digits of vertical precision (1cm at 1000m).  I'd might feel differently
> about that if I was working in mountainous areas.
>

If you're going to pursue this, I would recommend writing a separate
filter. You can now write rasters with writers.raster, so the filter can do
whatever and just pass the raster on to the writer. You might also look at
filters.zsmooth (which seems to be missing from the doc index). It's not
exactly what you're looking for, but it could be modified to do something
quite similar with not much effort. It only runs in standard mode.

-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20220131/f21b97fe/attachment.html>


More information about the pdal mailing list