[Geoserver-devel] GSIP 84 - Control how layer groups are _exposed in_ the WMS capabilities document

Hi,

+1 if I have understood the proposal right as I suppose.

A diagram showing a tree with all these options, a screen capture about the tree shown by an imaginary well designed client, and a few more showing what happens if user selects the group level as WMS layer would be helpful. Also and especially later to be included in the user documentation.

It feels that for showing all this information for the user the application should show both titles and names for the layers and groups. At least screens of mobile clients may get crowded but that is another problem.

I had a very quick look and I think that QGIS is doing wrong with groups without names but with title. If group is selected it selects all the layers even it should select none. Good thing is that QGIS shows names, titles and abstracts for all the layers. OpenJUMP seems to do the right thing with groups having only a title, it does not select layers then.

-Jukka Rahkonen-

···

Andrea Aime wrote:

On Tue, Dec 11, 2012 at 6:52 PM, Andrea Aime <andrea.aime@anonymised.com8…> wrote:

Meh, reworked the title a few times and in the end forgot a few words, added them back:

http://geoserver.org/display/GEOS/GSIP+84±+Control+how+layer+groups+are+exposed+in+the+WMS+capabilities+document

C’mon, don’t by shy :slight_smile:

Here is my +1 to break the ice :-p

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


On Mon, Dec 17, 2012 at 12:59 PM, Rahkonen Jukka <Jukka.Rahkonen@anonymised.com…1245…> wrote:

Hi,

+1 if I have understood the proposal right as I suppose.

A diagram showing a tree with all these options, a screen capture about the tree shown by an imaginary well designed client, and a few more showing what happens if user selects the group level as WMS layer would be helpful. Also and especially later to be included in the user documentation.

It feels that for showing all this information for the user the application should show both titles and names for the layers and groups. At least screens of mobile clients may get crowded but that is another problem.

Unfortunately I don’t have anything like that, we do proposals before writing code so I cannot have
those screenshots.
Title and name have different uses: the “name” is meant for computers to be used in calls
to GetMap/GetFeatureInfo, while “title” is meant to be shown to the end users by clients.
Title is always present, Name not necessarily.

I had a very quick look and I think that QGIS is doing wrong with groups without names but with title. If group is selected it selects all the layers even it should select none. Good thing is that QGIS shows names, titles and abstracts for all the layers. OpenJUMP seems to do the right thing with groups having only a title, it does not select layers then.

Both behaviors seem legit to me.

If qgis allows visual selection of the root layer, and the root layer has no name, it’s reasonable that it expands the list of layers underneath it.
It’s a GUI interaction thing, the capabilities document is just a “catalog” of information, the client uses it as it sees fit.
OpenJUMP behavior seems also reasonable, but a bit restrictive, but if it does not allow the user to select the root of the group I believe it’s fine.

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