[pdal] [writers.gdal] How to specify the output data type as Float32?

GUIMMARA, Sébastien (External) sebastien.guimmara.external at airbus.com
Tue Mar 14 02:32:12 PDT 2017


I actually don’t need to use the gdalopts parameter. I just thought it was the way to output Float32 datasets before I knew it was a limitation of PDAL.

Sébastien

De : Andrew Bell [mailto:andrew.bell.ia at gmail.com]
Envoyé : lundi 13 mars 2017 18:28
À : GUIMMARA, Sébastien (External)
Cc : pdal at lists.osgeo.org
Objet : Re: [pdal] [writers.gdal] How to specify the output data type as Float32?

On Mon, Mar 13, 2017 at 10:12 AM, GUIMMARA, Sébastien (External) <sebastien.guimmara.external at airbus.com<mailto:sebastien.guimmara.external at airbus.com>> wrote:
Thanks for the quick reply. I’ll use a workaround for the moment (gdal_translate) to convert the data types.

Sébastien

De : Andrew Bell [mailto:andrew.bell.ia at gmail.com<mailto:andrew.bell.ia at gmail.com>]
Envoyé : lundi 13 mars 2017 15:52
À : GUIMMARA, Sébastien (External)
Cc : pdal at lists.osgeo.org<mailto:pdal at lists.osgeo.org>
Objet : Re: [pdal] [writers.gdal] How to specify the output data type as Float32?

On Mon, Mar 13, 2017 at 9:04 AM, GUIMMARA, Sébastien (External) <sebastien.guimmara.external at airbus.com<mailto:sebastien.guimmara.external at airbus.com>> wrote:
Dear all,

I have successfully converted a point cloud to a GTiff raster using pdal pipeline and I noticed that PDAL creates rasters of Float64 data type. Unfortunately, the next step in our data processing only accepts 32-bit data types. Is there a way to specify this data type in the pipeline using the gdalopts parameter ?

No.  This is an open issue that I hope to fix soon.

Moreover, the exact syntax of the gdalopts parameter is unclear. Is it a single string encapsulating all options ? e.g:

"gdalopts":"KEY0=VALUE0,KEY1=VALUE1,..."

It *should* work, but apparently there's a bug.  The arguments aren't passed along.  I'll fix shortly.

I've fixed the issue of gdalopts being ignored in the master branch.  Please let me know if have other problems.

--
Andrew Bell
andrew.bell.ia at gmail.com<mailto:andrew.bell.ia at gmail.com>



[cid:image63eed3.JPG at b2127fe4.4aaaab8e] 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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170314/8b5b666f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image63eed3.JPG
Type: image/jpeg
Size: 625 bytes
Desc: image63eed3.JPG
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170314/8b5b666f/attachment.jpe>


More information about the pdal mailing list