Edward Thank you. Your guess is correct. I try it and work perfectly.
Reagards, Babak Dehghenpour TU Delft Library/SSC ICT Library Innovation Developer Room 2.32 Prometheusplein 1,Postbus 98, 2628 ZC Delft * 015-2789437 Fax 015-2572060 * b.dehghenp...@tudelft.nl<mailto:b.dehghenp...@tudelft.nl> * library.tudelft.nl<http://www.library.tudelft.nl/> From: Edward Mac Gillavry [mailto:emacgilla...@hotmail.com] Sent: donderdag 11 augustus 2011 10:59 To: Babak Dehghenpour; geoserver-users@lists.sourceforge.net Subject: RE: [Geoserver-users] SLD problem Babak, Just recently delivered the SLDs for rendering TOP50NL for the Dutch Cadastre, so these pictures are well known to me! If I am correct, you are trying to render a wide motorway on a bridge, right? You create 4 FeatureTypeStyle elements, so you are sure that first the bridge is drawn in black, then the white surface of the bridge.is drawn. Thirdly, the black casing of the motorway is drawn and lastly the purple fill. If you don't apply 4 FeatureTypeStyle elements, but list all LineSymbolizer elements together, you will find black and white cropping up all over, depending on the order in which the geometries are drawn. So, for the wide motorways, you first define a LineSymbolizer with a stroke-width of 9 and a colour in black. Then a LineSymbolizer with a stroke-width of 7 and a colour of white. This creates the illusion of two perpendicular black lines in black that have a width of 1px! Thirdly, you define a LineSymbolizer with a stroke-width of 5 and a colour of #4e4e4e and finally a LineSymbolizer with a stroke-width of 3 and a colour #996089. Play a bit with the widths and opacity of the strokes, because 1px lines tend to blur easily. Also, you may want to adapt your filter to allow for more VISUALISATIECODE values that refer to the same object! Kind regards, Edward ________________________________ From: b.dehghenp...@tudelft.nl To: geoserver-users@lists.sourceforge.net Date: Wed, 10 Aug 2011 15:32:55 +0000 Subject: [Geoserver-users] SLD problem Hi, I have a problem with making of a SLD. I try make a SLD for an object. I want make something like this picture: [cid:image003.png@01CC58D2.12B85AF0] I try this <Rule> in SLD: <Rule> <Name>Typeweg=</Name> <Title>autoway </Title> <ogc:Filter> <ogc:PropertyIsEqualTo> <ogc:PropertyName>VISUALISATIECODE</ogc:PropertyName> <ogc:Literal>21005</ogc:Literal> </ogc:PropertyIsEqualTo> </ogc:Filter> <MinScaleDenominator>4700</MinScaleDenominator> <MaxScaleDenominator>154000</MaxScaleDenominator> <LineSymbolizer> <Stroke> <CssParameter name="stroke">#4E4E4E</CssParameter> <CssParameter name="stroke-linetype">cartoline</CssParameter> <CssParameter name="stroke-width">5</CssParameter> <CssParameter name="stroke-linecap">butt</CssParameter> <CssParameter name="stroke-linejoin">miter</CssParameter> </Stroke> </LineSymbolizer> <LineSymbolizer> <Stroke> <CssParameter name="stroke">#996089</CssParameter> <CssParameter name="stroke-linetype">cartoline</CssParameter> <CssParameter name="stroke-width">3.5</CssParameter> <CssParameter name="stroke-linecap">round</CssParameter> <CssParameter name="stroke-linejoin">round</CssParameter> </Stroke> </LineSymbolizer> <LineSymbolizer> <Stroke> <CssParameter name="stroke">#000000</CssParameter> <CssParameter name="stroke-linetype">cartoline</CssParameter> <CssParameter name="stroke-width">1.5</CssParameter> <CssParameter name="stroke-linecap">round</CssParameter> <CssParameter name="stroke-linejoin">round</CssParameter> <CssParameter name="stroke-dashoffset">5</CssParameter> </Stroke> </LineSymbolizer> <LineSymbolizer> <Stroke> <CssParameter name="stroke">#000000</CssParameter> <CssParameter name="stroke-linetype">cartoline</CssParameter> <CssParameter name="stroke-width">1.5</CssParameter> <CssParameter name="stroke-linecap">round</CssParameter> <CssParameter name="stroke-linejoin">round</CssParameter> <CssParameter name="stroke-dashoffset">-5</CssParameter> </Stroke> </LineSymbolizer> </Rule> I see that offset not work. And doesn't matter if set this line in the SLD or not: <CssParameter name="stroke-dashoffset">-5</CssParameter> Anyone know about this issue. Babak Dehghenpour TU Delft Library/SSC ICT Library Innovation Developer Room 2.32 Prometheusplein 1,Postbus 98, 2628 ZC Delft ( 015-2789437 Fax 015-2572060 8 b.dehghenp...@tudelft.nl<mailto:b.dehghenp...@tudelft.nl> 8 library.tudelft.nl ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users
<<inline: image002.png>>
<<inline: image003.png>>
------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users