[pdal] Difference?

Andrew Bell andrew.bell.ia at gmail.com
Tue Mar 13 14:49:06 PDT 2018


I can't recreate with version 1.6.  For my input file, the output files are
identical.

The SRS in your translate example needs quotes around it, though that may
just be an issue with the posting of the note.

On Tue, Mar 13, 2018 at 5:12 PM, Farwell, Michael <MFARWE01 at harris.com>
wrote:

> 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
>
>
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
>



-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180313/473eb567/attachment.html>


More information about the pdal mailing list