[pdal] Import point cloud into PostgreSQL/ pdal pipeline fails
Howard Butler
howard at hobu.co
Wed Sep 16 07:06:12 PDT 2015
On Wed, Sep 16, 2015 at 5:51 AM, Thomas Cürten (WhereGroup) <
thomas.cuerten at wheregroup.com> wrote:
> Hello everyboy,
> I followed this tutorial (
> http://workshops.boundlessgeo.com/tutorial-lidar/) and am trying to load
> las-data into postgreSQL by using the pipeline function from pdal.
> Unfortunately pdal generates an error when I try to upload the lidar data
> to the database: pdal pipeline --input laz2pg.xml
>
> PDAL: Couldn't create filter stage of type 'filters.cache'.
>
> The content of my pipeline xml file is the following:
>
> <?xml version="1.0" encoding="utf-8"?>
> <Pipeline version="1.0">
> <Writer type="writers.pgpointcloud">
> <Option name="connection">host='localhost' dbname='lidar' user='postgres'</Option>
> <Option name="table">sthsm</Option>
> <Option name="srid">4326</Option>
> <Filter type="filters.chipper">
> <Option name="capacity">400</Option>
> <Filter type="filters.cache">
> <Reader type="readers.las">
> <Option name="U4545539.las">/home/tcuerten/Dokumente/LASER/U4545539.las</Option>
> <Option name="spatialreference">EPSG:4326</Option>
> </Reader>
> </Filter>
> </Filter>
> </Writer>
> </Pipeline>
>
> I guess the problem is that I'm missing some drivers in my pdal version.I
> checked the pdal drivers with 'pdal --drivers' and apparently also the
> pgpointcloud drivers are missing.
> Do you have any suggestions why i am missing these drivers and how i could
> add these drivers to pdal?
>
>
filters.cache is no longer needed. The tutorial needs to be updated to
reflect that fact with PDAL 1.0.0+.
Just remove the <Filter> and closing </Filter> element for filters.cache
and you should be able to ingest data.
Hope this helps,
Howard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20150916/e2860597/attachment.html>
More information about the pdal
mailing list