WCS sampling error

Norman Barker nbarker at RSINC.COM
Thu May 12 10:23:40 EDT 2005


Hi,

I am using the WCS to serve geotiff files, it seems that if the values of RESX and RESY are not equal to the base
resolution of the tiff image in the getCoverage request then the request fails with a black image being returned to the
user.

So, if resx, resy are 1.125 say then it works fine, but then another file having a resolution value of 1.21211211.. reported by the geotiff file (so resolution to a few more than 2 decimal places) causes the resampling to occur and the image to be blank.

Do I have to truncate my values of resx, resy when I export to geotiff to put the files in the WCS?  This resampling will
happen when I make other requests, will it also fail (I remember making reprojection requests with DEMs and this happened),
any advice would be appreciated.

Many thanks,

Norman Barker



More information about the mapserver-users mailing list