Hi folks,

I want to fix the bug in the feature info tool (swing module) that was
pointed out by Richard the other day...

http://n2.nabble.com/Unable-to-view-lat-long-coordinate-layer-td4550186.html#a4550186

http://jira.codehaus.org/browse/GEOT-2956

...but I quickly realized that I'm quite ignorant about how queries
and filters fit together.

Basically, what I want to do is a bbox query, where the bounding box
is defined by a ReferencedEnvelope, across layers which can differ in
their projections.

I naively thought that creating a DefaultQuery with a bbox filter and
using the setCoordinateSystemReproject method would accomplish this,
but a quick look at the DefaultQuery code shows that this won't work
because the filter is evaluated first with no consideration of the
CRS.  Also, although the SRS is set for the bbox filter when it is
constructed, I can't see anywhere that it is used when evaluating the
filter.  In short, there is a lot that I don't understand :-(

What's the best approach ?

Michael

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to