[pdal] Setting all points to a single class?
Jonathan Greenberg
jgrn307 at gmail.com
Tue Aug 21 08:38:33 PDT 2018
That was the trick! Thanks! Solution:
"pipeline":[
"P001_E1_clip.las",
{
"type":"filters.assign",
"assignment" : "Classification[:]=101"
},
{
"filename":"P001_E1_clip_tclass.las"
}
]
}
pdal pipeline reclasspipe.json
--j
On Tue, Aug 21, 2018 at 3:31 AM Bradley Chambers <brad.chambers at gmail.com>
wrote:
> This is a good point, and if you really want all points classified as 101,
> the assignment can be "Classification [:]=101".
>
> On Tue, Aug 21, 2018, 4:43 AM Luigi Pirelli <luipir at gmail.com> wrote:
>
>> I suppose You don't have any classification within [0:255)
>>
>> Luigi Pirelli
>>
>>
>> **************************************************************************************************
>> * LinkedIn: https://www.linkedin.com/in/luigipirelli
>> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
>> * GitHub: https://github.com/luipir
>> * Mastering QGIS 2nd Edition:
>> *
>> https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
>> * Hire me: http://goo.gl/BYRQKg
>>
>> **************************************************************************************************
>>
>>
>> On Tue, 21 Aug 2018 at 01:18, 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"
>>> }
>>> ]
>>> }
>>>
>>> But this doesn't appear to be working -- any ideas?
>>>
>>> --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
>>> <https://maps.google.com/?q=1664+N+Virginia+St&entry=gmail&source=g>
>>> MS/0186
>>> Reno, NV 89557
>>> Phone: 415-763-5476 <(415)%20763-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
>>
>> _______________________________________________
>> pdal mailing list
>> pdal at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/pdal
>
> --
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180821/e8767ec2/attachment.html>
More information about the pdal
mailing list