Re: [mapserver-users] WMS layer swapping according to scale

2010-11-09 Thread Gracia Fernández López
Thanks a lot, putting the "wms_group_title" attribute in the metadata of each layer solved the warning. -- Regards Gracia El día 9 de noviembre de 2010 13:25, Rahkonen Jukka escribió: > Hi, > > I am not sure but it looks like the warning could be wiped away by adding > > "wms_group_title"    "g

Re: [mapserver-users] WMS layer swapping according to scale

2010-11-09 Thread Rahkonen Jukka
Hi, I am not sure but it looks like the warning could be wiped away by adding "wms_group_title""group" into LAYER - METADATA of one of the layers belonging to that group. I have seldomly used GetFeatureInfo. However, if you can control the application I would probably make it to send GetFe

Re: [mapserver-users] WMS layer swapping according to scale

2010-11-09 Thread Gracia Fernández López
Hello Rahkonen, Thanks for answering so quickly. I had already proved that, but I had obtained a warning in the GetCapabilities request and I didn't have realized that it was working. Do you know how I can solve the warning?: group ... layer1 ...

Re: [mapserver-users] WMS layer swapping according to scale

2010-11-09 Thread Rahkonen Jukka
Hi, Layers cannot have a same name in WMS. Use different names for layers and put them under the same GROUP. Use GROUP in WMS requests. Layers could look like LAYER GROUP "group" NAME "close" STATUS ON DATA "close.shp" TYPE POLYGON MAXSCALEDENOM 6

[mapserver-users] WMS layer swapping according to scale

2010-11-09 Thread Gracia Fernández López
Hello, I want to replace the polygon representations in a layer by markers when the zoom is out of a scale level. To do that, I have defined two layers in Mapserver to represent the same objects: one of them is a Polygon, and the other one is a Point (centroid), and I want to swap one for the oth