Hi Alexander,
Thanks for the response. Yes, I am using a GetCoverage request that
looks like this:
http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/netCDF/netcdf.map
SERVICE=wcs
VERSION=1.0.0
REQUEST=GetCoverage
COVERAGE=elev
CRS=EPSG:4326
BBOX=125,50,130,55
WIDTH=600
HEIGHT=600
Sorry for the spam, I think I found the answer. Both RESX and RESY
need to be positive values. Using that, I am able to get back data
that matches the original data.
Thanks,
Roger
--
On Thu, Mar 19, 2009 at 11:36 AM, Roger André ran...@gmail.com wrote:
Hi Alexander,
Thanks for the
Sure thing. Here are the OUTPUTFORMAT declarations I have:
OUTPUTFORMAT
NAME GEOTIFF_FLOAT
DRIVER 'GDAL/GTiff'
MIMETYPE 'image/tiff'
IMAGEMODE FLOAT32
EXTENSION 'tif'
END
OUTPUTFORMAT
NAME ASCII_GRID
DRIVER 'GDAL/AAIGrid'
MIMETYPE 'image/grid'
IMAGEMODE FLOAT32
EXTENSION
You're right, 1/2 pixel offset is definitely present. What a pain.
Any idea when the 5.4 stable release is expected? I see that a beta
release is available currently.
--
On Thu, Mar 19, 2009 at 1:55 PM, Roger André ran...@gmail.com wrote:
Sure thing. Here are the OUTPUTFORMAT declarations I
On Thu, Mar 19, 2009 at 2:59 PM, Roger André ran...@gmail.com wrote:
You're right, 1/2 pixel offset is definitely present. What a pain.
Any idea when the 5.4 stable release is expected? I see that a beta
release is available currently.
--
This is the ticket I found relevant to the issue:
Are you seeing the issue with both WCS 1.0 and WCS 1.1? I could have
sworn I fixed WCS 1.0 back at the 5.0 but
perhaps the merge of the WCS 1.1 support broke that. There is code in
mapwcs.c to account for the differences in
various pixel models (MapServer, WCS 1.0 and WCS 1.1).
Steve
On
Hi Steve,
You're right. Version 1.0.0 requests don't show a 1/2 pixel offset
when overlaid on a static data image, version 1.1.0 does. However,
once they're overlaid, I do see a difference in data values. I'm
going to have to figure that one out next.
Roger
--
On Thu, Mar 19, 2009 at 3:04
Sorry for the hassles. Changing the pixel model between versions is a
pain. Now MapServer matches WCS 1.0 and GDAL matches WCS 1.1 I believe.
Steve
Roger André ran...@gmail.com 03/19/09 6:55 PM
Hi Steve,
You're right. Version 1.0.0 requests don't show a 1/2 pixel offset
when overlaid on a