[pdal] Extracting specific GpsTime Count from LAS file

Andrew Bell andrew.bell.ia at gmail.com
Tue Dec 1 19:16:20 PST 2020


You need to place the "where" clause in quotes.

On Tue, Dec 1, 2020, 10:12 PM Rose Phillips <RPhillips at linz.govt.nz> wrote:

> 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.
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20201201/4680669d/attachment.html>


More information about the pdal mailing list