Frank,<br><br>
<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">As long as WCS runs in &quot;raw mode&quot;, the original pixel values<br>should be preserved.&nbsp;&nbsp;Of course, we come full circle to the fact
<br>that rawmode does not currently support colortables.&nbsp;&nbsp;There is no<br>compelling reason it could not, but it isn't currently part of<br>the raw mode data model.&nbsp;&nbsp;I believe someone else has already created<br>a bug report on that, though I'm not promising if/when it will be
<br>dealt with.</blockquote><div><br>
Ok, Thank. I'll also look at the code to try and contribute.&nbsp;</div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Ah.&nbsp;&nbsp;The problem is that MapServer uses PROJ.4 format as it's internal<br>representation of coordinate systems, and it is very bad at identifying
<br>datums.&nbsp;&nbsp;So when you say epsg:4283 it is internally expanded to:<br><br>&nbsp;&nbsp; +proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs<br><br>When mapserver goes to write this to TIFF it is written as ellipsoid GRS80.<br>
<br>You might want to file a bug on this.&nbsp;&nbsp;It *might* be possible for me<br>to find the epsg:n value in cases like this and generate a proper<br>GeoTIFF definition based on that.&nbsp;&nbsp;This isn't normally an issue in<br>mapserver since it doesn't normally produced products with embedded
<br>coordinate systems.&nbsp;&nbsp;WCS is somewhat special in this regard.</blockquote><div><br>
Strangely enough the i found that on one of my other installs of
mapserver (I belive it was the Feb-2006 release of MS4W) this problem
didn't exist and the Geotiff created by WCS request had the correct
Coord Sys.&nbsp; While my current development server is running 'fgs'
with the cvs head of mapserver and its showing this problem. I'll do a
few more tests though before filing that bug.<br>
</div><br>
Thanks for all your help on this issue thus far... <br>
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">These issues are of general enough interest that I have taken the liberty<br>of cc:ing my response back to the list.
</blockquote><div><br>
I was thinking of doing that :) <br>
</div><br>shoaib<br>
</div><br>