GeoPackage

From HandWiki
Revision as of 07:58, 27 June 2023 by Jworkorg (talk | contribs) (link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: GIS data format
GeoPackage
Filename extension.gpkg
Internet media typeapplication/geopackage+sqlite3[1]
Developed byOpen Geospatial Consortium
Initial release13 February 2014; 10 years ago (2014-02-13)
Latest release
1.3
(26 November 2020; 3 years ago (2020-11-26))
Type of formatGeographic information system
Contained bySQLite
StandardOGC GeoPackage Encoding Standard
WebsiteOGC GeoPackage Standard Working Group

GeoPackage (GPKG) is an open, non-proprietary, platform-independent and standards-based data format for geographic information systems built as a set of conventions over a SQLite database. Defined by the Open Geospatial Consortium (OGC)[2] with the backing of the US military[3] and published in 2014, GeoPackage has seen widespread support from various government, commercial, and open source organizations.[4]

Origin

Despite dozens of file formats and services for exchanging geospatial data, there was not an open format which could support both raster and vector data, while being efficiently decodable by software, particularly in mobile devices.[5][6] This need was formally expressed at the OGC in 2012.[7] The candidate standard was approved by the OGC in February 2014.[8]

Format

A GeoPackage is defined as a SQLite 3 database file with a specific database schema and with filename extension .gpkg.[9] The schema defines data and metadata tables with specified definitions, integrity assertions, format limitations and content constraints.[9]

The GeoPackage standard describes a set of conventions (requirements) for storing vector features, tile matrix sets of imagery and raster maps at various scales, schema and metadata.

A GeoPackage can be extended by using the extension rules as defined in clause 2.3 of the standard. The OGC GeoPackage standard specifies a set of OGC member approved extensions in Annex F. Additional (vendor-specific) extensions may also be added by following the rules for GeoPackage extensions, however doing so can impact interoperability.

GeoPackage was designed to be as lightweight as possible and be contained in one ready-to-use single file. This makes it suitable for mobile applications in disconnected mode[10] and rapid sharing on cloud storage, USB drives, etc. The GeoPackage extension F.3 RTree Spatial Indexes specifies how to use SQLite spatial indexes in order to speed up performance on spatial queries compared to traditional geospatial files formats.

References

External links