> For the complete documentation index, see [llms.txt](https://docs.os.uk/osngd/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.os.uk/osngd/getting-started/downloading-with-os-select+build/getting-started-with-geopackage/qgis.md).

# QGIS

Accessing GeoPackage data via QGIS

## Requirements

* QGIS (version 2.10.1 or later)
* A GeoPackage dataset

## Instructions

These instructions were created using QGIS version 3.22. Other versions of QGIS can be used, from version 2.10.1 onwards.

{% stepper %}
{% step %}

### Open a new or existing QGIS project.

{% endstep %}

{% step %}

### Add a layer by selecting *Layer* > *Add Layer* > *Add Vector Layer* from the top ribbon of the workspace.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2Fqpgj9cjIKX0vmYgqJ3Ms%2Fqgis-add-vector.png?alt=media&amp;token=7ffb80c1-fa17-45d1-9cc8-d96465d8bae1" alt="Screenshot showing the QGIS Add Vector Layer menu."><figcaption><p>QGIS Add Vector Layer menu.</p></figcaption></figure>

The Data Source Manager - Vector dialog box will appear.
{% endstep %}

{% step %}

### Select the GeoPackage that will be loaded using the *three dots* button located next to the Vector Dataset(s) box.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FJmeyLFk8xOR40VV7tOr3%2Fqgis-add-gpkg.png?alt=media&amp;token=351e29b5-14c8-4f16-98c3-0f103c0cc115" alt="Screenshot showing the Data Source Manager – Vector dialog in QGIS,"><figcaption><p>Data Source Manager – Vector dialog in QGIS.</p></figcaption></figure>

Navigate to the GeoPackage. Double-click the file or select it, then click *Add*. A separate dialog box will appear.
{% endstep %}

{% step %}

### Select the layers of the GeoPackage to be added to the map

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FojpnUmwecg0ON9f6tELo%2Fqgis-add-gpkg-layers.png?alt=media&amp;token=6d4b1d27-e10c-41aa-aaad-9aa6782681b1" alt="Screenshot showing the Select Items to Add dialog in QGIS."><figcaption><p>Select Items to Add dialog in QGIS.</p></figcaption></figure>

&#x20;It is possible to add selected layers, numerous layers or all layers. Once the relevant layers have been selected, click *Add Layers*.
{% endstep %}
{% endstepper %}

{% hint style="success" %}
The GeoPackage layers should now be viewable in the layers list on the left-hand side of the workspace.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.os.uk/osngd/getting-started/downloading-with-os-select+build/getting-started-with-geopackage/qgis.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
