[pdal] assign projection info without creating new file

Howard Butler howard at hobu.co
Mon Nov 5 14:37:17 PST 2018



On 11/5/18 4:32 PM, Matt Beckley wrote:
> My question: Is there a way I can do it without creating an intermediary
> file?  I tried the obvious of reading and writing to input.laz, but that
> didn't work.  With thousands of files, it seems like it could save some
> time.  Just curious.

Updating SRS information in-place is very problematic. For LAS files,
the SRS information might be in the VLRs, or it might be at the end of
the file in the EVLR (LAS 1.4). The updated SRS information might be
larger than the old SRS info, and would write over good data if it were
simply slammed into place.

PDAL neither attempts to guess nor attempts to make ransom notes from
SRS magazine lettering for you. You need to rewrite the file(s).

Howard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 528 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20181105/ac0ef15f/attachment.sig>


More information about the pdal mailing list