[pdal] [Filters] Decimation built into a reader

Andrew Bell andrew.bell.ia at gmail.com
Thu Jun 15 08:26:35 PDT 2017


The problem with this is that there are lots of ways to decimate and it
would complicate the logic of the readers in order to fulfill this desire.

One simple thing you can do is to create a decimated file using streaming
mode and then use that as input to your more complex pipeline:

{
  "pipeline": [
    "input.las",
    {
      "type" : "filters.decimation",
      "step" : 10
    }"
    "output.las"
  ]
}

Then run this with 'pdal pipeline --stream decimator.json'

If your processing pipeline supports streaming mode directly, you can use
that as well and dispense with the creation of the intermediate file.

Hope that helps,


On Thu, Jun 15, 2017 at 10:18 AM, GUIMMARA, Sébastien (External) <
sebastien.guimmara.external at airbus.com> wrote:

> Hello everyone,
>
>
>
> I’m trying to import a massive point cloud as a collection of LAS files
> (6GB, 27 files), and I realized that my desktop computer simply couldn’t
> handle the memory footprint of such a massive dataset.
>
>
>
> So I’m putting a decimation filter to reduce the size, but I’m having a
> doubt: is the filter useful here or is the dataset entirely loaded into
> memory before even applying the filter ? In other words, does the
> downstream filters controls how the upstream reader loads data into memory ?
>
>
>
> If not, would it be a nice feature to include to some (all ?) readers ?
> Like a builtin decimation/sampling filter.
>
>
>
> Sébastien
>
>
> Please consider the environment before printing this email message.
>
> ------------------------------
>
>
>
> *Ce courriel (incluant ses éventuelles pièces jointes) peut contenir des
> informations confidentielles et/ou protégées ou dont la diffusion est
> restreinte. Si vous avez reçu ce courriel par erreur, vous ne devez ni le
> copier, ni l'utiliser, ni en divulguer le contenu à quiconque. Merci d'en
> avertir immédiatement l'expéditeur et d'effacer ce courriel de votre
> système. Airbus DS Geo décline toute responsabilité en cas de corruption
> par virus, d'altération ou de falsification de ce courriel lors de sa
> transmission par voie électronique. This email (including any attachments)
> may contain confidential and/or privileged information or information
> otherwise protected from disclosure. If you are not the intended recipient,
> please notify the sender immediately, do not copy this message or any
> attachments and do not use it for any purpose or disclose its content to
> any person, but delete this message and any attachments from your
> system. Airbus DS Geo disclaims any and all liability if this email
> transmission was virus corrupted, altered or falsified.*
> ------------------------------
>
> *Airbus DS Geo SA (325 089 589 RCS Toulouse) - Siege social: 5, rue des
> Satellites, 31400 Toulouse, France.*
>
>
>
>
> _______________________________________________
> 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/20170615/8ea9ee78/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageed0be7.JPG
Type: image/jpeg
Size: 625 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170615/8ea9ee78/attachment-0001.jpe>


More information about the pdal mailing list