[pdal] Import point cloud into PostgreSQL/ pdal pipeline fails
Thomas Cürten (WhereGroup)
thomas.cuerten at wheregroup.com
Thu Sep 17 01:51:46 PDT 2015
Am 16.09.2015 um 16:06 schrieb Howard Butler:
> On Wed, Sep 16, 2015 at 5:51 AM, Thomas Cürten (WhereGroup)
> <thomas.cuerten at wheregroup.com <mailto: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
Hello Howard,
thank you for your answer.But unfortunately, after removing the
filter.cache from my xml I receive the error:'PDAL: Couldn't create
writer stage of type 'writers.pgpointcloud'. Could there be something
wrong with my pdal oder pointcloud installation? I used this
documentation:
http://suite.opengeo.org/opengeo-docs/dataadmin/pointcloud/install.html?highlight=pdal#dataadmin-pointcloud-install-activate
to install the programs.
Regards.
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20150917/3e74fb93/attachment.html>
More information about the pdal
mailing list