WCS ResX ResY
Frank Warmerdam
warmerdam at POBOX.COM
Thu Oct 28 05:29:06 PDT 2004
Norman Barker wrote:
> Hi,
>
> thanks Steve L and Frank W for all your help, the WCS is working well.
> However when I use the RESX and RESY keywords in the http
> request, so for GTOPO30 I use RESX=300 and RESY=300 the
> base resolution I get
>
> msWCSGetCoverage(): WCS server error. A non-zero RESX/RESY or
> WIDTH/HEIGHT is required but neither was provided.
Norman,
I think the problem is that the resolution is used to compute a resolution
but your whole database is only 360x180 so 180/300 rounds to zero. Keep
in mind that when your dataset is in geographic coordinates the resolution
is going to be in degrees, not meters. So, try something like
RESX=0.0027&RESY=0.0027. That should give you a resolution of approximately
300m.
Also, you should correct your resolution metadata in your .map file accordingly.
I noticed it was misdeclared last night but forgot to mention it.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list