[pdal] Splitting COPC file into fixed-size tiles

Aurélien Bertron aurelien.bertron at aegir-ingenierie.fr
Mon May 5 00:19:19 PDT 2025


Hello Andrew,

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?

Regards,


Aurélien Bertron
/CTO
/*ÆGIR*
w: aegir-ingenierie.fr <https://aegir-ingenierie.fr>  e: 
aurelien.bertron at aegir-ingenierie.fr 
<mailto:aurelien.bertron at aegir-ingenierie.fr>
On 4/30/25 16:55, Andrew Bell wrote:
> Hi,
>
> 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.
>
> I can't help more with the information you've provided.
>
> On Wed, Apr 30, 2025 at 10:35 AM Aurélien Bertron via pdal 
> <pdal at lists.osgeo.org> wrote:
>
>     I work with COPC files and I would like to subdivide my points
>     into squared tiles with fixed length of about 5km.
>
>     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.
>
>     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?
>
>     Regards,
>
>     -- 
>
>     Aurélien Bertron
>     /CTO
>     /*ÆGIR*
>     w: aegir-ingenierie.fr <https://aegir-ingenierie.fr>  e:
>     aurelien.bertron at aegir-ingenierie.fr
>     _______________________________________________
>     pdal mailing list
>     pdal at lists.osgeo.org
>     https://lists.osgeo.org/mailman/listinfo/pdal
>
>
>
> -- 
> Andrew Bell
> andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20250505/ceef00c3/attachment.htm>


More information about the pdal mailing list