[pdal] Raster extent with writers.gdal

Andreas Yankopolus andreas at yank.to
Wed Sep 15 13:29:24 PDT 2021


Jim,

> There is also the bounds option that lets you specify the output extent directly. 
> 
> One thing you might have to check and adjust for is the output might be half a pixel off where you expect it to be (the difference between the geographical coordinate representing the center of the pixel or the corner).

The bounds option in writers.gdal is doing the trick. I’m using the same args for it as I am for the bounds args in my crop statement at the top of the pipeline.

Pixel coordinates in the resulting raster (1/3 arc-sec in EPSG:4326) come out as expected.

Thanks,

Andreas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20210915/cae36c16/attachment.html>


More information about the pdal mailing list