<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div>Hi,</div><div><br></div><div>I am using pdal in python environment in windows 7.</div><div><br></div><div>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.</div><div>the following is code for clipping polygon with ID=6. <span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">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.</span></span></div><div><br></div><div><span><div>{</div><div> "pipeline":[</div><div><br></div><div> {</div><div> "type":"readers.las",</div><div> "filename":"input.las" </div><div> </div><div> },</div><div><br></div><div> {</div><div> "type":"filters.overlay",</div><div> "dimension":"Intensity",</div><div> "datasource":"map.vrt",</div><div> "layer":"OGRGeoJSON",</div><div> "column":"ID"</div><div> },</div><div><br></div><div> {</div><div> "type":"filters.range",</div><div> "limits":"Intensity[6:6]"</div><div> },</div><div><br></div><div> </div><div> "output_6.las"</div><div> ]</div><div>}'''</div></span><br></div><div><br></div><div>Thank you!</div></div></body></html>