Hi thereout,

 

it seems that Release 2.1 RC 2 has a new bug – when rendering some slds with 
lines top in top not in all the order within the SLD is remained.

 

Here you can see the sample:

 
<http://c.plan.at/wms?LAYERS=planat_str2&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=1824704.3680078,6149205.6062891,1829596.3377344,6154097.5760156&WIDTH=256&HEIGHT=257>
 
http://c.plan.at/wms?LAYERS=planat_str2&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=1824704.3680078,6149205.6062891,1829596.3377344,6154097.5760156&WIDTH=256&HEIGHT=257

The bridges of the railway are wrong

 

The SLD snippet is:

 

                <FeatureTypeStyle><Rule>

                                
<MinScaleDenominator>20000</MinScaleDenominator><MaxScaleDenominator>80000</MaxScaleDenominator>

                               <Name>map:mls_z13_blk_rail_br</Name>

                               <Title>Outlines</Title><Abstract>only Bridges 
Outlines for Railway</Abstract>

                               <ogc:Filter><ogc:Or>

                                               
<ogc:PropertyIsEqualTo><ogc:PropertyName>r</ogc:PropertyName><ogc:Literal>1</ogc:Literal></ogc:PropertyIsEqualTo>

                                               
<ogc:PropertyIsEqualTo><ogc:PropertyName>r</ogc:PropertyName><ogc:Literal>11</ogc:Literal></ogc:PropertyIsEqualTo>

                                               
<ogc:PropertyIsEqualTo><ogc:PropertyName>r</ogc:PropertyName><ogc:Literal>21</ogc:Literal></ogc:PropertyIsEqualTo>

                               </ogc:Or></ogc:Filter>

                               <LineSymbolizer><Stroke>

                                               <CssParameter 
name="stroke">#000000</CssParameter><CssParameter 
name="stroke-width">8</CssParameter>

                                               <CssParameter 
name="stroke-linejoin">round</CssParameter>

                               </Stroke></LineSymbolizer>

                </Rule></FeatureTypeStyle>

                <FeatureTypeStyle><Rule>

                                
<MinScaleDenominator>20000</MinScaleDenominator><MaxScaleDenominator>80000</MaxScaleDenominator>

                               <Name>map:mls_z13_whi_rail_br</Name>

                               <Title>Railway Whitespace</Title><Abstract>only 
Bridges Whitespace for Railways</Abstract>

                               <ogc:Filter><ogc:Or>

                                               
<ogc:PropertyIsEqualTo><ogc:PropertyName>r</ogc:PropertyName><ogc:Literal>1</ogc:Literal></ogc:PropertyIsEqualTo>

                                               
<ogc:PropertyIsEqualTo><ogc:PropertyName>r</ogc:PropertyName><ogc:Literal>11</ogc:Literal></ogc:PropertyIsEqualTo>

                                               
<ogc:PropertyIsEqualTo><ogc:PropertyName>r</ogc:PropertyName><ogc:Literal>21</ogc:Literal></ogc:PropertyIsEqualTo>

                               </ogc:Or></ogc:Filter>

                               <LineSymbolizer><Stroke>

                                               <CssParameter 
name="stroke">#ffffff</CssParameter><CssParameter 
name="stroke-width">6</CssParameter>

                                               <CssParameter 
name="stroke-linejoin">round</CssParameter>

                               </Stroke></LineSymbolizer>

                </Rule></FeatureTypeStyle>

                <FeatureTypeStyle><Rule>

                                
<MinScaleDenominator>20000</MinScaleDenominator><MaxScaleDenominator>80000</MaxScaleDenominator>

                               <Name>map:mls_z13_rail_out</Name>

                               
<Title>Eisenbahn</Title><Abstract>railway</Abstract>

                               <ogc:Filter><ogc:Or>

                                               
<ogc:PropertyIsEqualTo><ogc:PropertyName>r</ogc:PropertyName><ogc:Literal>1</ogc:Literal></ogc:PropertyIsEqualTo>

                                               
<ogc:PropertyIsEqualTo><ogc:PropertyName>r</ogc:PropertyName><ogc:Literal>11</ogc:Literal></ogc:PropertyIsEqualTo>

                                               
<ogc:PropertyIsEqualTo><ogc:PropertyName>r</ogc:PropertyName><ogc:Literal>21</ogc:Literal></ogc:PropertyIsEqualTo>

                               </ogc:Or></ogc:Filter>

                               <LineSymbolizer><Stroke>

                                               <CssParameter 
name="stroke">#980043</CssParameter><CssParameter 
name="stroke-width">4</CssParameter>

                               </Stroke></LineSymbolizer>

                </Rule></FeatureTypeStyle>

                <FeatureTypeStyle><Rule>

                                
<MinScaleDenominator>20000</MinScaleDenominator><MaxScaleDenominator>80000</MaxScaleDenominator>

                               <Name>map:mls_z13_rail</Name>

                               
<Title>Eisenbahn</Title><Abstract>railway</Abstract>

                               <ogc:Filter><ogc:Or>

                                               
<ogc:PropertyIsEqualTo><ogc:PropertyName>r</ogc:PropertyName><ogc:Literal>1</ogc:Literal></ogc:PropertyIsEqualTo>

                                               
<ogc:PropertyIsEqualTo><ogc:PropertyName>r</ogc:PropertyName><ogc:Literal>11</ogc:Literal></ogc:PropertyIsEqualTo>

                                               
<ogc:PropertyIsEqualTo><ogc:PropertyName>r</ogc:PropertyName><ogc:Literal>21</ogc:Literal></ogc:PropertyIsEqualTo>

                               </ogc:Or></ogc:Filter>

                               <LineSymbolizer><Stroke><GraphicStroke>

                                               <Graphic>

                                                               
<ExternalGraphic><OnlineResource xlink:type="simple" xlink:href="qu_white.svg" 
/><Format>image/svg+xml</Format></ExternalGraphic>

                                                               <Size>4</Size>

                                               </Graphic>

                               </GraphicStroke></Stroke></LineSymbolizer>

                </Rule></FeatureTypeStyle>

 

/snippet

 

BTW: is the bug with the stroke dash-arrays now solved?

 

Hope you can help me rearranging my bridges ;-)

 

Greetings from Vienna

 

Wolfgang

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to