> 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/fme.md). Agents can also search and read this documentation through its [MCP server](https://docs.os.uk/osngd/~gitbook/mcp).

# FME

Reading GeoPackage data via FME

FME is a data integration platform which can read the GeoPackage format and be used to convert and transform the data into other formats or databases. The below example shows how to read a GeoPackage into an FME workbench.

## Requirements

* FME Desktop
* An FME license
* A GeoPackage dataset

## Instructions

{% stepper %}
{% step %}
In the FME top ribbon, click the *Add Reader* button

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FRPjc2aUBIjSeqawIomtR%2Ffm1.png?alt=media&amp;token=ef516143-cff2-41dc-9b46-bd8cb19c931d" alt="Screenshot of the FME Add Reader button."><figcaption><p>FME Add Reader button.</p></figcaption></figure>

A dialog box will appear.
{% endstep %}

{% step %}

### Select OGC GeoPackage in the Format dropdown and click the three dots button next to the Dataset box to specify which GeoPackage you want to read

The Coordinate System should also be set appropriately.

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2F14D9rK8Ffk0B7LZV09Bd%2Ffme-add-gpkg.png?alt=media&amp;token=238417cb-088f-43fa-8ad0-e98b4affbd32" alt="Screenshot showing the FME Add Reader dialog. "><figcaption><p>FME Add Reader dialog. </p></figcaption></figure>
{% endstep %}

{% step %}

### Click Parameters in the Add Reader dialog box

Another dialog box will appear to specify OGC GeoPackage Parameters. &#x20;

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FlK4TaP8gDs03OBjcfsb7%2Ffme-add-gpkg-parameters.png?alt=media&amp;token=395e91a4-be0e-4ca5-9305-ec5e540d9dfe" alt="Screenshot showing the FME OGC GeoPackage Parameters dialog."><figcaption><p>FME OGC GeoPackage Parameters dialog.</p></figcaption></figure>

Here, specific layers within the GeoPackage can be selected, rather than importing the entire file. Additionally, the Search Envelope can be used to clip the GeoPackage to an extent.
{% endstep %}

{% step %}

### Select the layers to be added into the workbench

<figure><img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FHfyEGfe0Coahwmv080KC%2Ffme-add-gpkg-select.png?alt=media&amp;token=ba213bd8-6493-448c-be58-a8a8fad9ba44" alt="Screenshot showing the FME GeoPackage Select Tables dialog."><figcaption><p>FME GeoPackage Select Tables dialog.</p></figcaption></figure>

Click OK when the required themes / layers have been selected.
{% endstep %}
{% endstepper %}

{% hint style="success" %}
An orange reader will appear which will display the name of the GeoPackage table that has been ‘read in’.

<img src="https://170091638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0pZjHxkAvY7Mn6TqFBMD%2Fuploads%2FYyqu8fY29k86NNCmRTyF%2Ffme-added-gpkg.png?alt=media&amp;token=e1612a0d-4311-4418-bd38-180a40507bfb" alt="FME result showing dataset has been read in" data-size="original">
{% 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/fme.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.
