[Mapserver-users] Unique layer naming for WMS serving

Daniel Morissette morissette at dmsolutions.ca
Tue Aug 26 17:37:43 EDT 2003


Brent Fraser wrote:
>  
>   I see that the WMS server portion of Mapserver renames the layers (by 
> adding _01, _02, etc) to ensure the names are unique.  Is there a way to 
> prevent that?
>  

Nope.

>  
>   I've tried grouping (GROUP and WMS_GROUP_TITLE) but it exposes the 
> individual layer names to the user (it may have to do for now).
>  

We've talked about defining a way to prevent layers from being served 
via WMS but nothing has happened yet, see 
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=337

>   In my experiments with WMS_GROUP_TITLE, it seems that only one group 
> is recognized per map file and that all layers will be included in it.  
> Is that true?
>  

Multiple groups should work unless there is a bug that I'm not aware of. 
  Note that the wms_group_title metadata value is read only from the 
metadata of the first layer in the group

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               morissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-users mailing list