<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi all,<br><br>I have some PNG files with bounding box. I am willing to publish them using MapServer WMS. I use the vrt file to specify geolocation like this:<br><br><VRTDataset rasterXSize="720" rasterYSize="148"><br>  <SRS>WGS84</SRS><br> <GeoTransform>-180, 0.5, 0.0,  -37.0, 0.0, 0.5</GeoTransform><br>  <VRTRasterBand dataType="Byte" band="1"><br>    <SimpleSource><br>      <SourceFilename relativeToVRT="0">surfRainMean2.png</SourceFilename><br>       <SrcRect xOff="0" yOff="0" xSize="720" ySize="148"/><br>       <DstRect xOff="0" yOff="0" xSize="720" ySize="148"/><br>    </SimpleSource><br>  </VRTRasterBand><br></VRTDataset><br><br><br>But the MapServer outputs a total black image if output format is png, and outputs a black-white image if output format is gif.  What should I do?<br><br>Thanks.<br><br>Peisheng <br><br /><hr />Access your email online and on the go with Windows Live Hotmail. <a href='http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_112008' target='_new'>Sign up today.</a></body>
</html>