Sorry Dave - I thought you change made so much sense you were just
letting us know what you were going to do...
Thanks for waiting a couple of day, good use of the geotools three day
guidelines.
In general I am all for removing hacks, especially if they bring us
closer to following the spec. Could the strange code be moved to j2d
renderer where it is used?
That way everyone would still be happy.
Jody
[EMAIL PROTECTED] wrote:
I sent this message a little while ago, and there was no comment on it.
I'd like to make the changes so I can continue improving and documenting
the TextSymbolizer.
I'd like to make the changes on 2.1.x and trunk.
I'm SE Asia, so I've been unable to attend the meetings (they are at
about 3:00am for me). If anyone has any problems if I do this, let me
know NOW.
The only people who should be concerned are the j2d renderer people (I
saw a reference to "AbsoluteLineDisplacement" in it). That module is
in legacy, so I imagine its not a problem if I break it.
I didnt see any other references other than in the streaming/lite2
renderer.
dave
--------------------------------------
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
-------------------------------------------------------
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