Tutorials · ALAR 4010 / 8010 · Fall 2026

QGIS Setup and Export Walkthrough

A step-by-step guide for setting up a QGIS project, bringing in data, styling it, cropping to a study area, composing a print sheet, and exporting to DXF or Illustrator.

← All tutorials

The Venice lagoon project open in QGIS, showing bathymetric contours, buildings, and the northern archipelago
The Venice lagoon project open in QGIS, showing bathymetric contours, buildings, and the northern archipelago

Quick reference


1. Install QGIS

QGIS is free, open source, and runs on Windows, macOS, and Linux.

macOS

  1. Go to the download page and, under "Download for macOS", choose "Latest Release (4.2)".
  2. Open the downloaded `.dmg` file.
  3. Drag the QGIS icon into the Applications folder.
  4. On first launch, right-click the app and choose Open. macOS may warn about an unidentified developer; choose Open again to proceed.

Windows

  1. On the download page, under "Download for Windows", choose the "Latest Release installer (4.2)" or the OSGeo4W network installer.
  2. Run the installer and accept the defaults.
  3. Launch QGIS Desktop from the Start menu.

Linux

Follow the repository instructions on the download page for your distribution. Do not install from a flatpak or snap if you need to run QGIS plugins.


2. Start a new project

  1. Open QGIS.
  2. Project → New.
  3. Set the coordinate reference system (CRS): Project → Properties → CRS. For the Regione Veneto vector workflows in this tutorial, set EPSG:3003 Monte Mario / Italy zone 1. If you are working with latitude and longitude data, set EPSG:4326 (WGS 84). If your main layers are the DEM or bathymetry rasters, set EPSG:32633 (WGS 84 / UTM zone 33N) instead — see the note below.
  4. Save the project with Project → Save. QGIS saves projects as `.qgz` files, which bundle the map and its styling in a single compressed file.

The CRS is how QGIS places data on the map. Every layer must have a known CRS, and QGIS reprojects layers to the project CRS automatically, so data from different sources lines up correctly.

Venice sits at roughly 12.34°E, just east of the 12°E boundary, so its true UTM zone is 33N — EPSG:32633 (WGS 84) or EPSG:25833 (ETRS89) — not 32N. The "UTM zone 32N" sometimes quoted for Venice comes from global elevation tiles (TINITALY, Copernicus) that use 32N as a whole-Italy coverage convention, not from Venice's actual zone. The Regione Veneto vectors are Monte Mario Gauss-Boaga, mostly zone 1 (EPSG:3003) with a smaller set in zone 2 (EPSG:3004); the DEM and bathymetry rasters are EPSG:32633. Two bathymetry files, `bathy_5m.tif` and `venice_merged_5m.tif`, carry no embedded CRS — when you load them, assign EPSG:32633 (right-click the layer → Layer CRS → Set Layer CRS) or QGIS will place them incorrectly.

A new, empty QGIS project with a blank canvas
A new, empty QGIS project with a blank canvas
The Coordinate Reference System dialog with EPSG:3003 Monte Mario Italy zone 1 selected
The Coordinate Reference System dialog with EPSG:3003 Monte Mario Italy zone 1 selected

3. Import data layers

QGIS works with two families of data: vector and raster.

Vector layers

Vector data is geometry with attributes. Three types:

Common vector formats: Shapefile (`.shp`), GeoPackage (`.gpkg`), GeoJSON (`.geojson`), KML, and DXF.

To add a vector layer: Layer → Add Layer → Add Vector Layer, then browse to the file. You can also drag and drop a file from your file browser into the map canvas.

Raster layers

Raster data is a grid of cells, each holding one value. Three types:

Common raster formats: GeoTIFF (`.tif`), JPEG2000, ASCII grid, ECW.

To add a raster layer: Layer → Add Layer → Add Raster Layer, then browse to the file.

The Data Source Manager: choose Vector or Raster on the left, then browse to the file
The Data Source Manager: choose Vector or Raster on the left, then browse to the file

Add the 2024 AGEA orthophoto from the web (WMS)

