Making GeoServer SLD style for double dashed line
Is it possible to make SLD style for GeoServer maps to represent a street that has 3 tracks (or more) with something like this
I know that it is possible to make single dashed line ------ so the street will apear to have 2 tracks, but I was unable to make double dashed or triple dashed line. I just need to represent each track on street.
I think it might be possible with using custom shape along with textsymbolizer and then making it appear as double dashed line, but I cannot use that because of all vendor options for displacement cause I will have street name, street direction etc. also with textsymbolizer.
I was wondering is it possible with some line displacement or something similar?
Thanks to @Branco suggestion, I investigated qGIS and I used it's style editor to create my road style. What is interesting is that when I exported style to SLD it generated this PerpendicularOffset tag for LineSymbolizer… I never knew that tag exists… and this is the solution
#ffffff 0.53 round round 1 2 0.8 #ffffff 0.53 bevel square 1 2 -0.8
This is not an answer but a suggestion for anytime you're making an SLD. I find that creating the SLD in qGIS and then importing it into GeoServer to be a lot easier/quicker than creating it through the XML or style builder. Check out (http://www.camptocamp.com/actualite/qgis-and-geoserver-creating-styles/) for more information.
It would be good for more people to know about qGIS's ability to create SLD files.
This is an extension of the usual way of drawing cased roads, first draw a wide black line (say 5px) then draw a grey line (4px wide) and then a dashed white line (3px wide) and then a grey line (2px) wide.
This will be quiet slow but GeoServer will try to cache as many of the features as it can so it shouldn't be too bad but don't turn this on a full map scale.