[pdal] Clipping
Oveis Hassani jalilian
oveis_h.jalilian at yahoo.com
Fri Jun 1 16:50:52 PDT 2018
Hi,
I am using pdal in python environment in windows 7.
I have a shapefile which consists of several hundreds of polygons. I converted the shapefile to geojson and trying to clip each polygon and write it to a separate LAS file.the following is code for clipping polygon with ID=6. However, I do not know how to loop within the pipeline and clip from polygon 1 to 200 and have 200 outputs with correct naming.
{ "pipeline":[
{ "type":"readers.las", "filename":"input.las" },
{ "type":"filters.overlay", "dimension":"Intensity", "datasource":"map.vrt", "layer":"OGRGeoJSON", "column":"ID" },
{ "type":"filters.range", "limits":"Intensity[6:6]" },
"output_6.las" ]}'''
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180601/a24dfb66/attachment-0001.html>
More information about the pdal
mailing list