The Regione Veneto serves its 2024 aerial orthophoto mosaic, the AGEA 2024 orthofoto at 20 cm ground resolution, as a free web map service. This is the sharpest aerial imagery available for the lagoon, and it streams straight into QGIS, so there is no 20+ GB download. You do need an internet connection.

  1. Layer → Add Layer → Add WMS/WMTS Layer…. (Or open the Data Source Manager with Layer → Data Source Manager and choose WMS/WMTS on the left.)
  2. Click New to create a connection. Give it a name such as `Regione Veneto WMS` and paste this URL:

`https://idt2-geoserver.regione.veneto.it/geoserver/ows`

  1. Click OK, then click Connect. QGIS downloads the service's layer list; this can take a few seconds.
  2. Expand the service entry and find the 2024 orthophoto, listed as AGEA 2024 ortofoto (service layer `rv:ortofoto_agea_2024`). Select only that layer, not the whole service.
  3. Click Add, then Close. The orthophoto appears in the Layers panel and on the canvas.
  4. Drag it near the bottom of the layer list so your vector overlays (contours, buildings, section lines) draw on top of it.

Notes:


4. Style layers

Style a vector layer

  1. Right-click the layer and choose Properties → Symbology.
  2. Pick a renderer from the top dropdown:
  1. Set the symbol. For a polygon, set the fill color and the stroke. For a line, set the color and width. For a point, set the size and color.

Style a raster layer

  1. Right-click the layer and choose Properties → Symbology.
  2. For a continuous raster (a DEM or bathymetry), set Render type to Singleband pseudocolor, choose a color ramp, and set the min and max values.
  3. For imagery, set Render type to Multiband color and assign the red, green, and blue bands.
The Symbology tab with the Single Symbol renderer, fill color, and stroke settings
The Symbology tab with the Single Symbol renderer, fill color, and stroke settings

5. Mask or crop a layer to a polygon

To limit a layer to a study area, clip it with a polygon.

Make a polygon to clip with (no data source needed)

If you do not have a clip polygon yet, draw one directly in QGIS:

  1. Layer → Create Layer → New Temporary Scratch Layer.
  2. Set the geometry type to Polygon and the CRS to EPSG:3003 (or match your project CRS), then click OK.
  3. Click the Toggle Editing pencil icon, then click Add Polygon Feature.
  4. Click points on the map to trace your study area, then right-click to finish the shape.
  5. Enter a name for the feature and click OK. Click the pencil icon again to save and stop editing.

The new layer appears in the Layers panel. Use it as the mask layer or overlay layer in the tools below.

Crop a raster to a polygon (mask)

  1. Raster → Extraction → Clip Raster by Mask Layer.
  2. Set Input layer to your raster and Mask layer to your polygon.
  3. Assign a nodata value (for example -9999) so cells outside the polygon are empty, then Run.

Clip a vector to a polygon

  1. Vector → Geoprocessing Tools → Clip.
  2. Set Input layer to your vector and Overlay layer to your polygon, then Run. The output keeps only the features that fall inside the polygon.

Both tools are also in the Processing Toolbox (open it with Processing → Toolbox) under the same names.

The Clip tool with the input layer and the clip polygon set
The Clip tool with the input layer and the clip polygon set

6. Set up a sheet layout for printing

The Print Layout is where you compose a finished map sheet.

  1. Project → New Print Layout, then give the layout a name.
  2. In the layout window, add the pieces you need from the toolbar on the left:
  1. Select the map item and, in Item Properties on the right, set the scale, or use Set map extent to match main canvas extent to match what is on screen.
  2. Set the page size: right-click the page and choose Page Properties, then set the size to A3 or A4 (landscape or portrait).
  3. Export the sheet: Layout → Export as Image (PNG) or Layout → Export as PDF.

7. Export to DXF or AI

Export to DXF (for AutoCAD and Rhino)

  1. Project → Import/Export → Export Project to DXF.
  2. Choose the layers to export and a destination CRS. Use EPSG:3003 (or your project CRS).
  3. Save. The `.dxf` keeps each QGIS layer as a separate DXF layer. If your source data carries Z values (elevation), those Z values survive in the DXF as 3D geometry.

Export to Adobe Illustrator

QGIS does not write `.ai` files directly. Use one of two routes:

Tip: for a clean Illustrator file, export from a Print Layout at a fixed scale. Do not export the raw project view; it loses the sheet framing, scale bar, and legend.

The DXF Export dialog with symbology mode and the EPSG:3003 output CRS
The DXF Export dialog with symbology mode and the EPSG:3003 output CRS

Venice data notes