Skip to content

Commit

Permalink
Merge pull request #31 from Doctor-Who/main
Browse files Browse the repository at this point in the history
Fix CQP Oise
  • Loading branch information
Doctor-Who authored Feb 28, 2023
2 parents 8a1ea98 + 9cfa6ea commit 493aa87
Show file tree
Hide file tree
Showing 14 changed files with 8,084 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
├── README.md
└── styles
├── lyr
└── qml
├── qml
└── sld
```

## Comment contrôler la donnée OCS2d avec QGIS ?
Expand Down
Binary file modified control_qualite/model_cqp_ocs2d.qgz
Binary file not shown.
176 changes: 176 additions & 0 deletions styles/sld/ocs2d_cs_niv1_2010.sld
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
<?xml version="1.0" encoding="UTF-8"?>
<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"
xmlns:gml="http://www.opengis.net/gml"
xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd
">
<NamedLayer>
<Name>cs_niv1_2010</Name>
<UserStyle>
<Name>cs_niv1_2010</Name>
<FeatureTypeStyle>
<Rule>
<Name>CS1 Surfaces revêtues ou stabilisées</Name>

<Title>CS1 Surfaces revêtues ou stabilisées</Title>

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:Function name="strSubstring">
<ogc:PropertyName>cs10</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>3</ogc:Literal>
</ogc:Function>
<ogc:Literal>CS1</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#ff9191</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#ff9191</CssParameter>
<CssParameter name="stroke-width">0.01</CssParameter>
<CssParameter name="stroke-linejoin">bevel</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
<Rule>
<Name>CS2 Sols nus</Name>

<Title>CS2 Sols nus</Title>

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:Function name="strSubstring">
<ogc:PropertyName>cs10</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>3</ogc:Literal>
</ogc:Function>
<ogc:Literal>CS2</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#ffff73</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#ffff73</CssParameter>
<CssParameter name="stroke-width">0.01</CssParameter>
<CssParameter name="stroke-linejoin">bevel</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
<Rule>
<Name>CS3 Surfaces en eau</Name>

<Title>CS3 Surfaces en eau</Title>

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:Function name="strSubstring">
<ogc:PropertyName>cs10</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>3</ogc:Literal>
</ogc:Function>
<ogc:Literal>CS3</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#73b2ff</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#73b2ff</CssParameter>
<CssParameter name="stroke-width">0.01</CssParameter>
<CssParameter name="stroke-linejoin">bevel</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
<Rule>
<Name>CS4 Formations arborescentes</Name>

<Title>CS4 Formations arborescentes</Title>

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:Function name="strSubstring">
<ogc:PropertyName>cs10</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>3</ogc:Literal>
</ogc:Function>
<ogc:Literal>CS4</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#267300</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#267300</CssParameter>
<CssParameter name="stroke-width">0.01</CssParameter>
<CssParameter name="stroke-linejoin">bevel</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
<Rule>
<Name>CS5 Formations arbustives et sous-arbrisseaux</Name>

<Title>CS5 Formations arbustives et sous-arbrisseaux</Title>

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:Function name="strSubstring">
<ogc:PropertyName>cs10</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>3</ogc:Literal>
</ogc:Function>
<ogc:Literal>CS5</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#89cd66</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#89cd66</CssParameter>
<CssParameter name="stroke-width">0.01</CssParameter>
<CssParameter name="stroke-linejoin">bevel</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
<Rule>
<Name>CS6 Formations herbacées ou basses</Name>

<Title>CS6 Formations herbacées ou basses</Title>

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:Function name="strSubstring">
<ogc:PropertyName>cs10</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>3</ogc:Literal>
</ogc:Function>
<ogc:Literal>CS6</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#f4ffc7</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#f4ffc7</CssParameter>
<CssParameter name="stroke-width">0.01</CssParameter>
<CssParameter name="stroke-linejoin">bevel</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
176 changes: 176 additions & 0 deletions styles/sld/ocs2d_cs_niv1_2021.sld
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
<?xml version="1.0" encoding="UTF-8"?>
<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"
xmlns:gml="http://www.opengis.net/gml"
xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd
">
<NamedLayer>
<Name>cs_niv1_2021</Name>
<UserStyle>
<Name>cs_niv1_2021</Name>
<FeatureTypeStyle>
<Rule>
<Name>CS1 Surfaces revêtues ou stabilisées</Name>

<Title>CS1 Surfaces revêtues ou stabilisées</Title>

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:Function name="strSubstring">
<ogc:PropertyName>cs21</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>3</ogc:Literal>
</ogc:Function>
<ogc:Literal>CS1</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#ff9191</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#ff9191</CssParameter>
<CssParameter name="stroke-width">0.01</CssParameter>
<CssParameter name="stroke-linejoin">bevel</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
<Rule>
<Name>CS2 Sols nus</Name>

<Title>CS2 Sols nus</Title>

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:Function name="strSubstring">
<ogc:PropertyName>cs21</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>3</ogc:Literal>
</ogc:Function>
<ogc:Literal>CS2</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#ffff73</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#ffff73</CssParameter>
<CssParameter name="stroke-width">0.01</CssParameter>
<CssParameter name="stroke-linejoin">bevel</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
<Rule>
<Name>CS3 Surfaces en eau</Name>

<Title>CS3 Surfaces en eau</Title>

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:Function name="strSubstring">
<ogc:PropertyName>cs21</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>3</ogc:Literal>
</ogc:Function>
<ogc:Literal>CS3</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#73b2ff</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#73b2ff</CssParameter>
<CssParameter name="stroke-width">0.01</CssParameter>
<CssParameter name="stroke-linejoin">bevel</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
<Rule>
<Name>CS4 Formations arborescentes</Name>

<Title>CS4 Formations arborescentes</Title>

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:Function name="strSubstring">
<ogc:PropertyName>cs21</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>3</ogc:Literal>
</ogc:Function>
<ogc:Literal>CS4</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#267300</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#267300</CssParameter>
<CssParameter name="stroke-width">0.01</CssParameter>
<CssParameter name="stroke-linejoin">bevel</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
<Rule>
<Name>CS5 Formations arbustives et sous-arbrisseaux</Name>

<Title>CS5 Formations arbustives et sous-arbrisseaux</Title>

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:Function name="strSubstring">
<ogc:PropertyName>cs21</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>3</ogc:Literal>
</ogc:Function>
<ogc:Literal>CS5</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#89cd66</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#89cd66</CssParameter>
<CssParameter name="stroke-width">0.01</CssParameter>
<CssParameter name="stroke-linejoin">bevel</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
<Rule>
<Name>CS6 Formations herbacées ou basses</Name>

<Title>CS6 Formations herbacées ou basses</Title>

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:Function name="strSubstring">
<ogc:PropertyName>cs21</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>3</ogc:Literal>
</ogc:Function>
<ogc:Literal>CS6</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#f4ffc7</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#f4ffc7</CssParameter>
<CssParameter name="stroke-width">0.01</CssParameter>
<CssParameter name="stroke-linejoin">bevel</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Loading

0 comments on commit 493aa87

Please sign in to comment.