[pgpointcloud] PDAL error
Paul Ramsey
pramsey at cleverelephant.ca
Tue Jul 8 11:57:54 PDT 2014
No, what’s happening is that PDAL is generating a Schema object based on the LAS files, and then serializing that object to XML to hand to pointcloud. Pointcloud is getting that document and going “huh?” and not successfully parsing it. Something is changed with the Schema object -> XML document step in PDAL, which is consistent with your having changed the version of PDAL you’re using.
P
--
Paul Ramsey
http://cleverelephant.ca
http://postgis.net
On July 8, 2014 at 11:55:35 AM, dean.hand.ctr at nga.mil (dean.hand.ctr at nga.mil) wrote:
I believe it is a PDAL issue as it worked before with the same XML and las/laz files before the new version was installed. Could it be a compiler issue?
-----Original Message-----
From: Paul Ramsey [mailto:pramsey at cleverelephant.ca]
Sent: Tuesday, July 08, 2014 1:49 PM
To: Hand Dean NGA-II USA CTR; pgpointcloud at lists.osgeo.org
Subject: Re: [pgpointcloud] PDAL error
Looks like libxml is failing to parse the XML document PDAL is generating, which is odd, because the failure is at the basic XML parse level, not at any further level. So this is a particular problem w/ the XML generated (or not) by PDAL, possibly because the API contract there changed? So more of a PDAL problem, perhaps, than a pointcloud one.
P.
--
Paul Ramsey
http://cleverelephant.ca
http://postgis.net
On July 8, 2014 at 11:44:08 AM, dean.hand.ctr at nga.mil (dean.hand.ctr at nga.mil) wrote:
So we compiled the latest version of PDAL and installed, but now I can't get pipeline to work right. The reason we updated was to take advantage of the multi-filter and scaling features (which seem to work great). When I try to pipeline las/laz files into PostGIS I get this:
$ pdal pipeline laz2pg.xml
Requested to read 35400 points
Requested to write 35400 points
0WARNING: unable to parse schema XML
Caught PDAL exception: ERROR: new row for relation "pointcloud_formats" violates check constraint "pointcloud_formats_schema_check"
DETAIL: Failing row contains (1, 4326, ).
Dean E. Hand
Image Scientist
NGA | InnoVision |BITC
Phone: 314-676-0899
VOIP: 577-5860
SBU: dean.hand.ctr at nga.mil
JWICS: dean.hand at nga.ic.gov
_______________________________________________
pgpointcloud mailing list
pgpointcloud at lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/pgpointcloud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgpointcloud/attachments/20140708/031d695e/attachment.html>
More information about the pgpointcloud
mailing list