[pgpointcloud] readers.pgpointcloud to writers.las

Dean.Hand.ctr at nga.mil Dean.Hand.ctr at nga.mil
Tue Aug 4 07:40:16 PDT 2015


Classification: UNCLASSIFIED
======================================================

I'm trying to write a .LAS file from point cloud data that's stored in my PostGIS using this .xml and pdal pipeline:

<?xml version="1.0" encoding="utf-8"?>
<Pipeline version="1.0">
  <Writer type="writers.text">
    <Option name="filename">output.txt</Option>
    <Option name="spatialreference">EPSG:4326</Option>
    <Reader type="readers.pgpointcloud">
      <Option name="connection">dbname='lidar' user='user'</Option>
      <Option name="table">lidar</Option>
      <Option name="column">pa</Option>
      <Option name="spatialreference">EPSG:4326</Option>
      <Option name="where">
        PC_Intersects(pa, ST_MakeEnvelope(38.6361, -90.1934,38.6294,-90.1934, 4326))
      </Option>
    </Reader>
  </Writer>
</Pipeline>

What I get when I open it in QTM is four columns of points that I assume are the extents.  What am I doing wrong?


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 coe.ic.gov


======================================================
Classification: UNCLASSIFIED



More information about the pgpointcloud mailing list