[Geoserver-users] Layer Grouping improvements

Hi guys,
I have here some code for a better management of layer-grouping option that I would like to share with the community.
The improvements are:

  • the possibility to add/remove any number of layer-groups
  • the possibility to insert an EPSG code and an Envelope ta a layer-group
  • the possibility to automatically generate the envelope of the layer-group
  • the layer-groups are listed into the WMS GetCapabilities and treated by GeoServer like other layers.

I would like to commit those changes into the 1.5.1 branch … my problem is that actually I really have no time to port the changes on other releases trunk, 1.6.x …

Let me know.

Cheers,
Alessio.

Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it


This functionality is great, and much needed IMHO - particulary if we can make elements of a layer group scale dependent.

I'm very concerned about committing any good stuff to a branch without keeping the trunk up to date though. I think there is no 1.6 as a separate branch - maybe ths makes it easier.

RA

Alessio Fabiani wrote:

Hi guys,
I have here some code for a better management of layer-grouping option that I would like to share with the community.
The improvements are:
- the possibility to add/remove any number of layer-groups
- the possibility to insert an EPSG code and an Envelope ta a layer-group
- the possibility to automatically generate the envelope of the layer-group
- the layer-groups are listed into the WMS GetCapabilities and treated by GeoServer like other layers.

I would like to commit those changes into the 1.5.1 branch ... my problem is that actually I really have no time to port the changes on other releases trunk, 1.6.x ...

Let me know.

Cheers,
        Alessio.

--
-------------------------------------------------------
Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
  

Hi Alessio,

Any chance we can get a bit more information. A couple of question?

1. Have you added a new configuration object called "LayerGroup"?
2. Is this a replacement for wmspath?

The reason I ask is because when I started to look at designing the
classes for a new config, I thought that Layer should be a first class
object, and Layer could be made up of other Layers, which would account
for grouping.

-Justin

Alessio Fabiani wrote:

Hi guys,
I have here some code for a better management of layer-grouping option
that I would like to share with the community.
The improvements are:
- the possibility to add/remove any number of layer-groups
- the possibility to insert an EPSG code and an Envelope ta a layer-group
- the possibility to automatically generate the envelope of the layer-group
- the layer-groups are listed into the WMS GetCapabilities and treated
by GeoServer like other layers.

I would like to commit those changes into the 1.5.1 branch ... my
problem is that actually I really have no time to port the changes on
other releases trunk, 1.6.x ...

Let me know.

Cheers,
        Alessio.

--
-------------------------------------------------------
Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Hi Justin,
no, I haven’t added any new object, I use the same system as now. Layer groups are loaded into maps when loading the configuration, I just added the envelope info. About the WMS GetCapabilities I generate the metadata on the fly.

On 4/20/07, Justin Deoliveira <jdeolive@anonymised.com> wrote:

Hi Alessio,

Any chance we can get a bit more information. A couple of question?

  1. Have you added a new configuration object called “LayerGroup”?
  2. Is this a replacement for wmspath?

The reason I ask is because when I started to look at designing the
classes for a new config, I thought that Layer should be a first class
object, and Layer could be made up of other Layers, which would account
for grouping.

-Justin

Alessio Fabiani wrote:

Hi guys,
I have here some code for a better management of layer-grouping option
that I would like to share with the community.
The improvements are:

  • the possibility to add/remove any number of layer-groups
  • the possibility to insert an EPSG code and an Envelope ta a layer-group
  • the possibility to automatically generate the envelope of the layer-group
  • the layer-groups are listed into the WMS GetCapabilities and treated
    by GeoServer like other layers.

I would like to commit those changes into the 1.5.1 branch … my
problem is that actually I really have no time to port the changes on
other releases trunk, 1.6.x …

Let me know.

Cheers,
Alessio.

Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it <http://www.geo-solutions.it>




This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/



Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it


Justin Deoliveira wrote:

Hi Alessio,

Any chance we can get a bit more information. A couple of question?

1. Have you added a new configuration object called "LayerGroup"?
2. Is this a replacement for wmspath?

The reason I ask is because when I started to look at designing the
classes for a new config, I thought that Layer should be a first class
object, and Layer could be made up of other Layers, which would account
for grouping.
  

Having parent/child WMS layers would be great Justin - and cut down on the amount of configuration that needs to be done.

Jody

Cool, it would be nice if their were some patches to look over. Any
chance we get a look at the code before diving too deep into speculation .

-Justin

Alessio Fabiani wrote:

Hi Justin,
no, I haven't added any new object, I use the same system as now. Layer
groups are loaded into maps when loading the configuration, I just added
the envelope info. About the WMS GetCapabilities I generate the metadata
on the fly.

