Hi all,
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:
<VRTDataset rasterXSize="720" rasterYSize="148">
<SRS>WGS84</SRS>
<GeoTransform>-180, 0.5, 0.0, -37.0, 0.0, 0.5</GeoTransform>
<VRTRasterBand dataType="Byte" band="1">
<SimpleSource>
<SourceFilename relativeToVRT="0">surfRainMean2.png</SourceFilename>
<SrcRect xOff="0" yOff="0" xSize="720" ySize="148"/>
<DstRect xOff="0" yOff="0" xSize="720" ySize="148"/>
</SimpleSource>
</VRTRasterBand>
</VRTDataset>
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?
Thanks.
Peisheng
_________________________________________________________________
Access your email online and on the go with Windows Live Hotmail.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_112008_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users