[Mapserver-users] request=GetMap& error in MapServer v4.1
Ed McNierney
ed@topozone.com
Wed, 14 Apr 2004 15:45:49 -0400
Daniel -
Yes, I speculated that was the case after I wrote - thanks for
confirming it. My Irish Catholic upbringing compels me to carefully
follow all the rules, so I never dared to be so adventurous as to
attempt a deliberately underspecified request ;->
- Ed
-----Original Message-----
From: Daniel Morissette [mailto:dmorissette@dmsolutions.ca]
Sent: Wednesday, April 14, 2004 3:43 PM
To: Ed McNierney
Cc: Rene Teniere; mapserver-users@lists.gis.umn.edu
Subject: Re: [Mapserver-users] request=GetMap& error in MapServer v4.1
Ed McNierney wrote:
>
> I'm a little puzzled - your GetMap request is missing several required
> parameters (SRS, BBox, Width, Height, Layers, etc.). I'm surprised it
> worked at all in 4.0.2. The error message is (a little obscurely)
> complaining because you have no LAYERS at all.
>
Before V4.1, MapServer used to forgive all those missing parameters in
GetMap and use default values from the mapfile.
In 4.1 the checking has been made more strict on some parameters in
order to pass some of the tests in the OGC test suite, and the LAYERS
parameter is one of those parameters that we check for. You probably
get the error on LAYERS because it's the first parameter that is checked
for, and once it finds one error it stops and doesn't report other
missing parameters.
Daniel
--
------------------------------------------------------------
Daniel Morissette dmorissette@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users