<div dir="ltr"><div>Thanks a lot Andrew. Specifying the Z-dimension like you suggested worked.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 12:45 PM Andrew Bell <<a href="mailto:andrew.bell.ia@gmail.com">andrew.bell.ia@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">In the meantime, you can specify a Z dimension.  For example:  ([-122.53, -122.347], [37.695, 37.816], [-1000, 1000])</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 3:41 PM Andrew Bell <<a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">This is a bug that was introduced when we added 3D box filtering.  I'll open a ticket and fix shortly.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 3:27 PM Abhineet Gupta <<a href="mailto:abhineet@oneconcern.com" target="_blank">abhineet@oneconcern.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Removed the chipper filter, and changed the writer to a standard text writer for simplicity. <div><br></div><div>Same error in the crop filter.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 12:21 PM Andrew Bell <<a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Do you get the same error without the chipper filter?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 3:08 PM Abhineet Gupta <<a href="mailto:abhineet@oneconcern.com" target="_blank">abhineet@oneconcern.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks for the suggestion, Jim.</div><div><br></div><div>However, same error.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 12:01 PM Jim Klassen <<a href="mailto:klassen.js@gmail.com" target="_blank">klassen.js@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Quick, guess: Try swapping lon and lat in the bounds.  It might
      be expecting lat, lon to follow the canonical 4326 axis order.<br>
    </p>
    <div>On 6/2/20 1:54 PM, Abhineet Gupta
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div>Hello</div>
              <div><br>
              </div>
              <div>I am trying to read in a laz file, crop the input if
                it is outside certain bounds, and write it to a postgres
                db. The reading and writing parts are working fine,
                however when using <font face="monospace">filters.crop</font>,
                I get the error - </div>
              <div><font face="monospace">PDAL: filters.crop: Unable to
                  reproject bounds.</font><br>
              </div>
              <div><br>
              </div>
              <div>I am using standard SRS, input is in EPSG:26910, and
                I am using EPSG:4326 for specifying the crop bounds. I
                think one solution will be to reproject the bound
                coordinates to EPSG:23910 outside PDAL, and specify crop
                bounds in the same SRS as the input, however, I would
                prefer to input the bounds as lat-long coordinates, if
                possible.</div>
              <div><br>
              </div>
              <div>I have copied my pipeline file below for reference.</div>
              <div><br>
              </div>
              <div>I would appreciate it if anyone has any suggestions
                about how to fix this error. </div>
              <div><br>
              </div>
              <div>Thanks</div>
              <div>Abhineet</div>
              <div><br>
              </div>
              <div><font face="monospace">######### pipeline.json <span style="color:rgb(0,0,0);font-size:medium">#########</span></font></div>
              <div>
                <div><font face="monospace">{</font></div>
                <div><font face="monospace">  "pipeline":[</font></div>
                <div><font face="monospace">    {</font></div>
                <div><font face="monospace">      "type":"readers.las",</font></div>
                <div><font face="monospace">     
                    "filename":"laz/ARRA-CA_GoldenGate_2010_001019.laz",</font></div>
                <div><font face="monospace">     
                    "spatialreference":"EPSG:26910"</font></div>
                <div><font face="monospace">    },</font></div>
                <div><font face="monospace">    {</font></div>
                <div><font face="monospace">     
                    "type":"filters.chipper",</font></div>
                <div><font face="monospace">      "capacity":600</font></div>
                <div><font face="monospace">    },</font></div>
                <div><font face="monospace">    {</font></div>
                <div><font face="monospace">      "type":"filters.crop",</font></div>
                <div><font face="monospace">      "bounds":"([-122.530,
                    -122.347], [37.695, 37.816])",</font></div>
                <div><font face="monospace">      "a_srs":"EPSG:4326"</font></div>
                <div><font face="monospace">    },</font></div>
                <div><font face="monospace">    {</font></div>
                <div><font face="monospace">     
                    "type":"writers.pgpointcloud",</font></div>
                <div><font face="monospace">     
                    "connection":"host='postgres-pdal' dbname='devpt'
                    user='postgres' password='devpt_temp' port='5432'",</font></div>
                <div><font face="monospace">      "table":"temp",</font></div>
                <div><font face="monospace">     
                    "compression":"dimensional",</font></div>
                <div><font face="monospace">      "srid":"26910"</font></div>
                <div><font face="monospace">    }</font></div>
                <div><font face="monospace">  ]</font></div>
                <div><font face="monospace">}</font></div>
              </div>
              <div><br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
pdal mailing list
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></pre>
    </blockquote>
  </div>

_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div></blockquote></div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</blockquote></div><br clear="all"><div><br></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>