[pdal] filters.smrf question

Andrew Bell andrew.bell.ia at gmail.com
Wed Mar 7 13:45:15 PST 2018


If you want to keep the original classifications as well as the smrf'd
ones, you can copy them to another dimension before running smrf:

*{*
*  "pipeline":[*
*    "528000_5392000_1000.las",*
*    {*
*      "type":"filters.ferry",*
*      "dimensions":"Classification=OldClassification"*
*    },*
*    {*
*      "type":"filters.smrf"*
*    },*
*    {*
*      "type":"filters.range",*
*      "limits":"Classification[2:2]"*
*    },*
*    "output.las"*
*  ]*
*}*


Note, that there is no standard place in a LAS file for
"OldClassification", so you'll have to add it as extra bytes or use some
other output format.

On Wed, Mar 7, 2018 at 4:27 PM, Greif, Jeremiah <jgreif at usgs.gov> wrote:

> I'm fairly new to pdal but i'm trying to write a pipeline to utilize the
> filters.smrf in order to classify ground as well as keep unclassified
> points or better yet keep the points not reclassified in their original
> classifications.  The pipeline i found creates a beautifully dense ground
> surface but there must be a way to keep other classifications that weren't
> determined to be ground right?  The majority of the points i'm trying to
> "search" to determine if they are ground are in the unclassified class (7)
> so i can't use the ignore function right?
>
> the pipeline is used is:
>
> * {*
> *  "pipeline":[*
> *    "528000_5392000_1000.las",*
> *    {*
> *      "type":"filters.smrf"*
> *    },*
> *    {*
> *      "type":"filters.range",*
> *      "limits":"Classification[2:2]"*
> *    },*
> *    "output.las"*
> *  ]*
> *}*
>
>
> Any help would be greatly appreciated.
>
> Thanks,
>
>
> --
> Jeremiah Greif
> Geographer
> USGS - NGTOC
> (303) 202-4510
> jgreif at usgs.gov
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
>



-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180307/ad128b25/attachment-0001.html>


More information about the pdal mailing list