[pdal] Assign classification

Silvia Franceschi silvia.franceschi at gmail.com
Tue Apr 30 01:54:08 PDT 2019


Thanks Luigi,
you are perfectly right... this is a print of the details of first point:
"point":
    {
      "Blue": 155,
      "Green": 153,
      "Intensity": 2497,
      "PointId": 0,
      "Red": 159,
      "X": 63.45360184,
      "Y": 0.0307,
      "Z": 0
    }

So now I should create the field for the classification, any idea?

Thanks again!

Silvia




On Tue, Apr 30, 2019 at 10:44 AM Luigi Pirelli <luipir at gmail.com> wrote:

> can you check if Classification dimension is present? strange but seems it
> doesn't
>
> 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, 30 Apr 2019 at 09:40, Silvia Franceschi <
> silvia.franceschi at gmail.com> wrote:
>
>> Dear all,
>> I am trying to extract the DTM from a point cloud of a terrestrial LiDAR.
>> Points of the survey are all of one single return and do no have a
>> classification.
>> To go on with the elaborations I guess that I have to assign a
>> classification of the points otherwise the tools (filter.smrf) do not work,
>> is this true?
>> I tried to use the command filters.assign with the following statement in
>> a pipeline (json file).
>>
>> {
>>           "type":"filters.assign",
>>     "assignment":"Classification[:]=0"
>>         },
>>
>> But  got this error:
>> PDAL: filters.assign: Invalid dimension name in 'assignment' option:
>> 'Classification'.
>>
>> Do some of you understand which is the problem?
>>
>> Thanks in advance for your help.
>>
>> Silvia
>>
>>
>> --
>> ing. Silvia Franceschi
>> Via Roma, 64
>> 38030 Castello di Fiemme (TN)
>>
>> tel: 0039 -3384501332
>> _______________________________________________
>> pdal mailing list
>> pdal at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/pdal
>
>

-- 
ing. Silvia Franceschi
Via Roma, 64
38030 Castello di Fiemme (TN)

tel: 0039 -3384501332
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20190430/c7f87992/attachment.html>


More information about the pdal mailing list