[pdal] Setting all points to a single class?

Andrew Bell andrew.bell.ia at gmail.com
Mon Aug 20 16:52:13 PDT 2018


It's hard to know without seeing output.

What do you get when you run:

pdal info --filters.stats.enumerate=Classification
--filters.stats.dimensions=Classification

on the result (P001_E1_clip_class.las)
?

Also, you can set the value of all points with the syntax:
"Classification[:]=101" for the "assignment" option.  In your case, you're
excluding points with the value 0 and greater than 255, which may not be
what you want.

On Mon, Aug 20, 2018 at 7:18 PM, Jonathan Greenberg <jgrn307 at gmail.com>
wrote:

> PDALers:
>
> I'm still a bit new to the command line interface.  I'd like to do the
> following: set all point classifications in a .las file to "101".  I
> tried a pipeline like:
>
> {
> "pipeline":[
>   "P001_E1_clip.las",
>   {
>       "type":"filters.assign",
>       "assignment" : "Classification(0:255]=101"
>   },
>   {
>   "filename":"P001_E1_clip_tclass.las"
>   }
> ]
> }
>
>
> --j
> --
> --
> Jonathan A. Greenberg, PhD
> Randall Endowed Professor and Associate Professor of Remote Sensing
> Global Environmental Analysis and Remote Sensing (GEARS) Laboratory
> Natural Resources & Environmental Science
> University of Nevada, Reno
> 1664 N Virginia St MS/0186
> Reno, NV 89557
> Phone: 415-763-5476
> http://www.unr.edu/nres
> Gchat: jgrn307 at gmail.com, Skype: jgrn3007
>
> _______________________________________________
> 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/20180820/7253a40b/attachment.html>


More information about the pdal mailing list