On 4/20/07, *Justin Deoliveira* <jdeolive@anonymised.com
<mailto:jdeolive@anonymised.com>> wrote:

    Hi Alessio,

    Any chance we can get a bit more information. A couple of question?

    1. Have you added a new configuration object called "LayerGroup"?
    2. Is this a replacement for wmspath?

    The reason I ask is because when I started to look at designing the
    classes for a new config, I thought that Layer should be a first class
    object, and Layer could be made up of other Layers, which would account
    for grouping.

    -Justin

    Alessio Fabiani wrote:
    > Hi guys,
    > I have here some code for a better management of layer-grouping option
    > that I would like to share with the community.
    > The improvements are:
    > - the possibility to add/remove any number of layer-groups
    > - the possibility to insert an EPSG code and an Envelope ta a
    layer-group
    > - the possibility to automatically generate the envelope of the
    layer-group
    > - the layer-groups are listed into the WMS GetCapabilities and
    treated
    > by GeoServer like other layers.
    >
    > I would like to commit those changes into the 1.5.1 branch ... my
    > problem is that actually I really have no time to port the changes on
    > other releases trunk, 1.6.x ...
    >
    > Let me know.
    >
    > Cheers,
    > Alessio.
    >
    > --
    > -------------------------------------------------------
    > Eng. Alessio Fabiani
    > Vice President/CTO GeoSolutions
    >
    > http://www.geo-solutions.it
    >
    > ---------------------------------------------------------
    >
    >
    >
    ------------------------------------------------------------------------
    >
    >
    -------------------------------------------------------------------------
    > This SF.net email is sponsored by DB2 Express
    > Download DB2 Express C - the FREE version of DB2 express and take
    > control of your XML. No limits. Just data. Click to get it now.
    > http://sourceforge.net/powerbar/db2/
    <http://sourceforge.net/powerbar/db2/&gt;
    >
    >
    >
    ------------------------------------------------------------------------
    >
    > _______________________________________________
    > Geoserver-devel mailing list
    > Geoserver-devel@lists.sourceforge.net
    <mailto:Geoserver-devel@lists.sourceforge.net>
    > https://lists.sourceforge.net/lists/listinfo/geoserver-devel

    --
    Justin Deoliveira
    The Open Planning Project
    jdeolive@anonymised.com <mailto:jdeolive@anonymised.com>

--
-------------------------------------------------------
Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Hi Justin,
sorry for the delay … sure, I can send you the patch and we can then discuss about that.

I get this occasion to say that I can’t attend the meeting tomorrow … however I’ll chek out the logs and reply.

I’ll send you the patch ASAP.

On 4/20/07, Justin Deoliveira <jdeolive@anonymised.com> wrote:

Cool, it would be nice if their were some patches to look over. Any
chance we get a look at the code before diving too deep into speculation .

-Justin

Alessio Fabiani wrote:

Hi Justin,
no, I haven’t added any new object, I use the same system as now. Layer
groups are loaded into maps when loading the configuration, I just added
the envelope info. About the WMS GetCapabilities I generate the metadata
on the fly.

On 4/20/07, Justin Deoliveira <jdeolive@anonymised.com
mailto:[jdeolive@anonymised.com](mailto:jdeolive@anonymised.com)> wrote:

Hi Alessio,

Any chance we can get a bit more information. A couple of question?

  1. Have you added a new configuration object called “LayerGroup”?
  2. Is this a replacement for wmspath?

The reason I ask is because when I started to look at designing the
classes for a new config, I thought that Layer should be a first class
object, and Layer could be made up of other Layers, which would account
for grouping.

-Justin

Alessio Fabiani wrote:

Hi guys,
I have here some code for a better management of layer-grouping option
that I would like to share with the community.
The improvements are:

  • the possibility to add/remove any number of layer-groups
  • the possibility to insert an EPSG code and an Envelope ta a
    layer-group
  • the possibility to automatically generate the envelope of the
    layer-group
  • the layer-groups are listed into the WMS GetCapabilities and
    treated
    by GeoServer like other layers.

I would like to commit those changes into the 1.5.1 branch … my
problem is that actually I really have no time to port the changes on
other releases trunk, 1.6.x …

Let me know.

Cheers,
Alessio.

Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it < http://www.geo-solutions.it>




This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
< http://sourceforge.net/powerbar/db2/>



Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
<mailto: Geoserver-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com <mailto:jdeolive@anonymised.com >

Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it




This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/



Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it


Alessio Fabiani ha scritto:

Hi Justin,
sorry for the delay ... sure, I can send you the patch and we can then discuss about that.

Thanks a ton. If you manage to post the patch, ok, otherwise you may consider opening a jira issue, improvement type, and attach the patch there.

I get this occasion to say that I can't attend the meeting tomorrow ... however I'll chek out the logs and reply.

Cool. Let's hope there will be a meeting, an logs to read (last week we
had no meeting at all) :slight_smile:
Cheers
Andrea