Skip to content

Commit

Permalink
nuovo wfs aree_fito per rilascio di decsira-6.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
francesca-morelli committed Feb 28, 2023
1 parent 5610256 commit 8c93e8e
Show file tree
Hide file tree
Showing 10 changed files with 305 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?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">
<!-- a Named Layer is the basic building block of an SLD document -->
<NamedLayer>
<Name>default_point</Name>
<UserStyle>
<!-- Styles can have names, titles and abstracts -->
<Title>Default Point</Title>
<Abstract>A sample style that draws a point</Abstract>
<!-- FeatureTypeStyles describe how to render different features -->
<!-- A FeatureTypeStyle for rendering points -->
<FeatureTypeStyle>
<Rule>
<Name>rule1</Name>
<Title> </Title>
<Abstract>A 6 pixel square with a red fill and no stroke</Abstract>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>square</WellKnownName>
<Fill>
<CssParameter name="fill">#ffffff</CssParameter>
</Fill>
</Mark>
<Size>1</Size>
</Graphic>
</PointSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<style>
<id>StyleInfoImpl--aaea630:1864a3b02f9:-7ffa</id>
<name>DECSIRA_DirettivaHabitat</name>
<workspace>
<id>WorkspaceInfoImpl--4d220b6e:17ce4f0ecd7:-8000</id>
</workspace>
<format>sld</format>
<languageVersion>
<version>1.0.0</version>
</languageVersion>
<filename>DECSIRA_DirettivaHabitat.sld</filename>
<dateCreated>2023-02-15 09:40:44.180 UTC</dateCreated>
</style>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<table class="featureInfo">
<caption class="featureInfo">Aree Fitosanitari</caption>
<#list features as feature>
<tr>
<th>Cod. Reg. Corpo idrico sotterraneo</th>
<th>Area (m2)</th>
<th>Perimetro (m)</th>
<th>Indice Vulnerazione</th>
</tr>
<tr>
<td>${feature.gwb_reg_cod.value}</td>
<td>${feature.area.value}</td>
<td>${feature.perimeter.value}</td>
<td>${feature.indice_vulnerazione.value}</td>
</tr>
</#list>
</table>

Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<featureType>
<id>FeatureTypeInfoImpl-3cac8702:1863b2a3b68:-7ffd</id>
<name>AreeFitosanitari</name>
<nativeName>decsira_geo_aree_fitosanitarie</nativeName>
<namespace>
<id>NamespaceInfoImpl-3cac8702:1863b2a3b68:-7fff</id>
</namespace>
<title>Aree Specifiche di tutela acque da fitosanitari</title>
<abstract>Aree Specifiche su cui applicare misure di tutela delle acque dall’inquinamento da prodotti fitosanitari</abstract>
<keywords>
<string>features</string>
<string>decsira_geo_aree_fitosanitarie</string>
</keywords>
<metadataLinks>
<metadataLink>
<type>text/plain</type>
<metadataType>ISO19115:2003</metadataType>
<content>https://www.geoportale.piemonte.it/geonetwork/srv/ita/catalog.search#/metadata/r_piemon:9c8e61b7-77d1-4f44-a560-a7298811a50f</content>
</metadataLink>
</metadataLinks>
<nativeCRS class="projected">PROJCS[&quot;WGS 84 / UTM zone 32N&quot;,
GEOGCS[&quot;WGS 84&quot;,
DATUM[&quot;World Geodetic System 1984&quot;,
SPHEROID[&quot;WGS 84&quot;, 6378137.0, 298.257223563, AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],
AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],
PRIMEM[&quot;Greenwich&quot;, 0.0, AUTHORITY[&quot;EPSG&quot;,&quot;8901&quot;]],
UNIT[&quot;degree&quot;, 0.017453292519943295],
AXIS[&quot;Geodetic longitude&quot;, EAST],
AXIS[&quot;Geodetic latitude&quot;, NORTH],
AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]],
PROJECTION[&quot;Transverse_Mercator&quot;, AUTHORITY[&quot;EPSG&quot;,&quot;9807&quot;]],
PARAMETER[&quot;central_meridian&quot;, 9.0],
PARAMETER[&quot;latitude_of_origin&quot;, 0.0],
PARAMETER[&quot;scale_factor&quot;, 0.9996],
PARAMETER[&quot;false_easting&quot;, 500000.0],
PARAMETER[&quot;false_northing&quot;, 0.0],
UNIT[&quot;m&quot;, 1.0],
AXIS[&quot;Easting&quot;, EAST],
AXIS[&quot;Northing&quot;, NORTH],
AUTHORITY[&quot;EPSG&quot;,&quot;32632&quot;]]</nativeCRS>
<srs>EPSG:32632</srs>
<nativeBoundingBox>
<minx>363763.4375</minx>
<maxx>500587.28125</maxx>
<miny>4905436.0</miny>
<maxy>5066962.0</maxy>
<crs class="projected">EPSG:32632</crs>
</nativeBoundingBox>
<latLonBoundingBox>
<minx>7.248662672882639</minx>
<maxx>9.007551352049411</maxx>
<miny>44.289413616904085</miny>
<maxy>45.75621576716608</maxy>
<crs>EPSG:4326</crs>
</latLonBoundingBox>
<projectionPolicy>FORCE_DECLARED</projectionPolicy>
<enabled>true</enabled>
<metadata>
<entry key="cachingEnabled">false</entry>
</metadata>
<store class="dataStore">
<id>DataStoreInfoImpl-3cac8702:1863b2a3b68:-7ffe</id>
</store>
<serviceConfiguration>false</serviceConfiguration>
<simpleConversionEnabled>false</simpleConversionEnabled>
<maxFeatures>0</maxFeatures>
<numDecimals>0</numDecimals>
<padWithZeros>false</padWithZeros>
<forcedDecimal>false</forcedDecimal>
<overridingServiceSRS>false</overridingServiceSRS>
<skipNumberMatched>false</skipNumberMatched>
<circularArcPresent>false</circularArcPresent>
</featureType>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<layer>
<name>AreeFitosanitari</name>
<id>LayerInfoImpl-3cac8702:1863b2a3b68:-7ffc</id>
<type>VECTOR</type>
<defaultStyle>
<id>StyleInfoImpl-3cac8702:1863b2a3b68:-7ff9</id>
</defaultStyle>
<resource class="featureType">
<id>FeatureTypeInfoImpl-3cac8702:1863b2a3b68:-7ffd</id>
</resource>
<attribution>
<logoWidth>0</logoWidth>
<logoHeight>0</logoHeight>
</attribution>
<dateCreated>2023-02-10 11:52:55.541 UTC</dateCreated>
<dateModified>2023-02-15 09:45:34.214 UTC</dateModified>
</layer>
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<dataStore>
<id>DataStoreInfoImpl-3cac8702:1863b2a3b68:-7ffe</id>
<name>decsira</name>
<description>decsira</description>
<type>PostGIS (JNDI)</type>
<enabled>true</enabled>
<workspace>
<id>WorkspaceInfoImpl-3cac8702:1863b2a3b68:-8000</id>
</workspace>
<connectionParameters>
<entry key="schema">decsira</entry>
<entry key="Estimated extends">true</entry>
<entry key="fetch size">1000</entry>
<entry key="encode functions">true</entry>
<entry key="Expose primary keys">false</entry>
<entry key="Support on the fly geometry simplification">true</entry>
<entry key="Batch insert size">1</entry>
<entry key="preparedStatements">false</entry>
<entry key="jndiReferenceName">java:comp/env/jdbc/siradecDS</entry>
<entry key="dbtype">postgis</entry>
<entry key="namespace">http://www.regione.piemonte.it/ambiente/decsiraogc_aree_fito/1.0</entry>
<entry key="Loose bbox">true</entry>
</connectionParameters>
<__default>false</__default>
<dateCreated>2023-02-10 11:51:44.737 UTC</dateCreated>
</dataStore>
6 changes: 6 additions & 0 deletions frontend/ogc-services/src/decsiraogc_aree_fito/namespace.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<namespace>
<id>NamespaceInfoImpl-3cac8702:1863b2a3b68:-7fff</id>
<prefix>decsiraogc_aree_fito</prefix>
<uri>http://www.regione.piemonte.it/ambiente/decsiraogc_aree_fito/1.0</uri>
<isolated>false</isolated>
</namespace>
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0"
xmlns:decsiraogc_aree_fito="http://www.regione.piemonte.it/ambiente/decsiraogc_aree_fito/1.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"
xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
<NamedLayer>
<Name>Indice di vulnerazione</Name>
<UserStyle>
<Title>Aree Specifiche di tutela acque da fitosanitari</Title>
<Abstract>Aree Fitosanitari</Abstract>
<FeatureTypeStyle>

