[Geoserver-devel] Missing abstract definition of layer group in gwc integration

Behavior in GS-2.4.0:

After some test, i recognise that the abstract definition of a layer group
is not shown in gwc's getCapabilities request of WMS and WMTS as well as in
TMS 1.0.0 document.

I do not know if this behavior is based on specifications. However, the
abstract definition of the ordinary layers are distributiert by the services
of gwc integration over the geoserver.

Even with a getCapabilities demand on the internal WMS service from
Geoserver the abstract definition of a layer group is supplied, only the gwc
Services (WMS, TMS and WMTS) does not support this at the moment.

My question is: Is this a bug or a behavior based on specifications?

Greets,
2StepForward

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Missing-abstract-definition-of-layer-group-in-gwc-integration-tp5091032.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

Now i have found out the code lines, where the bug should be placed.

In file /gwc\src\main\java\org\geoserver\gwc\layer\GeoServerTileLayer.java/
in function: /public LayerMetaInformation getMetaInformation()/

There will be a subfunction call of /ResourceInfo resourceInfo =
getResourceInfo();/ in line: 308
This subfunction call will get the resourceInfo of a LayerInfo and thus only
regular layers will handle to setup the abstract information.

I have test it with following code change and it should be work:

Now all services of the gwc's geoserver integration will setup the abstract
node for LayerGroups.

I hope it will help to solve this issue.

Lg 2StepForward

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Missing-abstract-definition-of-layer-group-in-gwc-integration-tp5091032p5091616.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

On Thu, Nov 28, 2013 at 10:01 AM, 2StepForward <kwegezeder@anonymised.com> wrote:

Now i have found out the code lines, where the bug should be placed.

In file /gwc\src\main\java\org\geoserver\gwc\layer\GeoServerTileLayer.java/
in function: /public LayerMetaInformation getMetaInformation()/

There will be a subfunction call of /ResourceInfo resourceInfo =
getResourceInfo();/ in line: 308
This subfunction call will get the resourceInfo of a LayerInfo and thus
only
regular layers will handle to setup the abstract information.

I have test it with following code change and it should be work:

Now all services of the gwc's geoserver integration will setup the abstract
node for LayerGroups.

I hope it will help to solve this issue.

Please check if we already have this in the issue tracker (
http://jira.codehaus.org/browse/GEOS),
if so, add your findings, if not, create a new ticket instead.
Reports just on the mailing list tend to be lost/forgotten about

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Hello Andrea.

I've nothing found like this bug in the issue tracker. So it would be good
to record it in the issue tracker.
I could do that, but i haven't a account on http://jira.codehaus.org and it
tell me to contact a JIRA administrators to create an account.

Could you do that?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Missing-abstract-definition-of-layer-group-in-gwc-integration-tp5091032p5091628.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

On Thu, Nov 28, 2013 at 10:42 AM, 2StepForward <kwegezeder@anonymised.com> wrote:

Hello Andrea.

I've nothing found like this bug in the issue tracker. So it would be good
to record it in the issue tracker.
I could do that, but i haven't a account on http://jira.codehaus.org and
it
tell me to contact a JIRA administrators to create an account.

Look at http://jira.codehaus.org/browse/GEOS, there are instructions
on how to get an account, and create a ticket, in the top left area

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Bug report under: http://jira.codehaus.org/browse/GEOS-6201

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Missing-abstract-definition-of-layer-group-in-gwc-integration-tp5091032p5091652.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.