Hi,
I want to create Attribute-based polygon with SLD but when I use Persian or
Arabic filter It's not working.
This is my sld:


<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0" 
    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";>
  <NamedLayer>
    <Name>Attribute-based polygon</Name>
    <UserStyle>
      <Title>SLD Cook Book: Attribute-based polygon</Title>
      <FeatureTypeStyle>
          
          
        <Rule>
          <Name>rule1</Name>
          <Title>rule1</Title>
                  
          <ogc:Filter>
            <ogc:PropertyIsEqualTo>
              <ogc:PropertyName>test</ogc:PropertyName>
              <ogc:Literal>'مقدار ب'</ogc:Literal>
            </ogc:PropertyIsEqualTo>
          </ogc:Filter>
                  
          <PolygonSymbolizer>
            <Fill>
              <CssParameter name="fill">#66FF66</CssParameter>
            </Fill>
          </PolygonSymbolizer>
        </Rule>
                
                
        <Rule>
          <Name>rule2</Name>
          <Title>rule2</Title>
                  
          <ogc:Filter>
            <ogc:PropertyIsEqualTo>
              <ogc:PropertyName>test</ogc:PropertyName>
              <ogc:Literal>'مقدار الف'</ogc:Literal>
            </ogc:PropertyIsEqualTo>
          </ogc:Filter>
                  
          <PolygonSymbolizer>
            <Fill>
              <CssParameter name="fill">#cc5577</CssParameter>
            </Fill>
          </PolygonSymbolizer>
        </Rule>
                
                
                
      </FeatureTypeStyle>
    </UserStyle>
  </NamedLayer>
</StyledLayerDescriptor>



Can anyone help me?
Thanks in advance.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to