Hi Oiva,
Thanks for getting back to me.
All my layer names are one-word; in fact they're all the name of the
database table they come from. Layergroups are also all one word.
Also, having just double checked, all layers that are a member of the group
are both enabled and advertised.
The weird thing is of course, that this layer group is itself used in
another layergroup, and it works just fine in there (and that layergroup
appears in the GetCapabilities too).
---
I can't see anything wrong with the layergroup definition either; it's
short and to the point.
<layerGroup>
> <id>LayerGroupInfoImpl--782f6bee:13ff7243397:602e</id>
> <name>OS_MasterMap_Group_VML_Style</name>
> <mode>SINGLE</mode>
> <title>OS MasterMap</title>
> <publishables>
> <published type="layer">
> <id>LayerInfoImpl-3c770e77:13d265b8afd:-7feb</id>
> </published>
> <published type="layer">
> <id>LayerInfoImpl-3c770e77:13d265b8afd:-7fe7</id>
> </published>
> <published type="layer">
> <id>LayerInfoImpl-3c770e77:13d265b8afd:-7ffc</id>
> </published>
> <published type="layer">
> <id>LayerInfoImpl-3c770e77:13d265b8afd:-7ff8</id>
> </published>
> <published type="layer">
> <id>LayerInfoImpl-3c770e77:13d265b8afd:-7ff0</id>
> </published>
> </publishables>
> <styles>
> <style/>
> <style/>
> <style/>
> <style/>
> <style/>
> </styles>
> <bounds>
> <minx>380000.0</minx>
> <maxx>480000.0</maxx>
> <miny>200000.0</miny>
> <maxy>335000.0</maxy>
> <crs class="projected">EPSG:27700</crs>
> </bounds>
> </layerGroup>
Thoughts anyway?
Thanks,
Jonathan
On 17 October 2013 12:26, Hakala Oiva (MTT) <[email protected]> wrote:
> I am sure, if this has anything to do with layergroups, but with layers
> I have noticed one thing.
>
> Layer names must be one word. So not "my layer" but "mylayer, my_layer,
> my-layer etc." Maybe one of the layergoup layers is not visible, and that
> prevents the whole layergroup from being visible in GetCapabilities xml.
>
> Oiva Hakala
> ------------------------------
> *Lähettäjä:* Jonathan Moules [[email protected]]
> *Lähetetty:* 16. lokakuuta 2013 13:42
> *Vastaanottaja:* [email protected]
> *Aihe:* [Geoserver-users] Layergroup missing from WMS GetCapabilities
>
> Hi List,
> I have 8 layergroups on my server (2.3.5). But my WMS GetCapabilities is
> only returning 7 of them.
>
> Layergroups don't have an "advertised" or an "enabled", and I'm not
> aware of any way to make them disappear, so where has my eighth layergroup
> gone? It works fine and is used as part of another one of those layergroups
> (as are several others, so it's not the fact it's nested). It's just not
> listed for some reason.
>
> Applies to both 1.1 and 1.3.
>
> Thoughts?
>
> Thanks,
> Jonathan
>
> This transmission is intended for the named addressee(s) only and may
> contain sensitive or protectively marked material up to RESTRICTED and
> should be handled accordingly. Unless you are the named addressee (or
> authorised to receive it for the addressee) you may not copy or use it, or
> disclose it to anyone else. If you have received this transmission in error
> please notify the sender immediately. All email traffic sent to or from us,
> including without limitation all GCSX traffic, may be subject to recording
> and/or monitoring in accordance with relevant legislation.
>
--
This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED and
should be handled accordingly. Unless you are the named addressee (or
authorised to receive it for the addressee) you may not copy or use it, or
disclose it to anyone else. If you have received this transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users