[pgpointcloud] PDAL: Unable to process pipeline file. XML is invalid

Ivan Grcic igrcic at gmail.com
Sat Jan 31 02:38:37 PST 2015


Dear all,

using the latest PDAL version, I am unable to import any points in pgcloud:

PDAL: Unable to process pipeline file "XYZ.xml".  XML is invalid

This is my xml file for PDAL version 1.0.2 (master branch on github)

<?xml version="1.0" encoding="utf-8"?>
<Pipeline version="1.0">
    <Writer type="writers.pgpointcloud">
        <Option name="connection">dbname='x' user='x' password='x'
host='x' port='x'</Option>
        <Option name="table">table</Option>
        <Option name="srid">21781</Option>
        <Option name="overwrite">false</Option>
        <Filter type="filters.chipper">
            <Option name="capacity">600</Option>
            <Filter type="filters.cache">
                <Reader type="readers.las">
                    <Option name="filename">XYZ.laz</Option>
                    <Option name="spatialreference">EPSG:21781</Option>
                </Reader>
            </Filter>
        </Filter>
    </Writer>
</Pipeline>

PDAL version 0.9.9 is working flawlessly though:

?xml version="1.0" encoding="utf-8"?>
<Pipeline version="1.0">
  <Writer type="drivers.pgpointcloud.writer">
        <Option name="connection">dbname='x' user='x' password='x'
host='x' port='x'</Option>
    <Option name="table">table</Option>
    <Option name="overwrite">false</Option>
    <Option name="srid">21781</Option>
    <Filter type="filters.chipper">
      <Option name="capacity">600</Option>
      <Filter type="filters.cache">
        <Reader type="drivers.las.reader">
          <Option name="filename">.XYZ.laz</Option>
          <Option name="spatialreference">EPSG:21781</Option>
        </Reader>
      </Filter>
    </Filter>
  </Writer>
</Pipeline>

Has anyone managed to make the latest PDAL work with pointcloud extension?

Many thanks,
Ivan


More information about the pgpointcloud mailing list