On Wed, Oct 31, 2012 at 6:29 PM, Martin Davis <[email protected]> wrote: > I don't know of any way to do this with pure styling. > > However, I think it would be possible to create a geometry function > which would generate the dashed offset lines as a new geometry, which > could then be styled as needed. (This is sort of like the offset > curve function that has already been proposed, but in order to get a > dash effect which matches on both sides, I think the dashes need to be > generated explicitly, rather than relying on dashed styling).
Another possible approach would be to create a thick dash, and then implement some support for composition (Mapnik style) so that another feature type can have a "inner line" that punches a central hole in the previously drawn FTS instead of adding on top of it. Technically this might be achieved using the DST_OUT AlphaComposition: http://docs.oracle.com/javase/tutorial/2d/advanced/compositing.html That said, it would require yet another extension to SLD, deal with it with the SLD parsers/encoders, modify the renderer to deal with it... but I guess it would be cool. 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 ------------------------------------------------------- ------------------------------------------------------------------------------ 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
