Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#13 closed defect (fixed)

WMS - Layer names should be unique

Reported by: dmorissette Owned by: dmorissette
Priority: high Milestone:
Component: WMS Server Version: 3.5
Severity: normal Keywords:


Layer names inthe WMS capabilities should be unique, but this is not a 
requirement in MapServer.

FIX: Scan the map file (in memory) after it's loaded to add an index to layer 
names that are repeated more than once.

Change History (2)

comment:1 by dmorissette, 21 years ago

Resolution: fixed
Status: newclosed
Fixed.  Duplicate layer names will be renamed with a unique number at the end.

comment:2 by dmorissette, 21 years ago

Note the fix is local to mapwms.c and does NOT affect the other parts of 
MapServer like the mapserv CGI.
Note: See TracTickets for help on using tickets.