# 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&#x26;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&#x26;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&#x26;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&#x26;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&#x26;token=e1612a0d-4311-4418-bd38-180a40507bfb" alt="FME result showing dataset has been read in" data-size="original">
{% endhint %}
