A Java GeoPackage client developed under the OGC OWS-10 test-bed.
The 'library' code enables the creation, insertion, query and update of records in the SQLite database either directly or via SimpleFeature's and SimpleFeatureType's interfaces the GeoAPI. This client is suitable for (and was developed on) Android, but should work equally as well in desktop applications. Two interfaces to an underlying SQLite implementation are provided to hopefully make it SQLite implementation agnostic.
This project includes an Android application for testing and demonstrational purposes. The test layer utilises functions from our own library that extends the GeoAPI functionality for loading and processing GML and tiles in to SimpleFeature's.(GeoAPI Impl. Javadoc)
The GeoPackage source cannot be used stand-alone; You will require the Java Topology Suite v1.8, the OpenGIS .jar from GeoTools as well as apache http client utils. These are all included in the /libs/ folder.
Note that the Android project includes a re-compiled version of JTS as we found issues running the original .jar on Android - no other changes have been made.
Some classes are directly copied from and/ or based upon GeoTools. We neither take or imply any credit for their excellent work.