<div dir="ltr"><div>Hi,<br><br></div><div>Some tiles generated from the MNT file might be filled with nodata value (-9999) so I guess that explains some "anormal" statistics values...<br></div><div>You should execute the statistics statement against all tile to check if all statistics are the same...<br>
I suggest you to test some commands from your home-compiled GDAL (gdalinfo -hist for example) too.<br><br></div><div>Also, data from MNT files seems to be integer values, I don't think that the correct pixel depth is 32BF.<br>
<br><br></div><div>For the QGIS issue, I think that mnt data is improper for display and should be processed into "displayable" raster data, such as GrayScale or TrueColors Bitmap. To do so, you might consider use st_colormap().<br>
</div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/22 Yves Jacolin <span dir="ltr"><<a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
Yes it uses 32BUI (as far I can remember). I will check tomorrow and<br>
made more test.<br>
<br>
Thanks,<br>
<br>
Y.<br>
<br>
2013/10/22 Pierre Racine <<a href="mailto:Pierre.Racine@sbf.ulaval.ca">Pierre.Racine@sbf.ulaval.ca</a>>:<br>
<div class=""><div class="h5">>> Because I did a quick test and copied past previous SQL requests and I did<br>
>> not<br>
>> clean it before! Of course you can remove the next 2 bands which don't<br>
>> exist<br>
>> but the first one should have correct statistic.<br>
>><br>
>> Thanks Pierre to let me know the logical ;)<br>
><br>
> Sorry I thought you were complaining about the error message not about the stats....<br>
><br>
> MNT250_L93_FRANCE.ASC is a text file right? I would suspect a bad interpretation of the decimal separator.<br>
><br>
> Check also what pixeltype was used by the importer with ST_BandPixelType() or ST_BandMetadata(). I suspect it used 32BUI (because it does not recognize the separator) when it should use 32BF.<br>
><br>
> Pierre<br>
> _______________________________________________<br>
> postgis-users mailing list<br>
> <a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
<br>
<br>
<br>
</div></div><div class="im">--<br>
Responsable Formation et Support<br>
Camptocamp France SAS<br>
Savoie Technolac, BP 352<br>
73377 Le Bourget du Lac, Cedex<br>
<br>
Tel (France) : <a href="tel:%2B33%204%2079%2026%2057%2098" value="+33479265798">+33 4 79 26 57 98</a><br>
Tel (Suisse) : 021 619 10 43<br>
</div><div class="im">Mob. : <a href="tel:%2B33%206%2018%2075%2042%2021" value="+33618754221">+33 6 18 75 42 21</a><br>
Fax : 04 79 70 15 81<br>
<br>
Mail : <a href="mailto:yves.jacolin@camptocamp.com">yves.jacolin@camptocamp.com</a><br>
<a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a><br>
</div><div class=""><div class="h5">_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br></div></div>