Jody Garnett ha scritto:
> Andrea can I have a "upgrade to 2.3" instruction for this please" :-)
> 
> We did not go through a geotools proposal on this one (it is an API 
> change is it not?); is their a Jira that will show up in the
> change notes at least?

API change? Well, no new classes, no new public methods... I just added 
a hint to the streaming renderer, which is just as undocumented as the 
others :-(  I added a couple of public constants thought, so this is in 
fact a little API change.

By default you get the new scale computation algorithm, but if you need
the old, geodetic precise (on small area) algorithm, you can set the 
following hint:
Map hints = new HashMap();
hints.put("scaleComputationMethod", StreamingRenderer.SCALE_ACCURATE);
renderer.setRenderingHints(hints).

Moreover, this change has been performed on 2.2.x as well (I consulted
Jesse before). So it's not really "how to upgrade to 2.3.x", but "hey
we're OGC compliants now, if you still want the old behaviour, that's
the way".
I would also like to point out that the scale computation algorithm
has been changed quite a few times in the last year without notices
(and it seems, nobody noticed, too).

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