Re: [mapserver-users] Extraneous Default Layers
On 11-10-05 12:03 PM, SixDegrees wrote: The layer names themselves, however, also expand when clicked, and contain a 1-item list named default. I would like to get rid of this list entry; it serves no purpose, and confuses users. Selecting it also loads the named layer. I didn't double-check in QGIS, but I'd suspect the default entries are WMS STYLES. In WMS, each Layer has at least one style called default by default (this is implicit in the WMS spec, not explicitly listed in GetCapabilities). If that's what QGIS is showing you then there is not much you can do about this from MapServer's end. You could confirm this by creating named styles in your WMS (i.e. set GROUPs on some of your classes just for testing) and see if they show up at that same level in the QGIS interface: http://mapserver.org/ogc/sld.html#named-styles-support -- Daniel Morissette http://www.mapgears.com/ Provider of Professional MapServer Support since 2000 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Extraneous Default Layers
On 11-10-06 10:03 PM, Daniel Morissette wrote: On 11-10-05 12:03 PM, SixDegrees wrote: The layer names themselves, however, also expand when clicked, and contain a 1-item list named default. I would like to get rid of this list entry; it serves no purpose, and confuses users. Selecting it also loads the named layer. I didn't double-check in QGIS, but I'd suspect the default entries are WMS STYLES. In WMS, each Layer has at least one style called default by default (this is implicit in the WMS spec, not explicitly listed in GetCapabilities). If that's what QGIS is showing you then there is not much you can do about this from MapServer's end. Small correction: the default style does show up in the GetCapabilities for each Layer. -- Daniel Morissette http://www.mapgears.com/ Provider of Professional MapServer Support since 2000 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Extraneous Default Layers
This may be a problem with QGis, but I may be missing something in my Mapserver mapfile. The mapfile contains a number of layers, each with a GROUP name. There are roughly 500 layers and a dozen groups. When I load the mapfile via WMS, I see a list of group names. Clicking on any of these opens it, and a list of the layer names is seen. I can click on a layer name and load it. So far, no problems. The layer names themselves, however, also expand when clicked, and contain a 1-item list named default. I would like to get rid of this list entry; it serves no purpose, and confuses users. Selecting it also loads the named layer. I don't see that there's anything in the mapfile that would cause this; groups aren't nested, and there is no explicit default name anywhere in the file. If anyone knows how to get rid of this, I'd enjoy hearing. Thanks. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Extraneous-Default-Layers-tp6862714p6862714.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users