I was attempting to write documentation for label placement (plus fix
all the inconsistencies with the spec), and I noticed some problems
with the SLDStyleFactory and TextStyle2D.

It turns out the SLDStyleFactory is actually trying to do [poor] label
placement (see around line 570)! This also results in a loss of
information if you're using a <LinePlacement> element in your SLD.


1. remove the placement code from SLDStyleFactory!
2. get rid of the "AbsoluteLineDisplacement" stuff and replace it with
something that represents <PointPlacement>/<LinePlacement> elements in
the TextSymbolizer.

The current implementation seems to try to convert a <LinePlacement> and
an actual line into a <PointPlacement> (and setting the
AbsoluteLineDisplacement flag)!! This should be done by the real
labeling code.

This change could affect the j2d renderer as it appears to use the
"AbsoluteLineDisplacement" flag.

dave




----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to