[pdal] Setting SRS on las file

Matthew Hanson mhanson at appliedgeosolutions.com
Fri Feb 6 12:13:06 PST 2015


We have las files that have no spatial reference embedded in the file.
For one, I'm not sure it's necessary to actually add the spatial reference
to the las file.  We want to create DEM's, so perhaps it's better to just
leave them as is then set the SRS on the final GeoTiffs.

However, for the moment assuming that this makes sense, when I run pdal
translate
$ pdal translate -i input.las -o output.las -a_srs EPSG:XXXXX

I get a file that is bigger than the original because it's seemed to add 4
new dimensions: Time, Red, Green, Blue.   The original file did not have
them, although I notice that lasinfo reports min and max for all those
fields in both files, even though they are missing from the original.

Are these standard dimensions in las files, and is there any way to control
if they are added or not?    If we want to add the SRS to files, I'd rather
not increase the size of them all.  Although maybe this is moot since, as
per above, it just doesn't make sense to add the SRS anyway.

Thanks,

Matthew Hanson
Applied GeoSolutions
(603) 659-3363 x91
http://appliedgeosolutions.com
mhanson at appliedgeosolutions.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20150206/bbe45019/attachment.html>


More information about the pdal mailing list