[mapserver-users] MapServer 5.2.2 GetFeatureInfo returns an error - FIXED

Daniel Morissette dmorissette at mapgears.com
Wed Apr 1 20:45:05 EDT 2009


Maarten Plieger wrote:
> 
> Is it possible to disable requests which have the server name as layers 
> parameter in a getmap request? Our server is called ADAGUC_WMS_Server. 
> Making a getmap request with this ID results in that all layers inside 
> this service are drawn in the same image, causing a high load. We have 
> many layers in our service. Of course some people want this feature, but 
> we want to disable it. I cannot find out how to do it, 

There seems to be a default value of "MS" for the map-level NAME param 
so removing it doesn't work. However I just made a test and setting 
'NAME ""' at the top level in the mapfile seems to do what you need.

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-users mailing list