Hi,

QGIS is setting the default contrast stretch reasonably If I read a GeoTIFF 
file from a local file. Statistics are included in the image through the GDAL 
tags
Tag 42112: <GDALMetadata>
  <Item name="STATISTICS_MAXIMUM" sample="0">0</Item>
  <Item name="STATISTICS_MEAN" sample="0">-10.126687384969</Item>
  <Item name="STATISTICS_MINIMUM" sample="0">-71.313484191895</Item>
  <Item name="STATISTICS_STDDEV" sample="0">9.6992444829123</Item>
  <Item name="STATISTICS_VALID_PERCENT" sample="0">11.53</Item>
</GDALMetadata>

However, if I open the same file through http the image opens with an estimated 
range between -12153 and 909.  Forcing QGIS to read the whole raster for 
finding the proper data range with the symbology settings is very slow. Does 
QGIS even try to find the existing statistics when image is  opened or is 
something going wrong with this URL:
http://latuviitta.kapsi.fi/data/jarvi_dem/saimaa_dem.tif?

-Jukka Rahkonen-

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to