Hi,
quick mail to propose a plan for a layer preview improvement on
trunk.
Atm the preview looks like attached. Pretty much... ugly!!!
I would like to replace it with something different.
The ideas are:
- merge it with the usual filterable/sortable style we have
in the other tables, using the workspace and the layer
name as the columns that can be used for filtering
and sorting
- show only 3 previews directly: openlayers, kml, gml
limited to 50 features
- show an extra dropdown with the full list of mime types,
when you click on it you get redirected to a preview
with the chosen type. It seems like a good idea, to me,
to include in the mix both wms and wfs 1.0 outputs, and
mark them accordingly, something like:
(wms) application/atom+xml
(wms) application/pdf
(wms) application/rss+xml
...
(wfs) gml2
(wfs) csv
...
As for having better looking names for the dropdown, we
may be able use the internationalization subsystem to
provide better looking labels starting from the mime types.
Or maybe we can just forget about that and fill the dropdown
with the mime types, it's supposed to be an advanced option
anyways.
Also, we may want to have two drodowns, one for wms
extras, and one for wfs extras. The end result
would be a table with xx columns:
- workspace
- layer name
- ol preview link
- kml preview link
- gml2 preview link
- other wms formats dropdown
- other wfs formats dropdown
(layers page also has 7 columns)
Maybe by clicking on the layer name one would get
to the layer description page that was made for
geosearch? Provided the page is available, that is.
Opinions?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.