[pdal] Extracting specific GpsTime Count from LAS file

Rose Phillips RPhillips at linz.govt.nz
Tue Dec 1 19:06:33 PST 2020


Hi guys

I'm struggling to extract the count for a specific GPS time (0.0) in one of my LAS files e.g.

(pdal) C:\Users\rphillips>pdal info --stats F:\Raw\NZVD2016\LAS_Tiled\CL2_AT24_2018_1000_1426.las --filters.stats.dimensions=GpsTime --filters.stats.count=GpsTime --filters.stats.where=(GpsTime == 0)
PDAL: filters.stats: Invalid value '(GpsTime' for argument 'where'.

(pdal) C:\Users\rphillips>pdal info --stats F:\Raw\NZVD2016\LAS_Tiled\CL2_AT24_2018_1000_1426.las --filters.stats.dimensions=GpsTime --filters.stats.count=GpsTime --filters.stats.where=(GpsTime == 000000000.000000)
PDAL: filters.stats: Invalid value '(GpsTime' for argument 'where'.

(pdal) C:\Users\rphillips>pdal info --stats F:\Raw\NZVD2016\LAS_Tiled\CL2_AT24_2018_1000_1426.las --filters.stats.dimensions=GpsTime --filters.stats.count=GpsTime --filters.stats.where=(GpsTime == False)
PDAL: filters.stats: Invalid value '(GpsTime' for argument 'where'.

(pdal) C:\Users\rphillips>pdal info --stats F:\Raw\NZVD2016\LAS_Tiled\CL2_AT24_2018_1000_1426.las --filters.stats.dimensions=GpsTime --filters.range.limits="GpsTime[0:0]" --filters.stats.count=GpsTime
PDAL: Argument references invalid/unused stage: 'filters.range'.

C:\Users\rphillips>pdal info --stats F:\Raw\NZVD2016\LAS_Tiled\CL2_AT24_2018_1000_1426.las --filters.range.limits="GpsTime[0:0]" --filters.stats.dimensions=GpsTime --filters.stats.count=GpsTime
PDAL: Argument references invalid/unused stage: 'filters.range'.

(pdal) C:\Users\rphillips>pdal info --stats F:\Raw\NZVD2016\LAS_Tiled\CL2_AT24_2018_1000_1426.las --filters.range.limits="GpsTime[0.0:0.0]" --filters.stats.dimensions=GpsTime --filters.stats.count=GpsTime
PDAL: Argument references invalid/unused stage: 'filters.range'.

Any chance you could give me pointer where I've gone wrong? I know this time exists as it shows up in the earliest GPS Time in the Point Data Record metadata header.

I was able to extract all the GPS times using this correct for the same file using this command :-

(pdal) C:\Users\rphillips>pdal info --stats F:\Raw\NZVD2016\LAS_Tiled\CL2_AT24_2018_1000_1426.las --filters.stats.dimensions=GpsTime --filters.stats.count=GpsTime

Many thanks and kind regards Rose

________________________________

This message contains information, which may be in confidence and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify us immediately (Phone 0800 665 463 or info at linz.govt.nz) and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20201202/05bc53d6/attachment.html>


More information about the pdal mailing list