<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Times New Roman;color: #000000;font-size: 12pt;">
<div>
<div style="font-family:Tahoma; font-size:13px">
<div>
<div>
<div style="font-family:Tahoma; font-size:13px"><br>
</div>
</div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<div style="direction:ltr; font-family:Times New Roman; color:#000000; font-size:12pt">
<div>Dear QGIS developers,</div>
<div><br>
</div>
<div><br>
</div>
<div>I was having a shapefile of polygons with integer numbers between 0 and 33122 (33123 elements of long integers of arcgis). Then I was applying the rasterization function (raster>conversion>rasterize) and I was discovering that the numbers over the output
 raster were between 0 and 32767 plus other 354 clusters of cells with negative values (between 0 and -32768).</div>
<div><br>
</div>
<div>as is explained in this python documentation of;</div>
<div><br>
</div>
<div>https://docs.scipy.org/doc/numpy-1.10.0/user/basics.types.html<a href="https://docs.scipy.org/doc/numpy-1.10.0/user/basics.types.html" style="font-size:12pt" target="_blank">https://docs.scipy.org/doc/numpy-1.10.0/user/basics.types.html</a></div>
<div><span style="font-size:12pt"><br>
</span></div>
<div><span style="font-size:12pt">the int16 arrays only can contain numbers between -32768 and 32767, reason why the cells of the polygons with numbers higher than 32767 were negative.</span></div>
<div><span style="font-size:12pt"><br>
</span></div>
<div><span style="font-size:12pt">I was searching over the rasterization tool previously mentioned and there was no option to change the output format (to choose an int32 or higher format). </span></div>
<div><span style="font-size:12pt"><br>
</span></div>
<div><span style="font-size:12pt">My question is: is there anyway to prevent this error?  Can it be possible to add this option over the tool rasterize in order that the user can choose which format will be the output?.</span></div>
<div><span style="font-size:12pt"><br>
</span></div>
<div><span style="font-size:12pt">Thank you very much,</span></div>
<div><span style="font-size:12pt"><br>
</span></div>
<div><span style="font-size:12pt"><br>
</span></div>
<div><span style="font-size:12pt">Andres Diaz</span></div>
<div><span style="font-size:12pt">Fan of QGIS </span></div>
<div>
<div style="font-family:Tahoma; font-size:13px">
<div>
<div>
<div style="font-family:Tahoma; font-size:13px"><br>
</div>
<div>
<div style="font-family:Tahoma; font-size:13px">
<p class="MsoNormal" style="font-family:Tahoma; font-size:13px"><span lang="IT" style="color:#1f497d"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>