Hi,
I would like to use perpendicularOffset option to display street names,
but I noticed that the option is only applied to straight streets.
Digging into the code of LabelCacheImpl, I found that linestring with
maxAngleChange < MIN_CURVED_DELTA (3°) are painted with "paintStraightLabel"
(painted according to the offset value)
while others are painted with "paintCurvedLabel" (painted ignoring offset
value)
Does this mean that there is no perpendicularOffset implementation for
LineStrings
and no way to offset labels on linestrings with segments having more than 3°
angles ?
As I have an implementation of OffsetCurve based on JTS (and made available
in
OpenJUMP), I'd be interested in trying it for this purpose.
Is there a way to apply a function defined in a third party jar on the fly
to my geometry ?
Any hint for that ?
Thanks for the help
Michaël Michaud
tel : 01 43 98 85 59
DT/SD/TVD "Carte à la carte"
Institut Géographique National
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users