Martin Desruisseaux ha scritto:
>  [EMAIL PROTECTED] a écrit :
> > shouldn't the objects returned by the coordinate operation
> > factories shared?
>
>  Yes they should. Which Geotools version are you using?
>
>  Factories were shared from the begining at least for factories with
>  null or empties Hints. Things are a little bit more complicated for
>  non-empty Hints, but caching has been added for them too in late
>  Geotools 2.3. If it still create a new factory at every call in
>  latest Geotools 2.3, then we may have a bug...
>
I see. I'm working against gt2 2.2.x, and the hints I was
using in that call were not null.

>  If we throw away
>  the factory after every method call, we defeat this caching.

I have fixed that on 2.2.x and trunk, had problems with svn
yesteday so I still haven't managed to commit on 2.3.x, but I'll do asap.

Cheers
Andrea


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to