Markus Schneider wrote:
Hi,
> >> This is the current state for all services. (+ means: beans/adapters are in d3_core not d3_services):
> >>
> >> - SOS: -
> >> - WCS: -
> >> - WFS: +
> >> - WMS: -
> >
> > well, for WMS the situation is not so simple. Parsing the requests
> > relies on the version specific controller classes, so moving the request
> > stuff to core means
> >
> > a) split the version specific controller classes and move some of the
> > stuff to core (along with the requests itself)
>
> In what way? I found that for the WFS it was possible (although a bit cumbersome) to eliminate any dependencies on
> controllers or configuration from the request parsers / requests.
>
> Of course, this implies a strict separation of request parsing and resource lookup/context-based validation. E.g. in the
> GetFeature request adapters, the typeName attributes cannot be checked against the offered featuretypes, but must be
> represented as simple QNames. The lookup if the featuretype really exists must happen in a later stage in the
> controller/service in order to make this usable outside the controller context.
>
> So basically the parsing / bean representation boils down to a syntactic analysis that cannot be dependent on any context.
>
> Or am I missing something specific to the WMS here?
yes, well, I partly agree with you. The problem I'm having is the
parsing of the bboxes together with the CRS. In order to create version
independent beans, I have to check the axis order for WMS 1.3.0
requests, in order to generate correct Envelope instances. Just doing a
syntactic analysis and storing an array of doubles is not an option for
me ;-)
Of course it would be possible/easy to refactor that out to some common
WMSRequest/-Helper class or so, but as I said, I don't see any benefit
as long as no exporter is available. And since WMS is still under heavy
development, I don't really feel like cleaning up already anyway.
> > BTW: Your use case above (converting an SLD GetMap XML request to a WMS
> > KVP request) really crosses specifications. WMS does not have XML
> > requests ;-)
>
> Oops :-) So does the WMS support any XML requests at all?
Nope. Although I guess that WMS 1.4/2.0 will support all kinds of fancy
encodings ;-)
Best regards, Andreas
--
l a t / l o n GmbH
Aennchenstrasse 19 53177 Bonn, Germany
phone ++49 +228 18496-0 fax ++49 +228 1849629
http://www.lat-lon.de http://www.deegree.org ------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
deegree-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-devel