On Fri, Jun 17, 2011 at 1:28 AM, David Collins <[email protected]>wrote:
> David,
>
> I now figure that you are the author of the CSS module - nice work!
Yep, it's me. Thanks :)
>
> Any plans to include label placement fields?
> With long labels, the SLD default of putting the left point of the text at
> the polygon centroid is not good for long labels - like map names, for
> example.
>
> http://docs.geoserver.org/stable/en/user/community/css/tutorial.html
>
> 'Note You may have noticed this snippet doesn’t include the LabelPlacement
> fields from the SLD. The CSS module doesn’t yet support this option.'
> Regards,
> David
It's been some time since I wrote that tutorial and it's probably a bit out
of date (I usually try to keep the docs in sync with the code but sometimes
things do slip through the cracks.) I am pretty sure that I implemented
anchors and offsets for labels some time ago[1], but the tutorial and the
property listing[2] don't seem to reflect that. If you'd do a bit of user
testing and verify they're hooked up, that'd be great, and patches to the
documentation are always welcome as well ;)
--
David Winslow
OpenGeo - http://opengeo.org/
[1]:
https://github.com/dwins/geoscript.scala/blob/master/geocss/src/main/scala/Translator.scala#L444
[2]:
http://docs.geoserver.org/stable/en/user/community/css/properties.html#text-symbology-labeling
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users