<div dir="ltr"><div>Hi Aurélien,<br></div><div><br>If you can reproduce a problem, I'd suggest opening an issue with details.<br><br>The following worked fine for me. You can run this for yourself if you clone the `pdaldata` git repository:<br><br></div><div>[<br>    {<br>        "filename": "pdaldata/workshop/autzen.laz"<br>    },<br>    {<br>        "type":"filters.splitter",<br>        "origin_x": 636000,<br>        "origin_y":850000,<br>        "length":1000<br>    },<br>    {<br>        "type": "writers.las",<br>        "filename": "TestAutzen#.laz"<br>    }<br>]</div><div><br></div><div>This appeared to create 25 point views as I got 25 files of output.</div><div><br></div><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, May 5, 2025 at 3:19 AM Aurélien Bertron <<a href="mailto:aurelien.bertron@aegir-ingenierie.fr">aurelien.bertron@aegir-ingenierie.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
    
  
  <div>
    <p>Hello Andrew,</p>
    <p>If I don't set the origin, I get multiple PointViews as expected.
      My question was about setting the origin outside the bounding box
      of my points. In that case I only get one PointView. Am I wrong to
      expect the points to be splitted in multiple PointViews of size
      5000m starting at the origin I set?</p>
    <p>Regards,</p>
    <div>
      <div><span style="font-size:14pt;color:rgb(0,204,255)"><br>
          Aurélien Bertron</span> <br>
        <em>CTO<br>
        </em><strong>ÆGIR</strong><br>
        <span style="color:rgb(0,204,255)">w:</span> <a style="color:rgb(155,155,155);font-weight:normal;font-size:14px" href="https://aegir-ingenierie.fr" target="_blank">aegir-ingenierie.fr</a> <span style="color:rgb(0,204,255)"> e: </span><span style="color:rgb(31,136,247)"><span style="color:rgb(153,153,153)"><a style="color:rgb(153,153,153)" href="mailto:aurelien.bertron@aegir-ingenierie.fr" target="_blank">aurelien.bertron@aegir-ingenierie.fr</a></span></span></div>
    </div>
    <div>On 4/30/25 16:55, Andrew Bell wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi,<br>
        <br>
        I would think this would work. The origin is up to you. If you
        don't supply an origin, the X/Y coordinates of the first point
        is used.<br>
        <br>
        I can't help more with the information you've provided.</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, Apr 30, 2025 at
          10:35 AM Aurélien Bertron via pdal <<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <p>I work with COPC files and I would like to subdivide my
              points into squared tiles with fixed length of about 5km.<br>
              <br>
              My pipeline produces files with points scattered into an
              area that is greater than a 5km tile, I would like to
              split them following the tile grid I already have then
              merge the new points into the existing tiles.</p>
            <p>I tried using the "splitter" filter with a length of
              5000m but I don't understand how the origin is supposed to
              be set. My thought was to set it to the origin of one of
              the tiles I already have, but the filter keeps all the
              points in one PointView. Is this filter the right tool for
              the job?</p>
            <p>Regards,</p>
            <div>-- <br>
              <div><span style="font-size:14pt;color:rgb(0,204,255)"><br>
                  Aurélien Bertron</span> <br>
                <em>CTO<br>
                </em><strong>ÆGIR</strong><br>
                <span style="color:rgb(0,204,255)">w:</span> <a style="color:rgb(155,155,155);font-weight:normal;font-size:14px" href="https://aegir-ingenierie.fr" target="_blank">aegir-ingenierie.fr</a> <span style="color:rgb(0,204,255)"> e: </span><span style="color:rgb(31,136,247)"><span style="color:rgb(153,153,153)"><a style="color:rgb(153,153,153)" href="mailto:aurelien.bertron@aegir-ingenierie.fr" target="_blank">aurelien.bertron@aegir-ingenierie.fr</a></span></span></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><br>
        </blockquote>
      </div>
      <div><br clear="all">
      </div>
      <div><br>
      </div>
      <span class="gmail_signature_prefix">-- </span><br>
      <div dir="ltr" class="gmail_signature">Andrew Bell<br>
        <a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
    </blockquote>
  </div>

</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div></div>