[mapserver-users] Same name for GROUP and layer NAME ?
Ivan Mincik
ivan.mincik at gista.sk
Thu Apr 1 05:53:22 PDT 2010
On Thursday 01 April 2010, you wrote:
> I dont see any trouble on it. They are separate attributes.
Yes, they are separate attributes in mapfile, but in WMS URL, we can use layer NAME or GROUP in LAYERS= parameter as
value with the same meaning.
Also in GetCapabilities XML there is <Name>mylay</Name> nested in another
<Name>mylay</Name>, so I am not sure if this is valid.
I don't see any error, but something in my mind tells me, that it is not the best idea. But, in fact I need this
behavior to solve some specific task.
Ivan
>
> 2010/4/1 Ivan Mincik <ivan.mincik at gista.sk>
>
> > Hi,
> > is it OK to have same layer NAME and GROUP in one mapfile, like in this
> > example (mylay) ?
> >
> > LAYER CONNECTIONTYPE postgis
> > STATUS ON
> > NAME 'mylay'
> > GROUP 'mylay'
> > TYPE LINE
> >
> > LAYER CONNECTIONTYPE postgis
> > STATUS ON
> > NAME 'mylay2'
> > GROUP 'mylay'
> > TYPE LINE
> >
> > In my case (Mapserver 5.2.x) it is working well, but I am not sure if it
> > is good practise and also if it is going to
> > work in higher versions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100401/ae3a0011/attachment.sig>
More information about the MapServer-users
mailing list