GeoPackage

GeoPackage

Tiles and features

Mobile friendly

No connection, no problem

MapCache Desktop

Transform your data and share GeoPacakges

Download tiles from WMS or XYZ servers, and import GEOINT from a variety of sources: KML, shapefile, geotiff, and more.

Find what's nearby with OpenStreetMap search. Set custom icons and style your polygons. Attach and save images.

Save your data into a GeoPackage and go offline in the field on Android and iOS

Fork it on Github

MapCache Mobile

Your geospatial data, on the go, even disconnected

Download tiles from XYZ and WMS servers for use in disadvantaged areas. Create points and collect data in the field with custom forms and photo attachments.

Share your GeoPackages with other users via Android Beam or Airdrop. Use your data in other apps that support GeoPackage on your device.

Download from Google Play or the App Store on your device, or build it on your machine from source.

Build with GeoPackage

MapCache, and many other apps, are powered by the NGA's GeoPackage libraries.

The National Geospatial-Intelligence Agency (NGA), in collaboration with BIT Systems, makes available under the MIT License a collection of OGC GeoPackage spec libraries listed as GeoPackage implementations. The NGA GeoPackage Libraries include creation, visualization, and management SDKs including sample applications for Android and iOS.

An OGC Certified SDK that provides the ability to manage GeoPackage files providing read, write, import, export, share, and open support. Open GeoPackage files provide read and write access to features and tiles.

Dependency Graphs

Extensions

NGA defined GeoPackage extensions.

Java

Java

A Java library providing GeoPackage functionality and command line tools.

SQLite Exec

Command utility that executes SQL statements on a SQLite database, including GeoPackages.

Simple Features

Base library of geometry objects and utilities.

Well-Known Binary

Library for writing and reading Simple Feature Geometries to and from Well-Known Binary.

Well-Known Text

Library for writing and reading Simple Feature Geometries to and from Well-Known Text.

GeoJSON

Library for writing and reading Simple Feature Geometries to and from GeoJSON.

Projection

Library for performing projection conversions between Simple Feature Geometries.

Core Java

A non-standalone library providing core GeoPackage functionality to Java and Android libraries.

Projections Java

A Java library providing projections functionality.

Project

Command utility to perform coordinate transformations from a source projection to a target projection.

TIFF Java

A Java library providing Tagged Image File Format functionality (not GeoPackage specific).

Features JSON Java

A Java library for writing and reading OGC API - Features to and from JSON. Based upon the OGC API Specification (not GeoPackage specific).

Coordinate Reference Systems Pretty

Command utility to parse and pretty print OGC Coordinate Reference System Well-Known Text.

Color Java

A Java library providing color representation with support for hex, RBG, arithmetic RBG, HSL, and integer colors.

JavaScript

JavaScript

A JavaScript library providing GeoPackage functionality and utilities to node and web applications.

Leaflet Plugin

GeoPackage plugin for Leaflet.

Mobile Optimizer

Converts GeoPackage tile layers into Web Mercator for viewing on mobile/web maps .

XYZ Server

Starts an XYZ tile service for a GeoPackage.

GeoJSON to GPKG

Converts GeoJSON into a GeoPackage.

Shapefile to GPKG

Converts Shapefile into a GeoPackage.

KML to GPKG

Converts KML into a GeoPackage.

MBTiles to GPKG

Converts MBTiles into a GeoPackage.

XYZ to GPKG

Converts XYZ into a GeoPackage.

CSV to GPKG

Converts CSV into a GeoPackage.

PBF to GPKG

Converts PBF into a GeoPackage.

Well-Known Binary

Library for writing and reading Simple Feature Geometries to and from Well-Known Binary.

Well-Known Text

Library for writing and reading Simple Feature Geometries to and from Well-Known Text.

GeoJSON

Library for writing and reading Simple Feature Geometries to and from GeoJSON.

Projection

Library for performing projection conversions between Simple Feature Geometries.

Projections Javascript

A Javascript library providing projections functionality.

MGRS

Military Grid Reference System Javascript Library.

GARS

Global Area Reference System Javascript Library.

Grid

JavaScript library providing common geospatial reference system grid functionality.

Color

JavaScript library providing color representation with support for hex, RBG, arithmetic RBG, HSL, and integer colors.

Android

Android

An Android SDK providing GeoPackage functionality and utilities to Android apps.

Android Map

An Android Map SDK providing GeoPackage map functionality (includes GeoPackage Android).

iOS

iOS

An iOS SDK providing GeoPackage functionality and utilities to iOS apps.

Official Reference Implementation

Simple Features

Base library of geometry objects and utilities.

Well-Known Binary

Library for writing and reading Simple Feature Geometries to and from Well-Known Binary.

Well-Known Text

Library for writing and reading Simple Feature Geometries to and from Well-Known Text.

GeoJSON

Library for writing and reading Simple Feature Geometries to and from GeoJSON.

Simple Features Projection

Library for performing projection conversions between Simple Feature Geometries.

Projections iOS

An iOS library providing projections functionality (not GeoPackage specific).

TIFF iOS

An iOS library providing Tagged Image File Format functionality (not GeoPackage specific).

Features JSON iOS

An iOS library for writing and reading OGC API - Features to and from JSON. Based upon the OGC API Specification (not GeoPackage specific).

Color iOS

An iOS library providing color representation with support for hex, RBG, arithmetic RBG, HSL, and integer colors.

Examples

GeoPackage To Go

Code examples from the talk at FOSS4G North America 2018 - St. Louis, MO.

Going offline with GeoPacakge: MAGE, MapCache and more

Code examples from the lightening talk in September 2022.

Files

GeoPackage file examples.