<html>
<head>
<!-- Template generated by Exclaimer Signature Manager Exchange Edition on 09:40:31 Sunday, 4 June 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css">P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
.ExternalClass * {
        LINE-HEIGHT: 100%
}
</style>
</head>
<body>
<p class="ImprintUniqueID"></p>
<div><br>
Hi,<br>
<br>
I'm looking to (eventually) manage several hundred raster layers in Postgis.<br>
<br>
I have prototyped a single layer using a worldclim file, and can open the Postgis raster table in QGIS (using db manager) and display it as expected with pseudocolour. It is a single band layer, with pixel values in the -36 to 30 range (avg temperatures).<br>
<br>
I have set up a mapfile to serve this as a WMS. I can connect to the service with QGIS, see the layer listed and add it to the canvas. The legend shows the three colours I have set as classes for the layer, but the layer does not appear on the canvas (or if
 it does it is invisible).<br>
<br>
The mapserver log suggests (to me anyway) that it is working OK.<br>
<br>
I have added a global land shapefile, also served as WMS to the same mapfile to give some context, which opens and displays OK as a WMS layer in QGIS.<br>
<br>
The mapfile, along with the mapserver log entry, are at https://pastebin.com/2jjGFYaW<br>
<br>
If anyone can help me sort out why I'm not seeing any data in QGIS from the Postgis raster WMS layer, I'd appreciate it!<br>
<br>
<br>
Thanks<br>
<br>
Brent Wood<br>
<br>
Programme leader: Environmental Information Delivery<br>
NIWA<br>
DDI:  +64 (4) 3860529<br>
<br>
</div>
<br>
<table class="ImprintUniqueIDTable" style="BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="FONT-SIZE: 18pt; FONT-FAMILY: Arial; COLOR: #333333" valign="top"><font style="font-family:Calibri;font-size:12pt;color:#1F497D;font-weight:normal;">Brent Wood</font></td>
</tr>
<tr height="2">
<td height="1"><font style="font-family:Calibri;font-size:10pt;color:#1F497D;">Principal Technician - GIS and Spatial Data Management</font><br>
<font style="font-family:calibri;font-size:10pt;color:#1F497D;">Programme Leader - Environmental Information Delivery</font></td>
</tr>
</tbody>
</table>
<table class="ImprintUniqueIDTable" style="HEIGHT: 1px; BORDER-COLLAPSE: collapse; WIDTH: 96.43%" height="1" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td><font style="font-family:Calibri;font-size:10pt;color:#1F497D;">+64-4-386-0529</font><font style="font-family:Calibri;font-size:10pt;color:#1F497D;"> |
</font><font style="font-family:Calibri;font-size:10pt;color:#1F497D;">301 Evans Bay Parade, Greta Point, Wellington</font><font style="font-family:Calibri;font-size:10pt;color:#1F497D;text-decoration:none;"> |
</font><span style="font-family:Calibri;font-size:10pt;color:#0066CC;text-decoration:underline;"><a href="http://www.niwa.co.nz" title="" target="" style="font-family:Calibri;font-size:10pt;color:#0066CC;text-decoration:underline;"><span style="font-family:Calibri; font-size:10pt; color:#0066CC; text-decoration:underline;">www.niwa.co.nz</span></a></span></td>
</tr>
</tbody>
</table>
<table class="ImprintUniqueIDTable" style="BORDER-COLLAPSE: collapse; PADDING-BOTTOM: 5px; PADDING-TOP: 5px" height="76" cellspacing="0" cellpadding="0" width="500" border="0">
<tbody>
<tr>
<td style="WIDTH: 541px" height="66" valign="top" width="475" align="left"><a href="http://www.niwa.co.nz" target=""><img width="538" height="66" style="border: 0px Solid ; " src="cid:image525148.JPG@7727e5db.45ad7fcb" alt="NIWA"></a></td>
</tr>
</tbody>
</table>
<table class="ImprintUniqueIDTable" style="HEIGHT: 1px; BORDER-COLLAPSE: collapse; WIDTH: 96.43%" height="1" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td><font color="#1f497d" size="2" face="Calibri">To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service
 may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems.</font></td>
</tr>
</tbody>
</table>
<table class="ImprintUniqueIDTable" style="BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="500" border="0">
<tbody>
</tbody>
</table>
<br>
<br>
<br>
<p></p>
</body>
</html>