# GeoPackage overview

The Open Geospatial Consortium (OGC) defines GeoPackage (\*.gpkg) as an open, non-proprietary, platform-independent, standards-based data format for geographic information systems (GIS). It is designed to be a lightweight format that can contain large amounts of varied and complex data in a single, easy-to- distribute and ready-to-use file. GeoPackage is natively supported by numerous software applications.

GeoPackage offer users the following benefits:

* The single file is easy to transfer and offers a rich end-user experience.
* Attribute names are not limited in length, making the format user friendly.
* The file size limit is large at 140 TB.

{% hint style="info" %}
*A file size limit could be imposed by the file system to which the file is written.*
{% endhint %}

* It supports raster, vector, and database formats, making it a highly versatile solution.
* It is an OGC standard.
* In most cases, it is a plug-and-play format.

For information on how to open, use and understand a GeoPackage dataset, please refer to our *Getting Started with GeoPackage* guide. For further information on GeoPackage, please see the [GeoPackage website](https://www.geopackage.org/).

## GeoPackage format changes <a href="#bookmark23" id="bookmark23"></a>

We've recently updated some of our products available in GeoPackage format to align with OGC standards and we've also fixed various formatting inconsistencies. For OS Open Greenspace, the updates are as follows:

* **GeoPackage attribution:** The following attribute names have been changed from title case to snake case:

### GeoPackage attribute name changes in April 2023.

| GeoPackage attribute name prior to April 2023 | GeoPackage attribute name after April 2023 |
| --------------------------------------------- | ------------------------------------------ |
| fid                                           | fid                                        |
| id                                            | id                                         |
| function                                      | function                                   |
| distinctiveName1                              | distinctive\_name\_1                       |
| distinctiveName2                              | distinctive\_name\_2                       |
| distinctiveName3                              | distinctive\_name\_3                       |
| distinctiveName4                              | distinctive\_name\_4                       |
| geom                                          | geometry                                   |
| accessType                                    | access\_type                               |
| refToGreenspaceSite                           | ref\_to\_greenspace\_site                  |

* **Layer names:** The following layer names have been changed from title case to snake case:
  * **AccessPoint to access\_point**
  * **GreenspaceSite to greenspace\_site**
* **Constraints**: The following constraints have been changed from title case to snake case:
  * **AccessPoint\_pkey to access\_point\_pkey**
  * **GreenspaceSite\_pkey to greenspace\_site\_pkey**

## Example records <a href="#bookmark24" id="bookmark24"></a>

### **Greenspace Site**

<figure><img src="/files/Fq6uyphj6Mv7ls03tXq2" alt="GeoPackage example records for Greenspace Site features."><figcaption><p>GeoPackage example records for Greenspace Site features.</p></figcaption></figure>

### **Access Point**

<figure><img src="/files/PxLRnQdP40zk12yn92rZ" alt="GeoPackage example records for Access Point features."><figcaption><p>GeoPackage example records for Access Point features.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.os.uk/os-downloads/products/land-and-terrain-portfolio/os-open-greenspace/os-open-greenspace-technical-specification/geopackage-overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
