[pdal] Difference?
    Farwell, Michael 
    MFARWE01 at harris.com
       
    Tue Mar 13 14:12:46 PDT 2018
    
    
  
Hey All,
Trying to understand the difference between two PDAL commands.  The first is a translate command.  The second is a streaming pipeline command with the pipeline parameters passed in over standard in.
Using PDAL 1.5.0.
Translate command:
/usr/local/pdal/bin/pdal
  translate
  -i /tmp/b.las
  -o /tmp/b_trans.las
  --writer=las
  -f filters.reprojection
  --filters.reprojection.out_srs=+proj=utm +zone=13 +north +ellps=WGS84 +datum=WGS84 +units=m  +no_defs
  --writers.las.scale_x=0.01
  --writers.las.scale_y=0.01
  --writers.las.scale_z=0.01
  --writers.las.offset_x=auto
  --writers.las.offset_y=auto
  --writers.las.offset_z=auto
  --writers.las.forward=header
  --writers.las.minor_version=2
Streaming pipeline command:
/usr/local/pdal/bin/pdal
  pipeline
  --stdin
  --stream
  --readers.las.filename=/tmp/b.las
  --writers.las.filename=/tmp/b_pipeline.las
Pipeline sent in over stdin:
{
  "pipeline":[
    {
     "type":"readers.las"
    },
    {
      "type":"filters.reprojection",
      "out_srs":"+proj=utm +zone=13 +north +ellps=WGS84 +datum=WGS84 +units=m  +no_defs"
    },
   {
      "type":"writers.las",
      "scale_x":"0.01",
      "scale_y":"0.01",
      "scale_z":"0.01",
     "offset_x":"auto",
     "offset_y":"auto",
     "offset_z":"auto",
     "forward":"header",
     "minor_version":"2"
  }
]
}
Can someone help me understand the differences between the commands because the two commands are producing different outputs?  There's a difference in the projection info and the offsets are minimums in the translate command and 0 in the pipeline command.
Thanks,
Mike
---------------------------------------------
Michael D. Farwell
Harris Corporation
Software Engineer
(585) 269-6156
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180313/9014ad7d/attachment.html>
    
    
More information about the pdal
mailing list