<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Paolo,</p>
<p>No - layer names have to be unique! WMS clients also need unique layer names. After all, they need to provide a list with visible layers in the correct order. How would the client address the layers individually, if the names are the same?</p>
<p>I believe you can switch to layer id's instead of layer names - but than you have the same issue that they need to be unique.</p>
<p>The issue you are referring to is probably the one that in the past layer ids in the global layer cache had to be unique. Now they have to be unique within the project, but not globally. This was fixed several months ago.</p>
<p>Andreas</p>
<p>On 2015-11-30 13:40, Paolo Cavallini wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Hi all,<br /> if I include layers and groups from two different projects, and the<br /> layers and groups have the same name, the second project is ignored, and<br /> the first layers are loaded twice instead.<br /> To me this seems clearly a bug (we have the same issue about duplicate<br /> names also elsewhere). I remember someone (Marco?) planned working on<br /> this. Any news?<br /> All the best.</div>
</blockquote>
<p> </p>
<div> </div>
</body></html>