The SRS is used when we go to / from XML.  It *should* be used to construct the 
the correct ReferencedEnvelope as well.

I seem to recall some shapefile data store code that has a visitor to 
"reproject" the filter to match the data; I think wfs data store has something 
similar.

Jody

On 18/02/2010, at 4:16 PM, Michael Bedward wrote:

> Hi folks,
> 
> The subject says it all really.  As far as I can work out the the
> answer is no, at least in terms of how the filter is evaluated.
> 
> This is part of my quest to learn something about best practice for
> doing spatial queries across feature sources that have different CRSs,
> which in turn was prompted by a user pointing out that the "info tool"
> feature query thing in the swing module is too dumb to deal with this
> case.
> 
> I've now got a hacked local copy of the swing module that fixes the
> problem by transforming the query position / bounding box, but surely
> such a kludge shouldn't be necessary ? To put it another way, are
> CRS-aware spatial filters yet to happen in GeoTools (in which case I'd
> be happy to help) are am I just looking in the wrong place ?
> 
> Any hints would be much appreciated.
> 
> Michael
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs 
> proactively, and fine-tune applications for parallel performance. 
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Geotools-devel mailing list
> Geotools-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to