[Geoserver-devel] Empty layer groups

Hi,
as reported at http://jira.codehaus.org/browse/GEOS-3858
we're having problems with empty layer groups, as the WMS
code cannot handle them properly.

Now, imho an empty layer group is nonsense, it should not
exist in the first place.
Unfortunately the current GUI has a creation page that
basically forces the creation of an empty one,
and then redirects to the edit page (see attachments).

My plan would be to do like in the rest of the GUI, have
an abstract group page with full controls that then
is inherited by the "add new" and "edit" pages, and
that forces the group to be non empty via validation,
and then make also the catalog validation require
the group to be non empty and with a valid bbox.

I just though I'd ask since this would be a change
in the workflow

Opinions?

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

(attachments)

create.png
edit.png

np here.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

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

On Fri, Apr 2, 2010 at 12:46 PM, Andrea Aime <aaime@anonymised.com> wrote:

Hi,
as reported at http://jira.codehaus.org/browse/GEOS-3858
we're having problems with empty layer groups, as the WMS
code cannot handle them properly.

Now, imho an empty layer group is nonsense, it should not
exist in the first place.
Unfortunately the current GUI has a creation page that
basically forces the creation of an empty one,
and then redirects to the edit page (see attachments).

My plan would be to do like in the rest of the GUI, have
an abstract group page with full controls that then
is inherited by the "add new" and "edit" pages, and
that forces the group to be non empty via validation,
and then make also the catalog validation require
the group to be non empty and with a valid bbox.

I just though I'd ask since this would be a change
in the workflow

Opinions?

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel