Skip to content

Commit

Permalink
Merge pull request #626 from fra1312/rilascioDecsiraIss625
Browse files Browse the repository at this point in the history
rilascio wfs e workspaces
  • Loading branch information
diegosanmartino authored Jun 27, 2019
2 parents 6598f41 + 2d4d8ca commit 661ab9c
Show file tree
Hide file tree
Showing 80 changed files with 12,199 additions and 7,284 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
language: node_js
node_js:
- 4
dist: xenial
sudo: required
services:
- xvfb
script: cd frontend && npm install && npm run travis
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- export DISPLAY=:99.0
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
- npm -v
branches:
Expand Down
58 changes: 58 additions & 0 deletions backend/gs_data_dir/security/sira-access-manager.xml
Original file line number Diff line number Diff line change
Expand Up @@ -630,14 +630,72 @@
<attribute>decsiraogc_siticontaminati:garanzieFinanziarie/decsiraogc_siticontaminati:GaranzieFinanziarie/decsiraogc_siticontaminati:note</attribute>
</hiddenAttributes>
</Rule>

<Rule>
<priority>113</priority>
<roles>ROLE_ANONYMOUS</roles>
<workspace>decsiraogc_scarichi</workspace>
<layer>PuntoScaricoIndustriale</layer>
<accessMode>READ</accessMode>
<filter>"decsiraogc_scarichi:idStato" = '102'</filter>
<hiddenAttributes>
<attribute>decsiraogc_scarichi:idStato</attribute>
<attribute>decsiraogc_scarichi:desStato</attribute>
<attribute>decsiraogc_scarichi:codiceRegionaleScarico</attribute>
<attribute>decsiraogc_scarichi:codiceRecettore</attribute>
<attribute>decsiraogc_scarichi:presenzaSostanzeTab3A</attribute>
<attribute>decsiraogc_scarichi:presenzaSostanzeTabn</attribute>
<attribute>decsiraogc_scarichi:misuratorePortata</attribute>
<attribute>decsiraogc_scarichi:ricircoloInterno</attribute>
<attribute>decsiraogc_scarichi:modalitaRicircolo</attribute>
<attribute>decsiraogc_scarichi:percentualeRicircolo</attribute>
<attribute>decsiraogc_scarichi:volumeAnnuoRicircolo</attribute>
<attribute>decsiraogc_scarichi:volumeGiornoRicircolo</attribute>
<attribute>decsiraogc_scarichi:stabilimentoSemplice/decsiraogc_scarichi:StabilimentoSemplice/decsiraogc_scarichi:industriaAgroAlimentare</attribute>
<attribute>decsiraogc_scarichi:azienda/decsiraogc_scarichi:Azienda/decsiraogc_scarichi:indirizzoAzienda</attribute>
<attribute>decsiraogc_scarichi:azienda/decsiraogc_scarichi:Azienda/decsiraogc_scarichi:telefonoAzienda</attribute>
<attribute>decsiraogc_scarichi:azienda/decsiraogc_scarichi:Azienda/decsiraogc_scarichi:faxAzienda</attribute>
<attribute>decsiraogc_scarichi:azienda/decsiraogc_scarichi:Azienda/decsiraogc_scarichi:numeroCIAA</attribute>
<attribute>decsiraogc_scarichi:azienda/decsiraogc_scarichi:Azienda/decsiraogc_scarichi:annoCIAA</attribute>
<attribute>decsiraogc_scarichi:azienda/decsiraogc_scarichi:Azienda/decsiraogc_scarichi:cognomeTitolare</attribute>
<attribute>decsiraogc_scarichi:azienda/decsiraogc_scarichi:Azienda/decsiraogc_scarichi:nomeTitolare</attribute>
<attribute>decsiraogc_scarichi:autorizzAmbientalePuntoScaricoInd/decsiraogc_scarichi:AutorizzAmbientalePuntoScaricoInd/decsiraogc_scarichi:dataProvvedimento</attribute>
<attribute>decsiraogc_scarichi:autorizzAmbientalePuntoScaricoInd/decsiraogc_scarichi:AutorizzAmbientalePuntoScaricoInd/decsiraogc_scarichi:dataScadenza</attribute>
<attribute>decsiraogc_scarichi:certifAmbPuntoScaricoIndustriale/decsiraogc_scarichi:CertifAmbPuntoScaricoIndustriale/decsiraogc_scarichi:desTipoCertificazione</attribute>
<attribute>decsiraogc_scarichi:certifAmbPuntoScaricoIndustriale/decsiraogc_scarichi:CertifAmbPuntoScaricoIndustriale/decsiraogc_scarichi:dataRilascio</attribute>
<attribute>decsiraogc_scarichi:certifAmbPuntoScaricoIndustriale/decsiraogc_scarichi:CertifAmbPuntoScaricoIndustriale/decsiraogc_scarichi:desEnteCompetente</attribute>
<attribute>decsiraogc_scarichi:prelievoAcquaPuntoScaricoInd/decsiraogc_scarichi:PrelievoAcquaPuntoScaricoInd/decsiraogc_scarichi:denomImpiantoDepurTerzi</attribute>
<attribute>decsiraogc_scarichi:prelievoAcquaPuntoScaricoInd/decsiraogc_scarichi:PrelievoAcquaPuntoScaricoInd/decsiraogc_scarichi:gestImpiantoDepurTerzi</attribute>
<attribute>decsiraogc_scarichi:altroStabilimento/decsiraogc_scarichi:AltroStabilimento/decsiraogc_scarichi:codiceFiscalePartitaIva</attribute>
<attribute>decsiraogc_scarichi:altroStabilimento/decsiraogc_scarichi:AltroStabilimento/decsiraogc_scarichi:indirizzo</attribute>
<attribute>decsiraogc_scarichi:altroStabilimento/decsiraogc_scarichi:AltroStabilimento/decsiraogc_scarichi:codiceSira</attribute>
<attribute>decsiraogc_scarichi:altroStabilimento/decsiraogc_scarichi:AltroStabilimento/decsiraogc_scarichi:portata</attribute>
<attribute>decsiraogc_scarichi:origineScaricoIndustriale/decsiraogc_scarichi:OrigineScaricoIndustriale/decsiraogc_scarichi:portataMedia</attribute>
<attribute>decsiraogc_scarichi:origineScaricoIndustriale/decsiraogc_scarichi:OrigineScaricoIndustriale/decsiraogc_scarichi:temperaturaScarico</attribute>
<attribute>decsiraogc_scarichi:origineScaricoIndustriale/decsiraogc_scarichi:OrigineScaricoIndustriale/decsiraogc_scarichi:temperaturaMediaEstiva</attribute>
<attribute>decsiraogc_scarichi:origineScaricoIndustriale/decsiraogc_scarichi:OrigineScaricoIndustriale/decsiraogc_scarichi:temperaturaMediaInvernale</attribute>
<attribute>decsiraogc_scarichi:controlloParamAnalPuntoScaricoInd/decsiraogc_scarichi:ControlloParamAnalPuntoScaricoInd/decsiraogc_scarichi:desParametro</attribute>
<attribute>decsiraogc_scarichi:controlloParamAnalPuntoScaricoInd/decsiraogc_scarichi:ControlloParamAnalPuntoScaricoInd/decsiraogc_scarichi:limiteInferioreQuantificazione</attribute>
<attribute>decsiraogc_scarichi:controlloParamAnalPuntoScaricoInd/decsiraogc_scarichi:ControlloParamAnalPuntoScaricoInd/decsiraogc_scarichi:desUnitaMisura</attribute>
<attribute>decsiraogc_scarichi:controlloParamAnalPuntoScaricoInd/decsiraogc_scarichi:ControlloParamAnalPuntoScaricoInd/decsiraogc_scarichi:annotazioni</attribute>
<attribute>decsiraogc_scarichi:controlloParamAnalPuntoScaricoInd/decsiraogc_scarichi:ControlloParamAnalPuntoScaricoInd/decsiraogc_scarichi:sistemaMisura</attribute>
<attribute>decsiraogc_scarichi:sostanzaTab3AIndustriale/decsiraogc_scarichi:SostanzaTab3AIndustriale/decsiraogc_scarichi:desSostanzaTab3A</attribute>
<attribute>decsiraogc_scarichi:sostanzaTab3AIndustriale/decsiraogc_scarichi:SostanzaTab3AIndustriale/decsiraogc_scarichi:desSettoreProd</attribute>
<attribute>decsiraogc_scarichi:sostanzaTab3AIndustriale/decsiraogc_scarichi:SostanzaTab3AIndustriale/decsiraogc_scarichi:desUnitaMisura</attribute>
<attribute>decsiraogc_scarichi:sostanzaTab3AIndustriale/decsiraogc_scarichi:SostanzaTab3AIndustriale/decsiraogc_scarichi:mediaMensile</attribute>
<attribute>decsiraogc_scarichi:sostanzaTab3AIndustriale/decsiraogc_scarichi:SostanzaTab3AIndustriale/decsiraogc_scarichi:mediaGiornaliera</attribute>
<attribute>decsiraogc_scarichi:sostanzaTabnIndustriale/decsiraogc_scarichi:SostanzaTabnIndustriale/decsiraogc_scarichi:desSostanzaTabn</attribute>
<attribute>decsiraogc_scarichi:sostanzaTabnIndustriale/decsiraogc_scarichi:SostanzaTabnIndustriale/decsiraogc_scarichi:altraSostanza</attribute>
<attribute>decsiraogc_scarichi:sostanzaTabnIndustriale/decsiraogc_scarichi:SostanzaTabnIndustriale/decsiraogc_scarichi:presenzaInsediamento</attribute>
<attribute>decsiraogc_scarichi:sostanzaTabnIndustriale/decsiraogc_scarichi:SostanzaTabnIndustriale/decsiraogc_scarichi:presenzaScarico</attribute>
<attribute>decsiraogc_scarichi:sostanzaTabnIndustriale/decsiraogc_scarichi:SostanzaTabnIndustriale/decsiraogc_scarichi:scaricatoMisurato</attribute>
<attribute>decsiraogc_scarichi:sostanzaTabnIndustriale/decsiraogc_scarichi:SostanzaTabnIndustriale/decsiraogc_scarichi:quantitativo</attribute>
<attribute>decsiraogc_scarichi:sostanzaTabnIndustriale/decsiraogc_scarichi:SostanzaTabnIndustriale/decsiraogc_scarichi:concentrazioneMedia</attribute>
<attribute>decsiraogc_scarichi:sostanzaTabnIndustriale/decsiraogc_scarichi:SostanzaTabnIndustriale/decsiraogc_scarichi:limiteQuantificazione</attribute>
<attribute>decsiraogc_scarichi:trattamentoDepurativoFinale/decsiraogc_scarichi:TrattamentoDepurativoFinale/decsiraogc_scarichi:altroTrattamento</attribute>
</hiddenAttributes>
</Rule>