<Rule>
<Name>ALTA</Name>
<Title>ALTA VULNERAZIONE</Title>
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>indice_vulnerazione</ogc:PropertyName>
<ogc:Literal>ALTA</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">
<ogc:Literal>#d41207</ogc:Literal>
</CssParameter>
<CssParameter name="fill-opacity">
<ogc:Literal>0.5</ogc:Literal>
</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">
<ogc:Literal>#6E6E6E</ogc:Literal>
</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>

<Rule>
<Name>MEDIA</Name>
<Title>MEDIA VULNERAZIONE</Title>
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>indice_vulnerazione</ogc:PropertyName>
<ogc:Literal>MEDIA</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">
<ogc:Literal>#ea9e07</ogc:Literal>
</CssParameter>
<CssParameter name="fill-opacity">
<ogc:Literal>0.5</ogc:Literal>
</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">
<ogc:Literal>#6E6E6E</ogc:Literal>
</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>

<Rule>
<Name>BASSA</Name>
<Title>BASSA VULNERAZIONE</Title>
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>indice_vulnerazione</ogc:PropertyName>
<ogc:Literal>BASSA</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">
<ogc:Literal>#ffe95b</ogc:Literal>
</CssParameter>
<CssParameter name="fill-opacity">
<ogc:Literal>0.5</ogc:Literal>
</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">
<ogc:Literal>#6E6E6E</ogc:Literal>
</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>

</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<style>
<id>StyleInfoImpl-3cac8702:1863b2a3b68:-7ff9</id>
<name>DECSIRA_AreeFito</name>
<workspace>
<id>WorkspaceInfoImpl-3cac8702:1863b2a3b68:-8000</id>
</workspace>
<format>sld</format>
<languageVersion>
<version>1.0.0</version>
</languageVersion>
<filename>DECSIRA_AreeFito.sld</filename>
<dateCreated>2023-02-10 12:02:36.22 UTC</dateCreated>
<dateModified>2023-02-28 10:28:54.0 UTC</dateModified>
</style>
6 changes: 6 additions & 0 deletions frontend/ogc-services/src/decsiraogc_aree_fito/workspace.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<workspace>
<id>WorkspaceInfoImpl-3cac8702:1863b2a3b68:-8000</id>
<name>decsiraogc_aree_fito</name>
<isolated>false</isolated>
<dateCreated>2023-02-10 11:51:08.903 UTC</dateCreated>
</workspace>

0 comments on commit 8c93e8e

Please sign in to comment.