Awesome.  This will make for really great cartographic effects.

Stephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
[email protected]
clevelandmetroparks.com





-----Original Message-----
From: Andrea Aime [mailto:[email protected]] 
Sent: Tuesday, November 01, 2011 6:16 AM
To: Robert Buckley
Cc: [email protected]
Subject: Re: [Geoserver-users] Buffer function in an sld?

On Tue, Nov 1, 2011 at 8:10 AM, Robert Buckley <[email protected]>
wrote:
> Hi,
> I have recently read this pdf explaining the amazing capabilities of 
> slds and geoserver styling.
> GeoServer Cartographic Rendering
> - http://2010.foss4g.org/presentations/3588.pdf
> Looking at page 27 - Geometry transformationsm, it seems possible to 
> create a buffer in a sld file. How does this work?

The geometry transformations mechanism is described in the user guide:
http://docs.geoserver.org/stable/en/user/styling/sld-extensions/geometry-tra
nsformations.html

> I have a situation where I am trying to style a polygon with a thin 
> outline approx. 1 px and a relatively thick line - approx.10px  which 
> is on the inside of the polygon. This is currently not possible with 
> slds because i cannot define an offset for the thick line.
> Would I be able to use the sld geometry function to do this for me?

You mean something like in the attached image?
It has been generated using the attached pbuffer.sld

Unfortunately negative buffers were never tried out before and there was an
issue with them:
http://jira.codehaus.org/browse/GEOT-3936

I've just committed a fix, tomorrows nightly build from either trunk or
2.1.x series should work:
http://gridlock.opengeo.org/geoserver/

Cheers
Andrea

--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------



------------------------------------------------------------------------------
RSA&reg; Conference 2012
Save &#36;700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to