[pdal] Mosaic and crop

Matthew Hanson mhanson at appliedgeosolutions.com
Fri Feb 13 13:20:05 PST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20150213/9cf99ab3/attachment.html>


More information about the pdal mailing list