Andrea Aime wrote:
> 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.
Oh I was under the impression you made a strategy object for the
different kinds of scale computations? In which case it would of been a
new API. My mistake.
> 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).
So when the code gets around to calculating do you have an "if"
statement to choose between
the different techniques?
> 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".
Okay so there is a Jira item that is marked closed for 2.2.3 and forward
then ...
> 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).
Great :-) Well this is exactly the sort of thing we want to tack (if
only with a Jira) so that the "trunk on trunk" idea
works out for everyone.
Jody
-------------------------------------------------------------------------
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