<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Andrew,<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">CRS. Then when you run the GDAL writer, it makes a *rectangular* tiff (because that's what it does, even if you're missing data in some places. Then when you transform that rectangle in your CRS to 4326, you're back to something non-rectangular.</div></blockquote><div><br class=""></div><div>Thanks, I’ve sorted through how all this is happening. I was thinking that a rectangular crop in one CRS would translate to a non-rectangular crop in another CRS. That evidently isn’t happening in PDAL—the crop gets turned into a rectangular one.</div><div><br class=""></div><div>They’re probably a way to do this with polygons. TIFF output would pad the raster with <i class="">undefined</i> values and LPC output would drop points in the areas affected by the crop-area shift. But easier to stick with WGS84.</div></div><div><br class=""></div><div><blockquote type="cite" class=""><div dir="ltr" class=""><div class="">Maybe someone else can chime in, but I would think the easiest thing to do would be to transform your points to 4326 right after you read them since that's your ultimate goal, I think.</div></div></blockquote><div><br class=""></div></div>TIFFs and LAS written when I do this come out square as expected. You’re right that this is the way to go.<div class=""><br class=""></div><div class="">The trick is writing WGS84 coordinates to a LAS file and getting the scaling and offset factors correct. Could be that PCD is simpler in practice as one can specify the use of double-precision values for coordinates at the expense of storage (float64 vs uint32).</div><div class=""><br class=""></div><div class="">Is LPC data usually stored in a geographic or projected coordinate system? The default 0.01 resolution on LAS files seems more geared to a projected system.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">andreas</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>