Ben Caradoc-Davies ha scritto:
Andrea Aime wrote:
I'm writing this mail to ask everybody to read and review the latest
GSIP, this time dealing with the split between resource management
and data publishing.
And here is the link:
http://geoserver.org/display/GEOS/GSIP+36+-+Resource+-+Publishing+Split+and+Virtual+Configuration
I think these are welcome changes. I have three remarks.
(1) This is an opportunity to expunge remaining assumptions that there is one only namespace per store.
Ideally the namespace should be set on the layer as opposed on
the resource, that is, the namespace should become a publishing
configuration. The one in the datastore may stay or may go,
the way I see it we'll do publishing overrides anyways no?
(2) Profiles would be a good enhancement. WFS limits us to one collection of a given feature type per service URL. For example, there can be only one collection of gsml:MappedFeature. Advocates of this approach would like to see all queries made on properties, but this does not support different approaches to encoding complex responses. In the GeoSciML community there are two factions: those who support nesting properties by value and those who prefer nesting by reference. The use of profiles in the service URL (I like the context path element option) would permit one GeoServer instance to serve both a nested-by-value and a nested-by-reference gsml:MappedFeature. At the moment, we are stuck either wrapping type (e.g. gsml:MappedFeatureUseCase2A) names or having multiple GeoServer instances.
Hum, I believe this could be done by maps as well? Profiles are about
service configurations such as the default max features, the cite
compliance settings, the list of srs reported by wms and so on.
Whatever is service specific as opposed to layer specific.
(3) The implementation of app-schema feature chaining requires each AppSchemaDataAccess instance to be aware of those containing properties it would like to nest. At the moment, we use a private registry. It would be better if there were more generic approach of inter-DataAccess communication. This would require, at the minimum, a catalog interface in GeoTools. Should the core catalog classes be pulled into GeoTools? Are they sufficiently generic? What does uDig use?
uDig has its own, there is a sort of a backport in gt2 land contained
in the unsupported gt2-repository package.
The last time I looked into it was two years ago, when I asked it
to be removed from main as it was confusing and completely void
of unit tests.
If you need that you can try to get it back in supported land,
give it enough testing, and make the API simpler and more to the
point. Once you have that adding a GeoServer module that chains
the GeoServer catalog with that one is possible (something
that also Christian was looking for afaik).
Alternatively we can try to backport the GeoServer catalog, but
I have the impression you don't need all the information our
catalog and xxxInfo objects do provide, a simplified version
that can be shared between GeoServer and uDig would be a good
thing in fact.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.