[pdal] Problem with wildcards in pipeline (JSON)

Andrew Bell andrew.bell.ia at gmail.com
Fri May 6 11:36:49 PDT 2016


On Fri, May 6, 2016 at 11:39 AM, Scott Lewis <scott.lewis at nsidc.org> wrote:

> Following the instructions at http://www.pdal.io/pipeline.html to do
> globbed inputs, I put together a simple pipeline file (pipeline.json)
> containing this:
>
> {
>   "pipeline":[
>     "/data/20150505/\*.h5",
>     {
>       "type": "filters.merge"
>     },
>     "/data/ILATM1B_20150508.las"
>   ]
> }
>
>
> However, when I run the following command:
>
> pdal pipeline pipeline.json
>
> I get an error saying:
> PDAL: PipelineReaderJSON: unable to parse pipeline
>

This error is correct as \* is invalid in a JSON string.

I've tried replacing the \*.h5 with *.h5, and it gives me a different error
> saying it can't find a file called *.h5.
>

This error is also correct and simply indicates that we're not supporting
globbing.  Should we provide a more specific error for this case for now?

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


More information about the pdal mailing list