28.05.2013 Views

QGIS User Guide - OSGeo Download Server

QGIS User Guide - OSGeo Download Server

QGIS User Guide - OSGeo Download Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

12.11 Plugin Map<strong>Server</strong> Export<br />

In questo esempio vengono mostrati i quattro passi per arrivare ad essere pronti a creare il map file<br />

in Map<strong>Server</strong>. Vengono usati file vettoriali e raster dal dataset campione di <strong>QGIS</strong> 3.2.<br />

1. Aggiungere il layer raster landcover.tif premendo il tasto Aggiungere Layer Raster .<br />

2. Aggiungere i file Shape lakes.shp, majrivers.shp e airports.shp dal dataset campionei<br />

<strong>QGIS</strong> premendo il tasto Aggiungere Layer Vettoriale .<br />

3. Cambiare i colri e simbilizzare i dati a piacere (vedere la Figura 69)<br />

4. Salvare un nuovo progetto chiamato mapserverproject.qgs usando File ><br />

Salva progetto .<br />

12.11.2. Creazione del Map File<br />

Lo strumento msexport per esportare un file progetto <strong>QGIS</strong> in un file mappa Map<strong>Server</strong> è installato<br />

nella directory binaria <strong>QGIS</strong> e può essere usato indipendentemente da <strong>QGIS</strong>. Da QGIs bisogna<br />

prima caricare il plugin Map<strong>Server</strong> Export con il <strong>QGIS</strong> Plugin Manager. Selezionare Plugins<br />

> Gestione Plugins... per aprire il <strong>QGIS</strong> Plugin manager, scegliere il plugin Map<strong>Server</strong> Export e<br />

premere OK . Ora avviare la finestra di dialogo Map<strong>Server</strong> Export (vedere Figura 70)<br />

premendo il tasto nel menu strumenti.<br />

File mappa<br />

Scegliere un nome per il file mappa da creare. si può usare il tasto a destra per scegliere per<br />

la directory dove si vuole che il file venga creato.<br />

File progetto <strong>QGIS</strong><br />

Introdurre il percorso completo per il file progetto <strong>QGIS</strong> (.qgs) che si vuole esportare. Si può<br />

usare il tasto a destra per cercare il file progetto <strong>QGIS</strong>.<br />

Nome mappa<br />

Un nome per la mappa. Questo nome è prefissato a tutte le immagini generate dal mapserver.<br />

Larghezza mappa<br />

Larghezza dell’immagine in output in pixel.<br />

Altezza della mappa<br />

Altezza dell’immagine in output in pixel.<br />

Unità della mappa<br />

Unità di misura usate per l’output.<br />

<strong>QGIS</strong> 1.4.0 <strong>User</strong> <strong>Guide</strong> 177

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!