geoserver +openlayer3+styles 加载点以及本文样式

 

1.直接上代码:往goeserver中styles中粘贴即可


 xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" 
 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">
 
 
    experimenting transparent
   
   
      GeoServer Beginners Guide:transparent
      A sample style that draws a point
     
     
     
       
          rule1
          Red Square
          A 6 pixel square with a red fill and no stroke
          40000

         
             
               
                  square
                 
                    #ff9900
                    0.35
                 

                 
                    #ff0000
                    1
                 

               

              9
              30
           

         

          
         
              
              
                  SimSun
                  12
                  normal
                  bold
              

              
                            
                  
                      
                          0
                          0
                      

                      
                          2
                          5
                      

                  

              

              
              
                  #0000ff
              

            
 
       
     
   
 

2.geoserver中文乱码请查看:

https://blog.csdn.net/weixin_41591572/article/details/84590100

需要转载,请注明本文地址

你可能感兴趣的:(styles)