铁路样式sld

  1. 云栖社区>
  2. 博客>
  3. 正文

铁路样式sld

龙盛国际 2016-02-19 14:17:00 浏览1064
展开阅读全文
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
<NamedLayer>
<Name>railway</Name>
<UserStyle>
   <Title>railway</Title>
   <Abstract>Default line style, 1 pixel wide blue</Abstract>

   <FeatureTypeStyle>
    <FeatureTypeName>Feature</FeatureTypeName>
    <Rule>
     <Title>Blue Line</Title>
     <Abstract>BLACK AND WHITE ONE BY ONE</Abstract>
    
    
    
      <LineSymbolizer>
      <Stroke>
      <CssParameter name="stroke">
      <ogc:Literal>#000000</ogc:Literal>
      </CssParameter>

      <CssParameter name="stroke-linejoin">
      <ogc:Literal>round</ogc:Literal>
      </CssParameter>
      <CssParameter name="stroke-opacity">
      <ogc:Literal>1.0</ogc:Literal>
      </CssParameter>
      <CssParameter name="stroke-width">
      <ogc:Literal>4.0</ogc:Literal>
      </CssParameter>

      </Stroke>
      </LineSymbolizer>
      <LineSymbolizer>
      <Stroke>
      <CssParameter name="stroke">
      <ogc:Literal>#ffffff</ogc:Literal>
      </CssParameter>

      <CssParameter name="stroke-linejoin">
      <ogc:Literal>round</ogc:Literal>
      </CssParameter>
      <CssParameter name="stroke-opacity">
      <ogc:Literal>1.0</ogc:Literal>
      </CssParameter>
      <CssParameter name="stroke-width">
      <ogc:Literal>3.0</ogc:Literal>
      </CssParameter>
      <CssParameter name="stroke-dasharray">10 10</CssParameter>

     </Stroke>
     </LineSymbolizer>  
    
     
    
    </Rule>
   </FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>

网友评论

登录后评论
0/500
评论
龙盛国际
+ 关注