Sfoglia il codice sorgente

LIMITE COMUNALE MISILISCEMI

Upload limite comunale Misiliscemi
main
GIService 2 anni fa
parent
commit
3f104f8a64
  1. BIN
      .DS_Store
  2. BIN
      20230223last_version.zip
  3. BIN
      last_version/.DS_Store
  4. 23
      last_version/bckmap.php
  5. 25
      last_version/catamap.php
  6. 2
      last_version/cfg_srv.php
  7. BIN
      last_version/data/.DS_Store
  8. 8
      last_version/data/M432_limite_comune.json
  9. 22
      last_version/legenda.php

BIN
.DS_Store vendored

File binario non mostrato.

BIN
20230223last_version.zip

File binario non mostrato.

BIN
last_version/.DS_Store vendored

File binario non mostrato.

23
last_version/bckmap.php

@ -440,6 +440,18 @@ if (document.cookie.indexOf('cookies_consent=true') === -1) {
attribution: '© mapcloud services'
}),
mscle_pga = L.tileLayer.wms ('http://150.146.31.58/geoserver/wms',
{
format: 'image/jpeg',
transparent: true,
maxZoom: 20,
minZoom: 1,
transparent: true,
layers: 'ms_cle:pga',
attribution: 'Portale cartografico della Microzonazione Sismica e della Condizione Limite per l\'Emergenza (Servizio WMS)'
}),
zoning = L.tileLayer.wms (url,
{
@ -923,7 +935,7 @@ pratiche.addLayer(pratiche_json);
{label: '<b>Dati generali</b>', children: [
{label: 'CORINE Land Cover (IV Livello)', layer: clc18 },
{label: 'Classificazione Sismica 2022', layer: class_sismica },
]},
@ -987,6 +999,15 @@ pratiche.addLayer(pratiche_json);
{label: '<a class="legendainfo" data-toggle="modal" data-target="#modallegenda" data-id="sin" href="#"><i class="far fa-list-alt fa-lg" style="margin-top:12px;margin-left:5px;margin-right:5px"></i></a>SIN', layer: sin },
]},
{label: '<b>Protezione Civile</b>', children: [
{label: 'Classificazione Sismica 2022', layer: class_sismica },
{label: '<a class="legendainfo" data-toggle="modal" data-target="#modallegenda" data-id="vidrog" href="#"><i class="far fa-list-alt fa-lg" style="margin-top:12px;margin-left:5px;margin-right:5px"></i></a>Carta di Pericolosità (T.r.=475)', layer: mscle_pga },
{label: '<a class="legendainfo" data-toggle="modal" data-target="#modallegenda" data-id="dl227" href="#"><i class="far fa-list-alt fa-lg" style="margin-top:12px;margin-left:5px;margin-right:5px"></i></a>Carta Forestale - def. DLgs 227-01', layer: vinc227 },
]},
]
}

25
last_version/catamap.php

@ -476,7 +476,7 @@ if (document.cookie.indexOf('cookies_consent=true') === -1) {
attribution: '© mapcloud services'
}),
class_sismica = L.tileLayer.wms (url,
class_sismica = L.tileLayer.wms (url,
{
format: 'image/png',
transparent: true,
@ -489,6 +489,17 @@ class_sismica = L.tileLayer.wms (url,
attribution: '© mapcloud services'
}),
mscle_pga = L.tileLayer.wms ('http://150.146.31.58/geoserver/wms',
{
format: 'image/jpeg',
transparent: true,
maxZoom: 20,
minZoom: 1,
transparent: true,
layers: 'ms_cle:pga',
attribution: 'Portale cartografico della Microzonazione Sismica e della Condizione Limite per l\'Emergenza (Servizio WMS)'
}),
@ -1077,6 +1088,18 @@ var overlaysTree =
{label: '<a class="legendainfo" data-toggle="modal" data-target="#modallegenda" data-id="sin" href="#"><i class="far fa-list-alt fa-lg" style="margin-top:12px;margin-left:5px;margin-right:5px"></i></a>SIN', layer: sin },
]},
{label: '<b>Protezione Civile</b>', children: [
{label: '<a class="legendainfo" data-toggle="modal" data-target="#modallegenda" data-id="class_sismica" href="#"><i class="far fa-list-alt fa-lg" style="margin-top:12px;margin-left:5px;margin-right:5px"></i></a>Classificazione Sismica (2022)', layer: class_sismica },
{label: '<a class="legendainfo" data-toggle="modal" data-target="#modallegenda" data-id="mscle_pga" href="#"><i class="far fa-list-alt fa-lg" style="margin-top:12px;margin-left:5px;margin-right:5px"></i></a>Carta di Pericolosità (T.r.=475)', layer: mscle_pga },
]},
]
}

2
last_version/cfg_srv.php

@ -5,7 +5,7 @@ global $conn, $hostdb, $dbname, $userdb, $passworddb, $portdb;
//$hostdb = "172.21.1.111";
$hostdb = "localhost";
$dbname ="bbccaa2021";
$dbname ="bbccaa2022";
$userdb = "postgres";
//$passworddb = "AdminRS#2021";
$passworddb = "postgres";

BIN
last_version/data/.DS_Store vendored

File binario non mostrato.

8
last_version/data/M432_limite_comune.json

File diff suppressed because one or more lines are too long

22
last_version/legenda.php

@ -5,6 +5,21 @@
$legendaid = $_POST['legendaid'];
switch ($legendaid) {
case "mscle_pga":
$title = 'Carta di Pericolosità ';
$subtitle = '(T.r.=475)';
$widthitem = 180;
$column = 1;
$servizio = "esterno";
$layer = "http://150.146.31.58/geoserver/ms_cle/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=35&HEIGHT=25&LAYER=ms_cle:pga";
break;
case "class_sismica":
$title = 'Classificazione Sismica';
$subtitle = 'DRPC Sicilia 11 marzo 2022, n. 64';
$widthitem = 120;
$column = 1;
$layer = "class_sismica2022";
break;
case "zoning":
$title = 'P.R.G.';
$subtitle = 'Zonizzazioni di P.R.G.';
@ -230,7 +245,12 @@ $legendaid = $_POST['legendaid'];
</tr>
<tr>
<td colspan="2">
<img src="https://test-paesaggistica.lavoripubblici.sicilia.it/geoserver/mappers/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=35&HEIGHT=25&LAYER=mappers:<?php echo $layer; ?>&legend_options=columns:<?php echo $column; ?>" width="<?php echo $widthitem; ?>px"></td>
<?php if ($servizio == "esterno") { ?>
<img src="<?php echo $layer; ?>&legend_options=columns:<?php echo $column; ?>" width="<?php echo $widthitem; ?>px">
<?php } else { ?>
<img src="https://test-paesaggistica.lavoripubblici.sicilia.it/geoserver/mappers/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=35&HEIGHT=25&LAYER=mappers:<?php echo $layer; ?>&legend_options=columns:<?php echo $column; ?>" width="<?php echo $widthitem; ?>px">
<?php } ?>
</td>
</tr>
</table>

Caricamento…
Annulla
Salva