[pdal] Error Writing VLRS

Andrew Bell andrew.bell.ia at gmail.com
Thu Mar 5 14:45:27 PST 2020


I believe that this was recently fixed:

https://github.com/PDAL/PDAL/issues/2937

On Thu, Mar 5, 2020 at 5:21 PM Nigel Powell <npowell at aero-graphics.com>
wrote:

> Hi Pdal’ers.
>
> I’m having an issue writing VLRS to a las file using a pipeline.
>
> The interesting thing is that if I cut-n-paste the example from the pdal
> web site the json file still does not validate…
>
>
>
> Any thoughts?
>
>
>
> I’m running pdal 2.0.1 on a M$ Windows 10 workstation, install via
> Anaconda.
>
>
>
> Vlrs.json contains the following [cut-n-paste from the web site]
>
> [
>
>     {
>
>         "type":"readers.las",
>
>         "filename":"inputfile.las"
>
>     },
>
>     {
>
>         "type":"writers.las",
>
>         "vlrs": [{
>
>             "description": "A description under 32 bytes",
>
>             "record_id": 42,
>
>             "user_id": "hobu",
>
>             "data": "dGhpcyBpcyBzb21lIHRleHQ="
>
>             },
>
>             {
>
>             "description": "A description under 32 bytes",
>
>             "record_id": 43,
>
>             "user_id": "hobu",
>
>             "data": "dGhpcyBpcyBzb21lIG1vcmUgdGV4dA=="
>
>             }],
>
>         "filename":"outputfile.las"
>
>     }
>
> ]
>
>
>
> Pdal –version
>
>
> --------------------------------------------------------------------------------
>
> pdal 2.0.1 (git-version: Release)
>
>
> --------------------------------------------------------------------------------
>
>
>
> pdal pipeline vlrs.json --validate
>
> {
>
>     "error_detail": "JSON pipeline: Invalid value type for option list
> 'vlrs'.",
>
>     "streamable": false,
>
>     "valid": false
>
> }
>
>
>
> Obviously I’m not trying to write those VLRs into my las file but when my
> actual pipeline file was throwing an error I tried the example to see what
> the difference might be.. so it would appear that either the example is
> wrong/out dated or we have a small undocumented feature in pdal.
>
>
>
> Many thanks,
>
> *Nigel Powell*
>
>
> _______________________________________________
> 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/20200305/5c4b4f30/attachment.html>


More information about the pdal mailing list