<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
There is also the <i>bounds</i> option that lets you specify the
output extent directly. <br>
<br>
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).<br>
<br>
<div class="moz-cite-prefix">On 9/15/21 10:04 AM, Andrew Bell wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACJ51z37iN=pLFuApZzzirUQkmvpzhSC1-tSbSmnJSy2kDYydw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Andreas,
<div><br>
</div>
<div>Using gdalopts probably won't do what you want. The other
options you mentioned are for precisely this purpose.</div>
<div><br>
</div>
<div>Hope that helps,</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Sep 15, 2021 at 11:01
AM Andreas Yankopolus <<a href="mailto:andreas@yank.to"
moz-do-not-send="true">andreas@yank.to</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;">All—
<div><br>
</div>
<div>I’m using PDAL to write a surface-height raster using <i>writers.gdal</i>,
then merging that file with other rasters into a
multi-band file with GDAL.</div>
<div><br>
</div>
<div>What’s my best bet for specifying the extent of the
raster written by <i>writers.gdal</i>?</div>
<div><br>
</div>
<div>I have a pipeline stage cropping the LPC data and
expect to have <i>nodata</i> values throughout.</div>
<div><br>
</div>
<div>One possibility appears to be using the <i>origin_x</i>, <i>origin_y</i> options
along with <i>width</i>, <i>height</i> to set the size.
I’m already specifying a resolution. Or maybe I want to
use <i>gdalopts</i>. </div>
<div><br>
</div>
<div>How have other people addressed this?</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Andreas</div>
<div> </div>
</div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank"
moz-do-not-send="true">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/pdal</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">Andrew Bell<br>
<a href="mailto:andrew.bell.ia@gmail.com" target="_blank"
moz-do-not-send="true">andrew.bell.ia@gmail.com</a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
pdal mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/pdal">https://lists.osgeo.org/mailman/listinfo/pdal</a>
</pre>
</blockquote>
<br>
</body>
</html>