On 31/10/12 14:15, Andrea Aime wrote: > > Hmm... writing a function that gives you the width of the bbox of a polygon > is not hard, but there are issues: > * the width would be in the polygon native unit of measure, turning it into > pixels might not be easy, especially if there is reprojection involved > * the polygon main axis might be rotated, if so you'd probably end up > with a label that is quite out of the polygon indeed, but one could always try to work off the envelope of the polygon, which seems suitable for such a purpose > The best approach would be to implement support for SLD 1.1 label > offsets, which are specified in pixels. > thanks, I'll look into it...
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
