This is just an idea. Being forced to do redirect WFS via a proxy where we are altering the response XML before passing it on. Application-schemas look pretty much designed for this kind of thing but what would really help would some kind of plugin architecture so can execute your own code within the transformation.
Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.
On Thu, Dec 5, 2013 at 9:07 PM, Phil Scadden <p.scadden@anonymised.com> wrote:
This is just an idea. Being forced to do redirect WFS via a proxy where
we are altering the response XML before passing it on.
Application-schemas look pretty much designed for this kind of thing but
what would really help would some kind of plugin architecture so can
execute your own code within the transformation.
To some extent we already have it, it's called filter functions, which I
believe
can be called from app-schema, and the scripting modules could allow
one to write new functions without having to deal with java (funny, I
thought this
was already supported, but I don't see it in the official docs here:
http://docs.geoserver.org/stable/en/user/community/scripting/hooks.html).
The problem there is that filter functions are a one way trip, which means
they are ineffective if you want to efficiently filter on the fields you're
generating out
of a function call.
It would be interesting to have some extended notion of function, that also
knows
how to invert itself in a filter, that is, replace itself with a filter
against its input
data (for those where this makes any sense, of course)
Cheers
Andrea
--
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
-------------------------------------------------------