<?xml version="1.0" encoding="UTF-8"?>
<!--

  nom du SLD : geo_symblim

  couche source dans la base :  cadastre_qgis:geo_symblim
  layer cible du style       :  ref_cad:geo_symblim

  objet : style relatif aux symboles de limite de propriété représentés par un signe conventionnel de type ponctuel permettant de documenter le plan cadastral et d'en améliorer la lisibilité.

  Historique des versions :
  date        |  auteur              |  description
  06/06/2019  |  arnaud LECLERE      |  version initiale
  21/08/2019  |  Maël REBOUX         |  modif diverses avant mise en prod
  12/05/2021  |  Arnaud LECLERE      |  Pb orientation des symboles de mitoyenneté + passage en unité terrain

-->

<StyledLayerDescriptor version="1.1.0"
                       xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
                       xmlns="http://www.opengis.net/sld"
                       xmlns:ogc="http://www.opengis.net/ogc"
                       xmlns:se="http://www.opengis.net/se"
                       xmlns:xlink="http://www.w3.org/1999/xlink"
                       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <NamedLayer>
    <se:Name>ref_cad:geo_symblim</se:Name>
    <UserStyle>
      <se:Name>geo_symblim</se:Name>
      <se:Description>
        <se:Title>Autres symboles ponctuels divers</se:Title>
        <se:Abstract>Autres symboles ponctuels divers</se:Abstract>
      </se:Description> 
      <se:FeatureTypeStyle>


        <!--  Mur mitoyen : double trait noir avec un trait dans chaque parcelle -->
        <se:Rule>
          <se:Name>mur mitoyen</se:Name>
          <se:Description>
            <se:Title>mur mitoyen</se:Title>
          </se:Description>
          
          <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
            <ogc:PropertyIsEqualTo>
              <ogc:PropertyName>geo_sym</ogc:PropertyName>
              <ogc:Literal>39</ogc:Literal>
            </ogc:PropertyIsEqualTo>
          </ogc:Filter>
          
          <se:MinScaleDenominator>1</se:MinScaleDenominator>
          <se:MaxScaleDenominator>1500</se:MaxScaleDenominator>
          
          <se:PointSymbolizer uom="http://www.opengeospatial.org/se/units/metre">
            <se:Graphic>
              <se:Mark>
                <se:WellKnownName>ttf://cadastre_rm#${'U+004A'}</se:WellKnownName>              
                <se:Fill>
                  <se:SvgParameter name="fill">#444444</se:SvgParameter>
                </se:Fill>
                
                <se:Stroke>
                  <se:SvgParameter name="stroke">#444444</se:SvgParameter>
                  <se:SvgParameter name="stroke-width">0</se:SvgParameter>
                  <se:SvgParameter name="stroke-opacity">0</se:SvgParameter>
                </se:Stroke>
                
              </se:Mark>
              <se:Size>2</se:Size>
              
              <se:Rotation>
                <ogc:Add>
                  <ogc:Literal>90</ogc:Literal>
                  <ogc:PropertyName>ori</ogc:PropertyName>
                </ogc:Add>
              </se:Rotation>
              
            </se:Graphic>
          </se:PointSymbolizer>
        </se:Rule>


        <!--  Mur non mitoyen : trait noir du côté / dans la parcelle d'appartenance -->
        <se:Rule>
          <se:Name>mur non mitoyen</se:Name>
          <se:Description>
            <se:Title>mur non mitoyen</se:Title>
          </se:Description>
          
          <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
            <ogc:PropertyIsEqualTo>
              <ogc:PropertyName>geo_sym</ogc:PropertyName>
              <ogc:Literal>40</ogc:Literal>
            </ogc:PropertyIsEqualTo>
          </ogc:Filter>
          
          <se:MinScaleDenominator>1</se:MinScaleDenominator>
          <se:MaxScaleDenominator>1500</se:MaxScaleDenominator>
          
          <se:PointSymbolizer uom="http://www.opengeospatial.org/se/units/metre">
            <se:Graphic>
              <se:Mark>
                <se:WellKnownName>ttf://cadastre_rm#${'U+0046'}</se:WellKnownName>
                <se:Fill>
                  <se:SvgParameter name="fill">#444444</se:SvgParameter>
                </se:Fill>
                
                <se:Stroke>
                  <se:SvgParameter name="stroke">#444444</se:SvgParameter>
                  <se:SvgParameter name="stroke-width">0</se:SvgParameter>
                  <se:SvgParameter name="stroke-opacity">0</se:SvgParameter>
                </se:Stroke>
                
              </se:Mark>
              <se:Size>2</se:Size>
              
              <se:Rotation>
                <ogc:Add>
                  <ogc:Literal>90</ogc:Literal>
                  <ogc:PropertyName>ori</ogc:PropertyName>
                </ogc:Add>
              </se:Rotation>
              <se:Displacement>
                <se:DisplacementX>0.5</se:DisplacementX>
                <se:DisplacementY>0</se:DisplacementY>
              </se:Displacement>
            </se:Graphic>
          </se:PointSymbolizer>
        </se:Rule>


        <!--  Fossé mitoyen : ligne noire à 3 tirets carré, un trait dans chaque parcelle -->
        <se:Rule>
          <se:Name>fossé mitoyen</se:Name>
          <se:Description>
            <se:Title>fossé mitoyen</se:Title>
          </se:Description>
          
          <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
            <ogc:PropertyIsEqualTo>
              <ogc:PropertyName>geo_sym</ogc:PropertyName>
              <ogc:Literal>41</ogc:Literal>
            </ogc:PropertyIsEqualTo>
          </ogc:Filter>
          
          <se:MinScaleDenominator>1</se:MinScaleDenominator>
          <se:MaxScaleDenominator>1500</se:MaxScaleDenominator>
          
          <se:PointSymbolizer uom="http://www.opengeospatial.org/se/units/metre">
            <se:Graphic>
              <se:Mark>
                <se:WellKnownName>ttf://cadastre_rm#${'U+004B'}</se:WellKnownName>
                <se:Fill>
                  <se:SvgParameter name="fill">#444444</se:SvgParameter>
                </se:Fill>
                <se:Stroke>
                  <se:SvgParameter name="stroke">#444444</se:SvgParameter>
                  <se:SvgParameter name="stroke-width">0</se:SvgParameter>
                  <se:SvgParameter name="stroke-opacity">0</se:SvgParameter>
                </se:Stroke>
              </se:Mark>
              <se:Size>2</se:Size>
              <se:Rotation>
                <ogc:Add>
                  <ogc:Literal>90</ogc:Literal>
                  <ogc:PropertyName>ori</ogc:PropertyName>
                </ogc:Add>
              </se:Rotation>
            </se:Graphic>
          </se:PointSymbolizer>
        </se:Rule>


        <!--  Fossé non mitoyen : ligne noire à 3 tirets carré, un trait du côté / dans la parcelle d'appartenance -->
        <se:Rule>
          <se:Name>fossé non mitoyen</se:Name>
          <se:Description>
            <se:Title>fossé non mitoyen</se:Title>
          </se:Description>
          
          <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
            <ogc:PropertyIsEqualTo>
              <ogc:PropertyName>geo_sym</ogc:PropertyName>
              <ogc:Literal>42</ogc:Literal>
            </ogc:PropertyIsEqualTo>
          </ogc:Filter>
          
          <se:MinScaleDenominator>1</se:MinScaleDenominator>
          <se:MaxScaleDenominator>1500</se:MaxScaleDenominator>
          
          <se:PointSymbolizer uom="http://www.opengeospatial.org/se/units/metre">
            <se:Graphic>
              <se:Mark>
                <se:WellKnownName>ttf://cadastre_rm#${'U+0047'}</se:WellKnownName>
                <se:Fill>
                  <se:SvgParameter name="fill">#444444</se:SvgParameter>
                </se:Fill>
                <se:Stroke>
                  <se:SvgParameter name="stroke">#444444</se:SvgParameter>
                  <se:SvgParameter name="stroke-width">0</se:SvgParameter>
                  <se:SvgParameter name="stroke-opacity">0</se:SvgParameter>
                  <se:SvgParameter name="stroke-dashoffset">10</se:SvgParameter>
                </se:Stroke>
              </se:Mark>
              <se:Size>2</se:Size>
              <se:Rotation>
                <ogc:Add>
                  <ogc:Literal>90</ogc:Literal>
                  <ogc:PropertyName>ori</ogc:PropertyName>
                </ogc:Add>
              </se:Rotation>
            </se:Graphic>
          </se:PointSymbolizer>
        </se:Rule>


        <!--  clôture mitoyenne : cercle noir -->
        <se:Rule>
          <se:Name>clôture mitoyenne</se:Name>
          <se:Description>
            <se:Title>clôture mitoyenne</se:Title>
          </se:Description>
          
          <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
            <ogc:PropertyIsEqualTo>
              <ogc:PropertyName>geo_sym</ogc:PropertyName>
              <ogc:Literal>43</ogc:Literal>
            </ogc:PropertyIsEqualTo>
          </ogc:Filter>
          
          <se:MinScaleDenominator>1</se:MinScaleDenominator>
          <se:MaxScaleDenominator>1500</se:MaxScaleDenominator>
          
          <se:PointSymbolizer uom="http://www.opengeospatial.org/se/units/metre">
            <se:Graphic>
              <se:Mark>
                <se:WellKnownName>ttf://cadastre_rm#${'U+004D'}</se:WellKnownName>
                <se:Fill>
                  <se:SvgParameter name="fill">#444444</se:SvgParameter>
                </se:Fill>
                <se:Stroke>
                  <se:SvgParameter name="stroke">#444444</se:SvgParameter>
                  <se:SvgParameter name="stroke-width">0</se:SvgParameter>
                  <se:SvgParameter name="stroke-opacity">0</se:SvgParameter>
                </se:Stroke>
              </se:Mark>
              <se:Size>2</se:Size>
              <se:Rotation>
                <ogc:Add>
                  <ogc:Literal>90</ogc:Literal>
                  <ogc:PropertyName>ori</ogc:PropertyName>
                </ogc:Add>
              </se:Rotation>
            </se:Graphic>
          </se:PointSymbolizer>
        </se:Rule>


        <!--  clôture non mitoyenne : demi cercle noir -->
        <se:Rule>
          <se:Name>clôture non mitoyenne</se:Name>
          <se:Description>
            <se:Title>clôture non mitoyenne</se:Title>
          </se:Description>
          
          <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
            <ogc:PropertyIsEqualTo>
              <ogc:PropertyName>geo_sym</ogc:PropertyName>
              <ogc:Literal>44</ogc:Literal>
            </ogc:PropertyIsEqualTo>
          </ogc:Filter>
          
          <se:MinScaleDenominator>1</se:MinScaleDenominator>
          <se:MaxScaleDenominator>1500</se:MaxScaleDenominator>
          
          <se:PointSymbolizer uom="http://www.opengeospatial.org/se/units/metre">
            <se:Graphic>
              <se:Mark>
                <se:WellKnownName>ttf://cadastre_rm#${'U+0049'}</se:WellKnownName>
                <se:Fill>
                  <se:SvgParameter name="fill">#444444</se:SvgParameter>
                </se:Fill>
                <se:Stroke>
                  <se:SvgParameter name="stroke">#444444</se:SvgParameter>
                  <se:SvgParameter name="stroke-width">0</se:SvgParameter>
                  <se:SvgParameter name="stroke-opacity">0</se:SvgParameter> 
                </se:Stroke>
              </se:Mark>
              <se:Size>2</se:Size>
              <se:Rotation>
                <ogc:Add>
                  <ogc:Literal>270</ogc:Literal>
                  <ogc:PropertyName>ori</ogc:PropertyName>
                </ogc:Add>
              </se:Rotation>
            </se:Graphic>
          </se:PointSymbolizer>
        </se:Rule>


        <!--  Haie mitoyenne : croix noire sur la limite de parcelle -->
        <se:Rule>
          <se:Name>haie mitoyenne</se:Name>
          <se:Description>
            <se:Title>haie mitoyenne</se:Title>
          </se:Description>
          
          <ogc:Filter>
            <ogc:PropertyIsEqualTo>
              <ogc:PropertyName>geo_sym</ogc:PropertyName>
              <ogc:Literal>45</ogc:Literal>
            </ogc:PropertyIsEqualTo>
          </ogc:Filter>
          
          <se:MinScaleDenominator>1</se:MinScaleDenominator>
          <se:MaxScaleDenominator>1500</se:MaxScaleDenominator>
          
          <se:PointSymbolizer uom="http://www.opengeospatial.org/se/units/metre">
            <se:Graphic>
              <se:Mark>
                <se:WellKnownName>ttf://cadastre_rm#${'U+004C'}</se:WellKnownName>
                <se:Fill>
                  <se:SvgParameter name="fill">#444444</se:SvgParameter>
                </se:Fill>
                <se:Stroke>
                  <se:SvgParameter name="stroke">#444444</se:SvgParameter>
                  <se:SvgParameter name="stroke-width">0</se:SvgParameter>
                  <se:SvgParameter name="stroke-opacity">0</se:SvgParameter>
                </se:Stroke>
              </se:Mark>
              <se:Size>2</se:Size>
              <se:Rotation>
                <ogc:Add>
                  <ogc:Literal>90</ogc:Literal>
                  <ogc:PropertyName>ori</ogc:PropertyName>
                </ogc:Add>
              </se:Rotation>
            </se:Graphic>
          </se:PointSymbolizer>
        </se:Rule>


        <!--  Haie non mitoyenne : croix noire du côté / dans la parcelle d'appartenance -->
        <se:Rule>
          <se:Name>haie non mitoyenne</se:Name>
          <se:Description>
            <se:Title>haie non mitoyenne</se:Title>
          </se:Description>
          
          <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
            <ogc:PropertyIsEqualTo>
              <ogc:PropertyName>geo_sym</ogc:PropertyName>
              <ogc:Literal>46</ogc:Literal>
            </ogc:PropertyIsEqualTo>
          </ogc:Filter>
          
          <se:MinScaleDenominator>1</se:MinScaleDenominator>
          <se:MaxScaleDenominator>1500</se:MaxScaleDenominator>
          
          <se:PointSymbolizer uom="http://www.opengeospatial.org/se/units/metre">
            <se:Graphic>
              <se:Mark>
                <se:WellKnownName>ttf://cadastre_rm#${'U+0048'}</se:WellKnownName>
                <se:Fill>
                  <se:SvgParameter name="fill">#444444</se:SvgParameter>
                </se:Fill>
                <se:Stroke>
                  <se:SvgParameter name="stroke">#444444</se:SvgParameter>
                  <se:SvgParameter name="stroke-width">0</se:SvgParameter>
                  <se:SvgParameter name="stroke-opacity">0</se:SvgParameter>
                </se:Stroke>
              </se:Mark>
              <se:Size>2</se:Size>
              <se:Rotation>
                <ogc:Add>
                  <ogc:Literal>90</ogc:Literal>
                  <ogc:PropertyName>ori</ogc:PropertyName>
                </ogc:Add>
              </se:Rotation>
              <se:Displacement>
                <se:DisplacementX>0.4</se:DisplacementX>
                <se:DisplacementY>0</se:DisplacementY>
              </se:Displacement>
            </se:Graphic>
          </se:PointSymbolizer>
        </se:Rule>


      </se:FeatureTypeStyle>
    </UserStyle>
  </NamedLayer>
</StyledLayerDescriptor>
