Ciao guys,
this problem was solved (at least for GeoServer WMS and WCS) a while
ago at least for the raster-branch, since I deprecated the old method
of calculating map scale and I committed a new one that does uses a
BufferedCoordinateOperationFactory shared by the streaming renderer (I
recall that Andrea helped me to improve that code). Same thing happens
with AbstractGridCoverageReader2D where the buffered factory is shard
by all readers.
Naturally there is still room from improvements.
Baseline is, IMHO, GeoServer should start following geotools releases
a bit closer (Geotools trunk is 2.4.x and GeoServer is built against
2.2.x, too bad) in order to avoid fixing the same errors X times in a
row.
Simone.
On 10/11/06, aaime@anonymised.com <aaime@anonymised.com> wrote:
Martin Desruisseaux ha scritto:
> aaime@anonymised.com 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
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel
--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions
-------------------------------------------------------