Hi Chris,
Sorry for my late reply as I was on leave.
I am of course interested in any work that has been done for this.
Has there been any patches uploaded on JIRA?
Thanks,
Niels
On 28/11/10 02:26, Chris Holmes wrote:
Hey Niels - Dustin and Dale have actually done some work on complex
features with WMS and SLD's. They just haven't been able to do a
proper contribution of the code. But if you'd like I think they'd be
happy to share the code with you and have you use anything that's useful.
They also have a working complex GML parser for GeoTools, if that's of
interest. Like it puts it in to complex feature objects.
C
On Thu, Nov 25, 2010 at 12:39 AM, Niels <[email protected]> wrote:
Hi,
I am currently working on making WMS work with complex features.
One of the main problems I am currently encountering, is that the
filters built from the SLD file are not working when applied in
the renderer, because the attributes inside them are x-paths, and
they can't be properly evaluated against the features.
However, I know that they would be evaluated perfectly if a
NameSpaceAwareFilterFactory (from app-schema) was used instead of
the default FilterFactory, correctly configured with the
prefix/namespace mappings provided by the user. So in fact the
implementation to evaluate these filters and expressions properly
already exists in the system, it is just not being used! And there
are some other side issues related to the same problem, like for
example, testing whether the attributes provided in the style
really exist for proper error reporting, etc... Of course we are
talking about code in the render and main packages, which aren't
aware of app-schema.
I think namespace support should not be a specific app-schema
thing, but something provided through the system. Everywhere in
the code I see hacks where namespaces are actively thrown away,
which is effectively causing bugs when people have different
properties with the same local name but different namespaces,
which should be supported. (see also
http://old.nabble.com/WFS-1.1-GetFeature-Attribute-missing-in-2.1-td30207470.html)
Why not move the implementation for the namespace awareness from
app-schema to the core of geotools, and allow the commonly used
filterfactory to be configured with namespace support?
I think this is the main milestone that needs to be reached before
WMS can support complex features. In fact I am pretty sure it is
the only issue that needs to be resolved, and it seems almost
impossible to work around it. And it would get rid of some buggy
behaviour!
--
*Niels Charlier*
Software Engineer
CSIRO Earth Science and Resource Engineering
Phone: +61 8 6436 8914
Australian Resources Research Centre
26 Dick Perry Avenue, Kensington WA 6151
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today
with the
Intel(R) Software Partner Program. Five $500 cash prizes are up
for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geotools-devel
--
*Niels Charlier*
Software Engineer
CSIRO Earth Science and Resource Engineering
Phone: +61 8 6436 8914
Australian Resources Research Centre
26 Dick Perry Avenue, Kensington WA 6151
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel