I am not able to create this "inside puffer with transparent hole "sld using 
difference as this needs two separate input geometries in order to create the 
buffer.

I wanted to do this with just one polyon geometry.

yours,

Rob


________________________________
 Von: Robert Buckley <[email protected]>
An: "[email protected]" 
<[email protected]> 
Gesendet: 11:50 Dienstag, 21.Februar 2012
Betreff: Re: [Geoserver-users] SLD: inside Puffer
 

Hi,

sorry.. buffer = "puffer in german.

Thanks for the advice...ill give it a try

yours,

Rob




________________________________
 Von: Andrea Aime <[email protected]>
An: Robert Buckley <[email protected]> 
Cc: "[email protected]" 
<[email protected]> 
Gesendet: 10:52 Dienstag, 21.Februar 2012
Betreff: Re: [Geoserver-users] SLD: inside Puffer
 

On Mon, Feb 20, 2012 at 1:38 PM, Robert Buckley <[email protected]> 
wrote:

Hi,
>
>
>I have tested the inside puffer capability of the geometry filter function and 
>find it great. There is one detail though that I can´t create.

Puffer? You mean buffer?
Puffer does not seem to apply to GIS: http://en.wikipedia.org/wiki/Puffer
 

>
>I have a polyon which needs to be symbolized with an inner ring of 3.5mm at 
>1:50,000. This can be done with the filterfunction. The problem is that the 
>the middle of the polygon ie the area inside the polygon past the puffer must 
>be fully transparent .In effect this is a hole in the middle. 
>
>
>The filterfunction can indeed create a puffer, but the center of the polygon 
>will always be filled.

So you're trying with a negative buffer, but that just shrinks the polygon, 
while you want to extract some sort of border 
instead?

I never tried myself, but I believe you can combine two filter functions, 
buffer and difference, to get what you 
want. Something like: difference(geom, buffer(geom, negativeDistance)) might 
work.

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
mob:    +39 339 8844549

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

-------------------------------------------------------
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to