<Rule>
<priority>114</priority>
<roles>ROLE_ANONYMOUS</roles>
Expand Down
16 changes: 8 additions & 8 deletions frontend/assets/puntiScaricoIndustriale.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,6 @@
"fields":[
{
"index": 1,
"attribute": "decsiraogc_scarichi:codiceRegionaleScarico",
"label":"Codice regionale scarico",
"profile": ["B","PA_GEN_DECSIRA@REG_PMN"],
"type":"string"
},
{
"index": 2,
"attribute": "decsiraogc_scarichi:desProvincia",
"label":"Provincia",
"type":"list",
Expand All @@ -258,7 +251,7 @@
"valueLabel":"toponimo"
},
{
"index": 3,
"index": 2,
"attribute": "decsiraogc_scarichi:desComune",
"label":"Comune",
"type":"list",
Expand All @@ -278,6 +271,13 @@
"to": "sigla_provincia"
}
},
{
"index": 3,
"attribute": "decsiraogc_scarichi:codiceRegionaleScarico",
"label":"Codice regionale scarico",
"profile": ["B","PA_GEN_DECSIRA@REG_PMN"],
"type":"string"
},
{
"index": 4,
"attribute": "decsiraogc_scarichi:idTipoRecettore",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
<entry key="namespace">${server.host}/decsiraogc_decodif</entry>
</connectionParameters>
<__default>false</__default>
</dataStore>
</dataStore>
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<featureType>
<id>FeatureTypeInfoImpl-25175a56:168f106579a:-7ff8</id>
<name>decsira_d_op_smaltimento</name>
<nativeName>decsira_d_op_smaltimento</nativeName>
<namespace>
<id>NamespaceInfoImpl--20fbe88c:15aa342d254:-7ffd</id>
</namespace>
<title>decsira_d_op_smaltimento</title>
<abstract>Elenco operazioni smaltimento rifiuti (ARADA)</abstract>
<keywords>
<string>features</string>
<string>decsira_d_op_smaltimento</string>
</keywords>
<srs>EPSG:32632</srs>
<nativeBoundingBox>
<minx>-1.0</minx>
<maxx>0.0</maxx>
<miny>-1.0</miny>
<maxy>0.0</maxy>
</nativeBoundingBox>
<latLonBoundingBox>
<minx>4.511247156296258</minx>
<maxx>4.51125611529294</maxx>
<miny>-9.0193758094E-6</miny>
<maxy>0.0</maxy>
</latLonBoundingBox>
<projectionPolicy>FORCE_DECLARED</projectionPolicy>
<enabled>true</enabled>
<store class="dataStore">
<id>DataStoreInfoImpl--20fbe88c:15aa342d254:-7ffc</id>
</store>
<maxFeatures>0</maxFeatures>
<numDecimals>0</numDecimals>
<overridingServiceSRS>false</overridingServiceSRS>
<skipNumberMatched>false</skipNumberMatched>
<circularArcPresent>false</circularArcPresent>
</featureType>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<layer>
<name>decsira_d_op_smaltimento</name>
<id>LayerInfoImpl-25175a56:168f106579a:-7ff7</id>
<type>VECTOR</type>
<resource class="featureType">
<id>FeatureTypeInfoImpl-25175a56:168f106579a:-7ff8</id>
</resource>
<attribution>
<logoWidth>0</logoWidth>
<logoHeight>0</logoHeight>
</attribution>
</layer>
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<featureType>
<id>FeatureTypeInfoImpl--4258179:1685601e640:-8000</id>
<name>decsira_d_stato</name>
<nativeName>decsira_d_stato</nativeName>
<namespace>
<id>NamespaceInfoImpl--20fbe88c:15aa342d254:-7ffd</id>
</namespace>
<title>decsira_d_stato</title>
<keywords>
<string>features</string>
<string>decsira_d_stato</string>
</keywords>
<srs>EPSG:32632</srs>
<nativeBoundingBox>
<minx>-1.0</minx>
<maxx>0.0</maxx>
<miny>-1.0</miny>
<maxy>0.0</maxy>
</nativeBoundingBox>
<latLonBoundingBox>
<minx>4.511247156296258</minx>
<maxx>4.51125611529294</maxx>
<miny>-9.0193758094E-6</miny>
<maxy>0.0</maxy>
<crs>GEOGCS[&quot;WGS84(DD)&quot;,
DATUM[&quot;WGS84&quot;,
SPHEROID[&quot;WGS84&quot;, 6378137.0, 298.257223563]],
PRIMEM[&quot;Greenwich&quot;, 0.0],
UNIT[&quot;degree&quot;, 0.017453292519943295],
AXIS[&quot;Geodetic longitude&quot;, EAST],
AXIS[&quot;Geodetic latitude&quot;, NORTH]]</crs>
</latLonBoundingBox>
<projectionPolicy>FORCE_DECLARED</projectionPolicy>
<enabled>true</enabled>
<store class="dataStore">
<id>DataStoreInfoImpl--20fbe88c:15aa342d254:-7ffc</id>
</store>
<maxFeatures>0</maxFeatures>
<numDecimals>0</numDecimals>
<overridingServiceSRS>false</overridingServiceSRS>
<skipNumberMatched>false</skipNumberMatched>
<circularArcPresent>false</circularArcPresent>
</featureType>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<layer>
<name>decsira_d_stato</name>
<id>LayerInfoImpl--4258179:1685601e640:-7fff</id>
<type>VECTOR</type>
<resource class="featureType">
<id>FeatureTypeInfoImpl--4258179:1685601e640:-8000</id>
</resource>
<attribution>
<logoWidth>0</logoWidth>
<logoHeight>0</logoHeight>
</attribution>
</layer>
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<featureType>
<id>FeatureTypeInfoImpl--2bd3ae60:167ad40971c:-7faf</id>
<name>sipra_dt_d_op_smaltimento</name>
<nativeName>sipra_dt_d_op_smaltimento</nativeName>
<namespace>
<id>NamespaceInfoImpl--20fbe88c:15aa342d254:-7ffd</id>
</namespace>
<title>sipra_dt_d_op_smaltimento</title>
<keywords>
<string>features</string>
<string>sipra_dt_d_op_smaltimento</string>
</keywords>
<srs>EPSG:32632</srs>
<nativeBoundingBox>
<minx>-1.0</minx>
<maxx>0.0</maxx>
<miny>-1.0</miny>
<maxy>0.0</maxy>
</nativeBoundingBox>
<latLonBoundingBox>
<minx>4.511247156296258</minx>
<maxx>4.51125611529294</maxx>
<miny>-9.0193758094E-6</miny>
<maxy>0.0</maxy>
<crs>GEOGCS[&quot;WGS84(DD)&quot;,
DATUM[&quot;WGS84&quot;,
SPHEROID[&quot;WGS84&quot;, 6378137.0, 298.257223563]],
PRIMEM[&quot;Greenwich&quot;, 0.0],
UNIT[&quot;degree&quot;, 0.017453292519943295],
AXIS[&quot;Geodetic longitude&quot;, EAST],
AXIS[&quot;Geodetic latitude&quot;, NORTH]]</crs>
</latLonBoundingBox>
<projectionPolicy>FORCE_DECLARED</projectionPolicy>
<enabled>true</enabled>
<store class="dataStore">
<id>DataStoreInfoImpl--20fbe88c:15aa342d254:-7ffc</id>
</store>
<maxFeatures>0</maxFeatures>
<numDecimals>0</numDecimals>
<overridingServiceSRS>false</overridingServiceSRS>
<skipNumberMatched>false</skipNumberMatched>
<circularArcPresent>false</circularArcPresent>
</featureType>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<layer>
<name>sipra_dt_d_op_smaltimento</name>
<id>LayerInfoImpl--2bd3ae60:167ad40971c:-7fae</id>
<type>VECTOR</type>
<resource class="featureType">
<id>FeatureTypeInfoImpl--2bd3ae60:167ad40971c:-7faf</id>
</resource>
<attribution>
<logoWidth>0</logoWidth>
<logoHeight>0</logoHeight>
</attribution>
</layer>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
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;]],
PROJECTION[&quot;Transverse_Mercator&quot;],
PARAMETER[&quot;central_meridian&quot;, 9.0],
PARAMETER[&quot;latitude_of_origin&quot;, 0.0],
PARAMETER[&quot;scale_factor&quot;, 0.9996],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
</latLonBoundingBox>
<projectionPolicy>FORCE_DECLARED</projectionPolicy>
<enabled>true</enabled>
<metadata>
<entry key="cachingEnabled">false</entry>
</metadata>
<store class="dataStore">
<id>DataStoreInfoImpl-33b2a2d4:169919f4e13:-7edf</id>
</store>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>LayerInfoImpl-33b2a2d4:169919f4e13:-7edd</id>
<type>VECTOR</type>
<defaultStyle>
<id>StyleInfoImpl-37b18cc6:14d5d036d48:-8000</id>
<id>StyleInfoImpl--53b7f0ab:16b415a09f7:-7ff4</id>
</defaultStyle>
<resource class="featureType">
<id>FeatureTypeInfoImpl-33b2a2d4:169919f4e13:-7ede</id>
Expand Down
Loading

0 comments on commit 661ab9c

Please sign in to comment.