<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Mar 13, 2017 at 10:12 AM, GUIMMARA, Sébastien (External) <span dir="ltr"><<a href="mailto:sebastien.guimmara.external@airbus.com" target="_blank">sebastien.guimmara.external@airbus.com</a>></span> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div lang="FR" link="blue" vlink="purple">
<p class="m_-2139455093800528260045d3e0a-cd52-44a1-bb54-321b706d77cf"></p>
<div class="m_-2139455093800528260WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks for the quick reply. I’ll use a workaround for the moment (gdal_translate) to convert the data types.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Sébastien<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Andrew Bell [mailto:<a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.<wbr>com</a>]
<br>
<b>Envoyé :</b> lundi 13 mars 2017 15:52<br>
<b>À :</b> GUIMMARA, Sébastien (External)<br>
<b>Cc :</b> <a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<b>Objet :</b> Re: [pdal] [writers.gdal] How to specify the output data type as Float32?<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div><span class="">
<p class="MsoNormal">On Mon, Mar 13, 2017 at 9:04 AM, GUIMMARA, Sébastien (External) <<a href="mailto:sebastien.guimmara.external@airbus.com" target="_blank">sebastien.guimmara.external@<wbr>airbus.com</a>> wrote:<u></u><u></u></p>
</span><span class=""><p class="MsoNormal">Dear all,<br>
<br>
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 ?<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</span><div>
<p class="MsoNormal">No.  This is an open issue that I hope to fix soon.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">Moreover, the exact syntax of the gdalopts parameter is unclear. Is it a single string encapsulating all options ? e.g:<br>
<br>
"gdalopts":"KEY0=VALUE0,KEY1=<wbr>VALUE1,..."<u></u><u></u></p>
</blockquote>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">It *should* work, but apparently there's a bug.  The arguments aren't passed along.  I'll fix shortly.</p></div></div></div></div></div></div></blockquote><div><br></div><div>I've fixed the issue of gdalopts being ignored in the master branch.  Please let me know if have other problems.</div><div><br></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</div></div>