On 30 March 2011 12:18, Gis Mage <[email protected]> wrote: > Hello! > > I'm doing a pretty strict cartographic map. > 1. How can I create a LineSymbolizer, which will produce two parallel dash > lines with 1 px hollow in between? > Like two same lines with positive and negative offset from centerline by > 1px.
Draw a 3px wide dashed line (see dash array) and then draw a 1px white line above. (http://docs.geoserver.org/latest/en/user/styling/sld-cookbook/lines.html#dashed-line) > > 2. How can I create a TextSymbolizer, which will follow the line and will > have an offset (be above the line at 2px)? See http://docs.geoserver.org/latest/en/user/styling/sld-cookbook/lines.html#optimized-label-placement and then add a PerpendicularOffset value of 2. Ian -- Ian Turton ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
