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).

On Tue, Oct 30, 2012 at 11:22 PM, obtin <[email protected]> wrote:
> Hi everyone,
>
> I need to create cased lines with transparent interior as shown in the
> picture below. (The dash-offsetted grey double line starting where the
> railroad ends and going upwards to the left upper corner.)
> <http://osgeo-org.1560.n6.nabble.com/file/n5012432/metro.png>
>
>
> In this case there are actually two lines, one for each railroad track.
>
> If it wouldn't be for the transparent interior, this would be easy with two
> LineSymbolizers, one making the outer lines and the other making the fill.
>
> But how can I get the interior transparent in a way that the objects behind
> it will be visible (in this case different green-colored fills)?
>
> Regards,
> Jakob
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.n6.nabble.com/cased-lines-with-transparent-interior-in-SLD-tp5012432.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> 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



-- 
Martin Davis
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
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

Reply via email to