On Mon, Oct 29, 2012 at 9:08 PM, Ákos Maróy <[email protected]> wrote:
> Edward,
>
> My first thoughts:
>
> Create a polygon fill for the area with the slash. Then, have a second
> polygon fill with a geometry transformation buffer and specify a negative
> value to have a polygon  smaller than the original polygon:
>
> http://docs.geoserver.org/stable/en/user/filter/function_reference.html#filter-function-reference
>
> since I posted my email, I was working down the same line. it seems the the
> buffer transformation creates an area around the original polygon - that is,
> it will create an area between the outside and the inside of the original
> polygon. the fill works on it, but I can't seem to make it work only on the
> inside.

It seems to me what you want is a "single side buffer". JTS offers it,
but it's not
mapped to a filter function, some coding is needed back in Geotools.
Have a look at FilterFunction_buffer in the GeoTools main module for
inspiration,
and see META-INF/services to see how they are registered in the plugin system.

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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

------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to