<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Roland,<div><br></div><div>This feature is a 2.9.0+ thing, which has not been released yet.</div><div><br></div><div>https://pdal.io/en/2.8.4/stages/filters.crop.html doesn't show any 'ogr' option. You can achieve a similar outcome by using filters.assign to label points and filters.expression to cull them https://pdal.io/en/2.8.4/workshop/manipulation/clipping/clipping.html#workshop-clipping</div><div><br></div><div>Howard<br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Mar 31, 2025, at 8:40 AM, Roland Spielhofer via pdal <pdal@lists.osgeo.org> wrote:</div><br class="Apple-interchange-newline"><div><div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">Hi,</span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">I am trying to use the option "ogr" in filters.crop.</span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);"> </span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">...</span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">{<br>        "type":"filters.crop",<br>        "ogr":{<br>            "type":"ogr",<br>            "datasource": ["Buffers.shp"],<br>            "drivers":"ESRI Shapefile"<br>        }<br>     },</span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">...</span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);"> </span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">When doing so, I get</span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">"PDAL: filters.crop: Unexpected argument 'ogr'."</span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);"> </span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">My version:</span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">(lidar) Q:\.....\PDAL>pdal --version<br>--------------------------------------------------------------------------------<br>pdal 2.8.4 (git-version: Release)<br>--------------------</span><span style="background-color: rgb(255, 255, 255);">------------------------------------------------------------</span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">on Windows/Conda</span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);"> </span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">Is "ogr" already included in v2.8.4?</span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);"> </span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">Thanks!</span></div>
<div style="font-family: verdana; font-size: 12px;"><span style="background-color: rgb(255, 255, 255);">Roland</span></div>
_______________________________________________<br>pdal mailing list<br>pdal@lists.osgeo.org<br>https://lists.osgeo.org/mailman/listinfo/pdal<br></div></blockquote></div><br></div></body></html>