[pdal] Mosaic and crop

Bradley Chambers brad.chambers at gmail.com
Fri Feb 13 17:55:32 PST 2015


Matthew,

filters.merge should do what you need. Take a look at
https://github.com/PDAL/PDAL/blob/master/test/data/filters/merge.xml.in.

Let us know if you are still having trouble.

Brad

On Fri, Feb 13, 2015 at 4:20 PM, Matthew Hanson <
mhanson at appliedgeosolutions.com> wrote:

> I'm trying to extract a single region from multiple LAS files (I want all
> the points from all LAS files to be included in my output las).    There's
> a couple comments on the website about filters.mosaic, but the examples
> given don't work, and there doesn't appear to be a filters.mosaic.  I
> assume this is outdated.
>
> So how do I provide multiple Reader stages to filters.crop?  This is what
> I tried:
>
>
> <?xml version="1.0" encoding="utf-8"?>
> <Pipeline version="1.0">
>     <Writer type="writers.las">
>         <Option name="filename">testout.las</Option>
>         <Filter type="filters.crop">
>             <Option name="bounds">
>                 ([232000.00, 232999.99],[9752000.00, 9752999.99],[0, 100])
>             </Option>
>             <Multifilter type="filters.mosaic">
>                 <Reader type="readers.las">
>                     <Option name="filename">test1.las</Option>
>                 </Reader>
>                 <Reader type="readers.las">
>                     <Option name="filename">test2.las</Option>
>                 </Reader>
>                 <Reader type="readers.las">
>                     <Option name="filename">test3.las</Option>
>                 </Reader>
>             </Multifilter>
>         </Filter>
>     </Writer>
> </Pipeline>
>
>
>
> Matthew Hanson
> Applied GeoSolutions
> (603) 659-3363 x91
> http://appliedgeosolutions.com
> mhanson at appliedgeosolutions.com
>
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pdal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20150213/83a8e09b/attachment.html>


More information about the pdal mailing list