<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I have noticed that although Gdalinfo -stats shows the output tif as having data:<br><br><font style="font-size:8pt;" size="1">    STATISTICS_MAXIMUM=223</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    STATISTICS_MEAN=-1.4013838186591e+38</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    STATISTICS_MINIMUM=-3.3999999521444e+38</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    STATISTICS_STDDEV=1.6735675394745e+38</font><font style="font-size:8pt;" size="1"><br></font><br>When I open it in Qgis it shows <br>Min -3.4e+38<br>Max -3.4e+35<br><br>Is this a problem with my file or with Qgis?<br>Cheers, Steve<br><br><div><hr id="stopSpelling">From: stevetatman.research@live.co.uk<br>To: qgis-user@lists.osgeo.org<br>Date: Thu, 25 Feb 2016 19:49:09 +0000<br>Subject: [Qgis-user] Clipped tif not displaying<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">I have used this base file:<br><br><font style="font-size:8pt;" size="1">bio9_49.tif</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Driver: GTiff/GeoTIFF</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Files: bio9_49.tif</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Size is 3600, 3600</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Coordinate System is:</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">GEOGCS["WGS 84",</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    DATUM["WGS_1984",</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">        SPHEROID["WGS 84",6378137,298.257223563,</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">            AUTHORITY["EPSG","7030"]],</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">        AUTHORITY["EPSG","6326"]],</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    PRIMEM["Greenwich",0],</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    UNIT["degree",0.0174532925199433],</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    AUTHORITY["EPSG","4326"]]</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Origin = (90.000000000000000,-30.000000000000000)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Pixel Size = (0.008333333333333,-0.008333333333333)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Metadata:</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  AREA_OR_POINT=Area</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Image Structure Metadata:</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  COMPRESSION=LZW</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  INTERLEAVE=BAND</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Corner Coordinates:</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Upper Left  (  90.0000000, -30.0000000) ( 90d 0' 0.00"E, 30d 0' 0.00"S)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Lower Left  (  90.0000000, -60.0000000) ( 90d 0' 0.00"E, 60d 0' 0.00"S)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Upper Right ( 120.0000000, -30.0000000) (120d 0' 0.00"E, 30d 0' 0.00"S)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Lower Right ( 120.0000000, -60.0000000) (120d 0' 0.00"E, 60d 0' 0.00"S)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Center      ( 105.0000000, -45.0000000) (105d 0' 0.00"E, 45d 0' 0.00"S)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Band 1 Block=3600x1 Type=Float32, ColorInterp=Gray</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  Min=127.000 Max=250.000 </font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  Minimum=127.000, Maximum=250.000, Mean=0.000, StdDev=0.000</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  NoData Value=-3.39999999999999996e+38</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  Metadata:</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    STATISTICS_MAXIMUM=250</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    STATISTICS_MEAN=0</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    STATISTICS_MINIMUM=127</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    STATISTICS_STDDEV=0<br><br><font style="font-size:12pt;" size="3">I then used gdal_translate -projwin 114.5 -33.0 120.0 -35.5 -of GTiff bio9_49.tif</font></font><font style="font-size:12pt;" size="3"> clip_9.tif<br></font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">clip_9.tif</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Driver: GTiff/GeoTIFF</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Files: clip_9.tif</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">       clip_9.tif.aux.xml</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Size is 660, 300</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Coordinate System is:</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">GEOGCS["WGS 84",</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    DATUM["WGS_1984",</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">        SPHEROID["WGS 84",6378137,298.257223563,</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">            AUTHORITY["EPSG","7030"]],</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">        AUTHORITY["EPSG","6326"]],</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    PRIMEM["Greenwich",0],</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    UNIT["degree",0.0174532925199433],</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    AUTHORITY["EPSG","4326"]]</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Origin = (114.500000000000000,-33.000000000000000)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Pixel Size = (0.008333333333333,-0.008333333333333)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Metadata:</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  AREA_OR_POINT=Area</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Image Structure Metadata:</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  INTERLEAVE=BAND</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Corner Coordinates:</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Upper Left  ( 114.5000000, -33.0000000) (114d30' 0.00"E, 33d 0' 0.00"S)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Lower Left  ( 114.5000000, -35.5000000) (114d30' 0.00"E, 35d30' 0.00"S)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Upper Right ( 120.0000000, -33.0000000) (120d 0' 0.00"E, 33d 0' 0.00"S)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Lower Right ( 120.0000000, -35.5000000) (120d 0' 0.00"E, 35d30' 0.00"S)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Center      ( 117.2500000, -34.2500000) (117d15' 0.00"E, 34d15' 0.00"S)</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">Band 1 Block=660x3 Type=Float32, ColorInterp=Gray</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  Min=-339999995214440013906259394729726705664.000 Max=223.000 </font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  Minimum=-339999995214440013906259394729726705664.000, Maximum=223.000, Mean=-140138381865910009253764042088668725248.000, StdDev=167356753947449990662275439509815427072.000</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  NoData Value=-3.39999999999999996e+38</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">  Metadata:</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    STATISTICS_MAXIMUM=223</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    STATISTICS_MEAN=-1.4013838186591e+38</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    STATISTICS_MINIMUM=-3.3999999521444e+38</font><font style="font-size:8pt;" size="1"><br></font><font style="font-size:8pt;" size="1">    STATISTICS_STDDEV=1.6735675394745e+38</font><font style="font-size:8pt;" size="1"><br></font><br>Qgis will only display the clipped file as monochrome over the whole land surface.<br><br>Can anyone help solve this, it's driving me mad!<br>Cheers,<br>Steve<br>                                    </div>
<br>_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user</div>                                        </div></body>
</html>