????
Current Path : C:/ProgramData/GeoServer/workspaces/gdt/styles/ |
Current File : C:/ProgramData/GeoServer/workspaces/gdt/styles/ht_hoga_thai.sld |
<?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:se="http://www.opengis.net/se" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" version="1.1.0" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink"> <NamedLayer> <se:Name>ht hố ga</se:Name> <UserStyle> <se:Name>Hố ga</se:Name> <se:FeatureTypeStyle> <se:Rule> <se:Name>Hố ga</se:Name> <se:PointSymbolizer> <se:Graphic> <se:ExternalGraphic xmlns="http://www.opengis.net/sld" xmlns:se="http://www.opengis.net/se" xmlns:xlink="http://www.w3.org/1999/xlink"> <se:OnlineResource xlink:type="simple" xlink:href="ho-ga.png" /> <se:Format>image/png</se:Format> </se:ExternalGraphic> <se:Size>20</se:Size> </se:Graphic> </se:PointSymbolizer> </se:Rule> <!-- <se:Rule> <se:Name>Hố ga chưa có cao độ</se:Name> <ogc:Filter> <ogc:PropertyIsNull> <ogc:PropertyName>CaoDoTKTuNhien</ogc:PropertyName> </ogc:PropertyIsNull> </ogc:Filter> <se:PointSymbolizer> <se:Graphic> <se:ExternalGraphic xmlns="http://www.opengis.net/sld" xmlns:se="http://www.opengis.net/se" xmlns:xlink="http://www.w3.org/1999/xlink"> <se:OnlineResource xlink:type="simple" xlink:href="ho-ga-cao-do.png" /> <se:Format>image/png</se:Format> </se:ExternalGraphic> <se:Size>20</se:Size> </se:Graphic> </se:PointSymbolizer> </se:Rule> --> <se:Rule> <se:TextSymbolizer> <se:Label> <ogc:Function name="if_then_else"> <ogc:Function name="isNull"> <ogc:PropertyName>MaDuong</ogc:PropertyName> </ogc:Function> <ogc:Literal></ogc:Literal> <ogc:Function name="Concatenate"> <ogc:Function name="strReplace"> <ogc:PropertyName>MaDuong</ogc:PropertyName> <ogc:Literal>_[0-9]$</ogc:Literal> <ogc:Literal></ogc:Literal> <ogc:Literal>true</ogc:Literal> </ogc:Function> <ogc:PropertyName>MaDoiTuong</ogc:PropertyName> </ogc:Function> </ogc:Function> <ogc:Function name="if_then_else"> <ogc:Function name="isNull"> <ogc:PropertyName>MaDuong2</ogc:PropertyName> </ogc:Function> <ogc:Literal></ogc:Literal> <ogc:Function name="Concatenate"> <ogc:Literal>-</ogc:Literal> <ogc:Function name="strReplace"> <ogc:PropertyName>MaDuong2</ogc:PropertyName> <ogc:Literal>^DU|^D|[0-9]</ogc:Literal> <ogc:Literal></ogc:Literal> <ogc:Literal>true</ogc:Literal> </ogc:Function> <ogc:PropertyName>MaDoiTuong2</ogc:PropertyName> </ogc:Function> </ogc:Function> <ogc:Function name="if_then_else"> <ogc:Function name="isNull"> <ogc:PropertyName>MaDuong3</ogc:PropertyName> </ogc:Function> <ogc:Literal></ogc:Literal> <ogc:Function name="Concatenate"> <ogc:Literal>-</ogc:Literal> <ogc:Function name="strReplace"> <ogc:PropertyName>MaDuong3</ogc:PropertyName> <ogc:Literal>^DU|^D|[0-9]</ogc:Literal> <ogc:Literal></ogc:Literal> <ogc:Literal>true</ogc:Literal> </ogc:Function> <ogc:PropertyName>MaDoiTuong3</ogc:PropertyName> </ogc:Function> </ogc:Function> <!-- <ogc:Function name="Concatenate"> <ogc:Function name="strReplace"> <ogc:PropertyName>KyHieuDuong</ogc:PropertyName> <ogc:Literal>^DU|^D|[0-9]</ogc:Literal> <ogc:Literal></ogc:Literal> <ogc:Literal>true</ogc:Literal> </ogc:Function> <ogc:PropertyName>KyHieuDuong</ogc:PropertyName> <ogc:PropertyName>MaDoiTuong</ogc:PropertyName> </ogc:Function> --> </se:Label> <se:Font> <se:SvgParameter name="font-family">Cambria</se:SvgParameter> <se:SvgParameter name="font-size">11</se:SvgParameter> </se:Font> <se:LabelPlacement> <se:PointPlacement> <se:AnchorPoint> <se:AnchorPointX>0.5</se:AnchorPointX> <se:AnchorPointY>0.0</se:AnchorPointY> </se:AnchorPoint> <se:Displacement> <se:DisplacementX>0</se:DisplacementX> <se:DisplacementY>-20</se:DisplacementY> </se:Displacement> </se:PointPlacement> </se:LabelPlacement> <se:Halo> <se:Radius>2</se:Radius> <se:Fill> <se:SvgParameter name="fill">#fafafa</se:SvgParameter> </se:Fill> </se:Halo> <se:Fill> <se:SvgParameter name="fill">#000000</se:SvgParameter> </se:Fill> <se:VendorOption name="followLine">true</se:VendorOption> <se:VendorOption name="maxAngleDelta">29</se:VendorOption> <se:VendorOption name="group">yes</se:VendorOption> </se:TextSymbolizer> </se:Rule> </se:FeatureTypeStyle> </UserStyle> </NamedLayer> </StyledLayerDescriptor>