[mapserver-users] Same name for GROUP and layer NAME ?
Ivan Mincik
ivan.mincik at gmail.com
Thu Apr 1 09:23:30 PDT 2010
On Thu, Apr 1, 2010 at 3:09 PM, Cristiano Sumariva <sumariva at gmail.com> wrote:
> Unfortunely I dont use WMS services yet.
> But looks like invalid generated XML if Name is nested inside Name.
> On this case I suggest filling a bug request.
>
> Since they are separate attributes they should not generate the same XML
> mark.
> The tag should be GroupName or should be Group
> <Group> tag and
> <Name>the group name</Name>
> <Layer>
> <Name>name ...
> </Layer>
> </Group>
>
> or
>
> <Group>
> <GroupName>the group name ...
> <Name>layer1 ..
> <Name> layer2
> I relying on XML documents I already parsed since don t used WMS features
> yet again.
>
This is the snippet from my GetCapabilities. I have GROUP called
'ulicemap' and LAYERS 'ulicemap' and 'ulice_multi'. What do You think
?
<Layer>
<Name>ulicemap</Name>
<Title>ulicemap</Title>
<Abstract>ulicemap</Abstract>
<Layer queryable="1" opaque="0" cascaded="0">
<Name>ulice_multi</Name>
<Title>ulice_multi</Title>
<SRS>EPSG:102067</SRS>
<LatLonBoundingBox minx="-64.6562" miny="-68.693"
maxx="114.323" maxy="-8.21012" />
<BoundingBox SRS="EPSG:102067"
minx="-2.5e+07" miny="-2.5e+07" maxx="2.5e+07"
maxy="2.5e+07" />
</Layer>
<Layer queryable="1" opaque="0" cascaded="0">
<Name>ulicemap</Name>
<Title>ulice</Title>
<SRS>EPSG:102067</SRS>
<LatLonBoundingBox minx="-64.6562" miny="-68.693"
maxx="114.323" maxy="-8.21012" />
<BoundingBox SRS="EPSG:102067"
minx="-2.5e+07" miny="-2.5e+07" maxx="2.5e+07"
maxy="2.5e+07" />
More information about the MapServer-users
mailing list