2009/9/11 iceDice wrote:
>
> I use jars from 2.6-SNAPSHOT to get JMapFrame to work.
> Do you have any idea what is problem?

Were you using GeoTools 2.5 when you got the correct results ?

Label placement - in fact, rendering of everything - is the
responsibility of the renderer. JMapPane is just displaying the
results (just a dumb panel in other words :)

What actually happens is that the renderer is asked to draw the
features and labels within the current map area into a BufferedImage
and this is then displayed by the map pane. The same basic method is
used in 2.5 and 2.6 versions.

So I'm guessing that the label differences are caused by changes in
GeoTools rendering code between 2.5 and 2.6.  For this I'll have to
defer to Andrea (copying this message to him) because I don't know
enough about the rendering and styling logic myself. Hopefully he can
suggest an explanation (e.g. changes in treatment of SLD).

Meanwhile, if it's possible to send me a small sample of data and your
SLD that works in 2.5 but not in 2.6 I will try it here and see if I
can spot something.

Michael

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to