- Explain how QGIS combines geometry with descriptive attributes.
- Install QGIS, start a project, and navigate its main interface areas.
- Find, import, organize, inspect, style, label, and edit geographic data.
- Choose and assign coordinate reference systems suited to display or measurement.
- Perform introductory vector, raster, and network analyses.
- Create reusable models, print layouts, and interactive web-map exports.
- No previous GIS or spatial-analysis experience is required.
- Access to a supported macOS, Windows, or Linux computer is helpful for following the workflow.
QGIS and Geographic Information
Begin with the purpose of QGIS and the two linked components of geographic data.
QGIS is free, open-source GIS software for viewing, arranging, changing, analyzing, and presenting location-based information. It supports anything from a first map to advanced work involving databases, Python, web maps, and complex spatial processes.
- Geometry records an object's position and form.
- Attributes store descriptive facts connected with that geometry.
Reasons to Choose QGIS
QGIS is open, extensible, cross-platform, and supported by a worldwide community.
QGIS can be downloaded and used without buying a commercial license. Its public development process lets contributors inspect and improve the software, test releases, write documentation, and build extensions.
- Extra mapping services
- Data-import utilities
- Advanced analysis and automatic classification
- Web-map production
- Digitizing and editing
- Database connections
- Specialized scientific processes
The application runs on macOS, Windows, and Linux and can work with cloud environments, web technologies, databases, and other open-source tools. It serves beginners while also supporting spatial analysis, terrain work, networks, scripting, large datasets, external services, and professional workflows.
Community resources include user manuals, training, technical documentation, forums, user groups, testing opportunities, and mailing lists. Match documentation to the installed version: core ideas often persist, but commands and interface details can change.
Why could an organization favor software it can examine, extend, and integrate over a product confined to one commercial platform?
It can inspect how the software works, adapt it, connect it to other systems, and benefit from community development without being restricted to one vendor's platform.
Installation and Project Setup
Download the correct package, launch QGIS safely, and create a project.
- Choose the download for macOS, Windows, Linux, or another supported system.
- Follow the operating system's installation process; on macOS, this commonly means moving the application into Applications.
- Replace an older installation when appropriate, or retain both versions when compatibility requires it.
- If security controls block the program, approve it through security or privacy settings only when the source is trusted and local policy permits it.
- Open QGIS and create a project from the Project menu or the new-project option.
Finding Your Way Around QGIS
Learn the panels, canvas, controls, menus, and analytical toolbox.
Layers Panel
The Layers panel lists the project's geographic layers. From it, you can show or hide entries, reorder them, remove them, open properties, filter the list, and change layer controls.
Browser Panel
The Browser panel exposes folders, favorites, GeoPackages, spatial databases, PostgreSQL or PostGIS, SpatiaLite, web services, XYZ tiles, WMS connections, and ArcGIS REST services. Saving a common folder as a favorite avoids repeated navigation through the file system.
Map Canvas and Navigation
The central canvas displays the map. It supports panning, zooming, selection, feature identification, inspection, measurement, rotation, multiple scales, and coordinate display. The status area commonly reports cursor coordinates and current scale.
- Zoom with the mouse wheel or plus and minus shortcuts.
- Move across the view with the pan control.
- Enter or copy coordinates to work with a precise position.
- Set a scale directly, such as 1:100,000 or 1:1,000.
- Change magnification or rotation and use preset zooms or bookmarks.
Toolbars, Menus, and Processing
Toolbars give quick access to project files, layouts, navigation, identification, selection, geometry editing, raster work, and other operations. Right-click the toolbar area to show or hide groups and tailor the workspace.
- Project
- Settings
- Plugins
- Vector
- Raster
- Database
- Processing
The Processing Toolbox gathers vector, raster, network, conversion, database, transformation, GRASS, GDAL, geometry, and spatial-relationship tools. Search terms such as raster or buffer narrow the list quickly.
When the canvas seems empty, which possibilities should you investigate first?
Confirm that the data exists, the layer is enabled, its drawing position is sensible, and the canvas is viewing the correct geographic area.
Finding and Assessing Geographic Data
Use public portals and choose data that fits the study.
Open-data portals may offer parks, roads, trees, playgrounds, bicycle routes, facilities, protected natural areas, event locations, and wildlife observations.
- Coverage: does the dataset include the area being studied?
- Theme: does it describe the relevant subject?
- Geometry: are its features points, lines, or polygons?
- Attributes: are the required descriptive fields present?
- Scale and size: can it be processed efficiently?
- Date: does it cover the suitable period?
- Format: can QGIS open it directly?
Common File Formats
| Format | How it behaves |
|---|---|
| GeoJSON | Usually keeps vector geometry and attributes together in one portable file. |
| Shapefile | Uses several companion files for geometry, attributes, CRS, and indexing; keep the set together. |
| KML or KMZ | Works in QGIS but may include structure or properties designed for Google Earth. |
| CSV | Stores rows and columns; coordinate fields must be assigned before the table behaves as a spatial layer. |
Dataset Download Workflow
- Search a portal for a topic such as parks or trees.
- Limit the results to geographic or map datasets.
- Review the description and provider.
- Open the complete source dataset when needed.
- Choose a suitable spatial format.
- Download the data.
- Place it inside the project's data folder.
- Load it into QGIS.
Adding Layers and Reading Their Data
Load files, diagnose visibility, and connect map features with table records.
- Drag a file from Browser into the canvas or Layers panel.
- Use the relevant Add Layer command.
- Locate the file through the data-source dialog.
If an imported layer cannot be seen, inspect its visibility checkbox, drawing order, current map extent, assigned CRS, and whether it actually contains features in the visible area.
| Geometry | What it can represent |
|---|---|
| Points | Single locations, including trees and wildlife sightings. |
| Lines | Paths or connected systems, including streets, trails, and bicycle routes. |
| Polygons | Areas such as parks, lakes, and administrative units. |
In an attribute table, one row corresponds to one feature. Fields can hold text, numbers, dates, web addresses, categories, codes, or measurements. The Identify Features tool reveals the stored values for a feature selected on the canvas.
Coordinate Reference Systems and Projections
Understand how QGIS interprets coordinates and why analysis units matter.
Longitude and latitude are common geographic coordinates. A projected system represents the curved Earth on a plane, and each projection balances shape, area, distance, and direction differently.
- EPSG:4326 is commonly associated with longitude and latitude.
- EPSG:3857 is widely used for online maps and web basemaps.
The project CRS governs joint display. QGIS can transform layers during rendering even when their source systems differ, but correct source assignments remain essential. Treating longitude and latitude as projected meter coordinates can misplace features and make distance results use unsuitable units.
QuickMapServices can supply contextual basemaps such as OpenStreetMap, including roads, names, water, buildings, and boundaries. When a Web Mercator basemap appears distorted under EPSG:4326, switching the project to EPSG:3857 commonly corrects its display.
Why is a meter-based projected CRS usually preferable to longitude and latitude for a buffer with a fixed distance?
Its coordinates use linear units such as meters, while longitude and latitude use degrees whose ground distance is not constant everywhere.
Styling Geographic Data
Use symbols to express categories, quantities, and meaningful differences.
QGIS styling can change color, shape, size, transparency, outlines, rotation, labels, layer order, blending, and scale-dependent visibility through layer properties or the styling panel.
Single and Categorized Symbols
Single-symbol styling gives every feature the same appearance and suits a layer representing one broad class. The symbol can still be adjusted by color, dimensions, outline, transparency, or icon.
Graduated Symbols
Graduated styling maps a numeric field to colors or sizes. It requires choosing the field, visual variable, class count, boundary method, and color ramp or size range.
| Method | Behavior |
|---|---|
| Equal count | Seeks roughly the same number of features per class. |
| Equal interval | Splits the total numeric range into equal-width bands. |
| Fixed interval | Uses a selected constant interval size. |
| Logarithmic scale | Defines classes using a logarithmic progression. |
| Natural breaks | Finds groups with similar internal values and stronger differences between groups. |
Color can emphasize overall numeric patterns, while size may communicate physical magnitude more directly; larger tree markers, for instance, can indicate wider trunks. Combining both is possible, but too much visual variation reduces clarity.
Missing Values and Advanced Controls
Further options include drawing effects, blending, data-defined properties, rotation from an angle field, displacement, clustering, heat maps, rule-based styles, embedded symbols, visibility ranges, and ordering for overlaps.
Turning CSV Coordinates into Spatial Data
Assign coordinate columns and convert text fields before numeric analysis.
- Add the CSV as a vector layer.
- Locate the longitude column.
- Use longitude for X.
- Locate the latitude column.
- Use latitude for Y.
- Assign the coordinate system represented by the values, commonly EPSG:4326 for longitude and latitude.
- Load the resulting point layer into the project.
Points that appear in the ocean despite plausible values may have the wrong layer CRS. Correct the assignment and zoom to the layer to restore their intended placement.
Numeric-looking CSV fields may arrive as strings and therefore be unavailable for graduated styling or calculations. Use a Processing Toolbox refactoring operation to convert such a field to an integer, decimal, or floating-point type.
- Graduated styling
- Calculations
- Sorting and statistics
- Filtering
- Spatial summaries
Attribute Tables, Selection, and Labels
Use records for inspection and show selected values on the map.
The attribute table supports selection, filtering, editing, field calculations, sorting, zooming to selected features, panning to chosen rows, and general inspection. Zoom to Selection is especially useful in a dense point dataset.
Labels place a chosen field's values on the canvas—for example, a tree-status value such as stump. Settings cover font, size, weight, color, placement, background, masking, overlaps, and rule-based display.
Editing and Creating Vector Features
Modify existing boundaries or draw a new vector dataset.
- Select the editable layer.
- Enable editing mode.
- Activate vertex editing.
- Select the polygon to expose its vertices.
- Move, insert, or delete vertices.
- Commit the changes.
- Leave editing mode.
Print Layouts and Plugins
Prepare a formal map and extend QGIS with additional tools.
- Map frame
- Legend
- Scale bar
- North arrow
- Text, shapes, images, labels, and other decorations
- Create a print layout and set the page dimensions.
- Insert a map item and draw its frame.
- Add the legend, scale bar, and north arrow.
- Refine item sizes and positions.
- Print or export the finished design.
Layouts can be exported to PDF or SVG; SVG is useful for later work in a vector graphics editor. Saved layouts also support repeated maps with consistent design. The legend explains symbols, the scale bar conveys distance, and the north arrow indicates orientation.
Plugins are installed through the manager connected to the official repository. Search for an extension, inspect its description and compatibility, install or upgrade it, restart if required, and then locate its command in a menu or toolbar.
- Basemaps and OpenStreetMap retrieval
- Simple analysis and automatic classification
- Web-map export
- Digitizing
- Google Earth Engine integration
- Additional database and processing functions
Vector Spatial Analysis
Use buffers and point counts to measure proximity relationships.
Consider the question: how many squirrel observations occurred near playgrounds? The inputs are playground features, squirrel points, and a distance that defines near.
- Nearest-neighbor analysis and shortest lines
- Distance matrices
- Point-to-line and other geometry conversions
- Clustering
- Spatial joins
- Interpolation
- Raster-to-vector conversion
Reusable Processing Models
Combine analysis steps into repeatable procedures.
Model Designer links processing operations so a multi-step task can run as one model. A model can contain inputs, algorithms, connections from outputs to later inputs, final products, and parameters such as distance or field choice.
- Less repetitive work
- Better reproducibility
- Fewer inconsistent settings
- Reuse with new datasets
- A recorded order of operations
Models may be retained in a project, exported, or converted into scripts for QGIS's Python environment.
What does a model add when identical analysis must be repeated for many parks, neighborhoods, or dates?
It preserves the sequence and settings, reduces repeated manual effort, improves consistency, and lets the procedure accept new inputs.
Raster and Elevation Analysis
Clip a DEM and derive visual terrain products.
Unlike discrete vector features, raster data divides space into cells and stores a value in each cell. Rasters can represent elevation, temperature, rainfall, land cover, slope, or satellite imagery.
High-resolution rasters may require several gigabytes, increasing download, storage, rendering, and processing demands. Cropping to the study region is therefore often an early step.
- Select or prepare the study-area polygon, such as Central Park.
- Save the selected polygon separately if necessary.
- Use the DEM as the raster input.
- Use the study boundary as the mask.
- Run Clip Raster by Mask Layer.
- Continue with the smaller clipped raster.
Terrain Products
| Product | Interpretation |
|---|---|
| Hillshade | Simulated illumination makes slopes facing the light brighter and opposite slopes darker, revealing terrain form rather than elevation values directly. |
| Contours | Lines join equal elevations; tight spacing indicates steeper change, while wider spacing indicates gentler ground. |
| Shaded relief | Elevation and lighting combine to display hills, valleys, level areas, and depressions expressively. |
Central Park illustrates these products because its comparatively level spaces, rocky outcrops, hills, valleys, and other elevation changes can all emerge from a detailed DEM.
Further Raster Operations
- Reclassification and rounding
- Zonal statistics
- Raster creation
- Terrain analysis
- Raster-to-vector conversion
- Interpolation
Raster values can also enrich vector features—for example, assigning each tree, building, or observation point the elevation of its underlying cell.
Network Analysis
Calculate routes through connected line data.
A basic route problem needs a line network, origins, destinations, and a routing rule. Destination points can be drawn in a new point layer and assigned identifiers.
A shortest route minimizes distance. A fastest route can minimize travel time when speed data is present. More advanced networks may also record direction and one-way restrictions.
- Load or create the line network.
- Create destination points.
- Open a network-analysis algorithm.
- Select the network layer.
- Select the destination layer.
- Specify the starting location.
- Choose shortest or fastest routing.
- Run the calculation.
- Examine the output route lines.
Related tools can produce service areas, nearest routes, and other accessibility measures. Larger routing projects can connect QGIS to spatial databases and PostGIS-based routing systems.
Publishing an Interactive Web Map
Export a desktop project for browser-based exploration.
A plugin such as QGIS2Web can turn a project into an interactive web map. Export settings can select published layers, cluster point data, choose popup fields, adjust appearance, enable geolocation, select OpenLayers or Leaflet, and specify an output folder.
- HTML
- JavaScript
- CSS
- Images
- Geographic data and supporting resources
Opening the generated HTML file displays a map that can be panned and zoomed; users can expand clusters and click features for attribute popups. Uploading the full exported folder to suitable online storage or a web server makes the result shareable.
A Complete Beginner-to-Intermediate Workflow
Bring data preparation, analysis, and communication into one ordered process.
- Install QGIS and begin a project.
- Arrange source files in a project folder.
- Add the geographic layers.
- Review geometry and attributes.
- Assign or verify the project CRS.
- Add a basemap for context.
- Control layer visibility and drawing order.
- Style categorical and numeric fields.
- Correct unsuitable field types.
- Add purposeful labels.
- Modify features or digitize new ones.
- Perform vector analysis such as buffering and point counting.
- Process raster data such as a DEM.
- Calculate network routes when connected movement matters.
- Build a reusable model for repeated work.
- Prepare a print layout or interactive web map.
- Save the project and any outputs that must persist.
The dependencies matter: a layer must be placed correctly before its styling is meaningful; a suitable CRS must precede trustworthy distance work; and numeric fields must have numeric types before graduated classification. Results can then be styled and communicated through print or web output.
Common misconceptions
Watch out: Saving a QGIS project always embeds every source dataset inside it.
Instead: A project commonly stores references to external files, so moving or removing those files can break their paths.
Watch out: A CSV becomes spatial automatically whenever latitude and longitude columns are present.
Instead: The longitude and latitude fields must be assigned to X and Y, and the matching CRS must also be specified.
Watch out: Changing only the project CRS makes every incorrectly assigned source layer valid.
Instead: On-the-fly display transformations do not replace a correct source CRS assignment; wrong assignments can misplace data and invalidate units.
Watch out: Every zero in a measurement field is a genuine measured quantity.
Instead: Some zeros may indicate an unknown or unrecorded value and should be checked before symbolization or analysis.
Watch out: Hillshade directly reports the elevation value of each location.
Instead: Hillshade primarily depicts terrain shape through simulated lighting; it does not necessarily present the elevation values themselves.
Lesson recap
QGIS is a free, open, cross-platform GIS environment for mapping, editing, vector and raster analysis, routing, scripting, databases, print design, and web publication.
- Layers arrange spatial information; points, lines, and polygons describe different feature forms.
- Attribute tables hold the descriptive values attached to features.
- CRSs define coordinate meaning, and projected systems commonly provide suitable linear units for distance operations.
- Categorized styles show groups, while graduated styles communicate numeric change; labels expose selected attributes.
- Editing changes existing geometry, and digitizing creates new features.
- Buffers model distance zones, and point-in-polygon operations count observations within areas.
- Rasters store cell values; DEMs, hillshade, contours, and shaded relief support terrain work.
- Network analysis finds routes through connected line systems.
- Plugins expand QGIS, and Model Designer makes analytical sequences repeatable.
- Print layouts produce static maps, while web exports create interactive browser maps.
The central GIS habit is to connect location, attributes, coordinate systems, and analytical intent. An effective map is an organized argument in which geometry, tabular information, projection, analysis, and visual design all serve the question being examined.