Geopackage Data Format
Geopackage Data Format
International Conference on Geomatic and Geospatial Technology (GGT) 2016, 3–5 October 2016, Kuala Lumpur, Malaysia
Department of Geoinformation, Faculty of Geoinformation and Real Estate, Universiti Teknologi Malaysia, 81310, Johor,
Malaysia - (ivinamri, alias)@utm.my
KEY WORDS: Collaborative Mapping, GeoPackage, Mobile GIS, Field Data Collector
ABSTRACT:
With the growth of technology in earth and space science informatics has led to the revolution in a wide range of geospatial practice.
Nowadays collaborative mapping has become a new hot spot, following mobile and web GIS. This paper explores the potential use
of GeoPackage for collaborative mapping of geospatial data in limited network environments. GeoPackage is a data format that
open-standard, platform-independent, portable, and self-describing. This paper focus on the implementation of GeoPackage in mobile
application for field data collection. A mobile application was developed that implements the GeoPackage data format as an internal
database to provide support for offline mapping. The developed mobile application demonstrates that vector and raster data can be
stored in a single data format, which reduces the device storage consumption. The details of how GeoPackage data contribute to mobile
GIS to achieve collaborative mapping in limited network environments are discussed. The findings show that the GeoPackage data
format has great potential to improve existing mobile GIS applications.
1.2 Mapping in Mobile Environments In this paper, new data format called GeoPackage is utilized
and implemented in the mobile application development for
Mobile GIS, a cross-research field integrating modern mobile com- collabo- rative mapping of geospatial data (utility mapping).
puting techniques with geographic information science, has at- The details of how GeoPackage data contributes to mobile
tracted more and more researchers in exploring and developing GIS to archive collaborative mapping in limited network
new practices in spatial mobile application. It is built on mo- environments are dis- cussed and presented details. The
bile terminal environments of limited capacity, providing mov- advantages of GeoPackage overs the others data format are
ing, distributed and flexible mobile geographic information ser- also highlighted.
vices. Specifically, mobile GIS is based on embedded GIS inte-
gration with positioning technology, mobile communication tech- 2. OGC GEOPACKAGE DATA FORMAT
nology, and wireless Internet technology to expand the GIS ap-
plication, and improve GIS information collection, management Over 400 institutions are coordinated by the OGC in the
and analysis (Li, 2009). devel- opment of geospatial standards. During the last years,
two main trends have made disruptions in geospatial
Further development of technology in related fields has lead mo- applications: mobile and context sharing. People now have
bile GIS to be expanded its application areas in various disci- more mobile devices to support their work and personal lives.
plines. For instance many mobile applications were developed to Based on these trends new OGC data format called
support collaborative mapping, and some of these applications GeoPackage will enable greater geospa- tial data sharing on
are meant for data collection and public services. Previously, mobile devices (Singh et al., 2013). GeoPack- age is an open
mobile GIS for field data collection faced the problems of not standard, non-proprietary and platform-independent geospatial
working because of the absence of an Internet connection. When data format from the Open Geospatial Consortium (OGC,
access to the database server was interrupted, the mapping pro- 2015b). It is may become a modern alternative to formats
cess was delayed. However, many mobile GIS developers have like Spatial Data Transfer Standard (SDTS) and Shapefile.
developed an improved mobile application that offers the abil- GeoPack- age was introduced with the purpose of increasing
ity to operate in limited network environments. This is achieved cross-platform interoperability of geospatial applications and
through temporarily storing required datasets in the mobile de- web services since
vice. Any changes and updates made to the temporary datasets it is built on top of SQLite. Thus it enlarges the potential
will be sent back to the database server for updates. mar- ket for such applications and services, particularly in
resource- constrained computing environments. Furthermore,
Leaders in GIS industry are actively involved in research of mo- this format was designed and prototyped following a multi-
bile GIS and have launched related products on the data collec- year, open pro- cess of requirements testing and public input to
tion which support for offline mapping. Among them are ES- facilitate widespread adoption and use of a single file format
RIs ArcPad - a mobile field mapping and data collection software by both commercial and open-source software applications, on
designed for GIS professionals; WebMapSolutions - has experi- enterprise production plat- forms as well as on mobile hand-
enced building offline mobile GIS apps for over 4 years; GIS2GO held devices (OGC, 2015b).
- offline GIS app on mobile tablet; Mappt - an agile data capture
and management tool used on Android platform with advanced This data format is a single file format with a performance
map caching; ASTECs Gislet - an online and offline mobile GIS like a spatial database (implement a database schema) along
for data collection; MB&Gs MobileMap - a mobile field data col- with the convenience of a file-based dataset that can be
lection with offline GIS capabilities; and many more. emailed, shared on a flash drive or burned onto a digital disc.
In addition, this format efficiently stores vector geospatial
In collaborative mapping, problem arise when several geospatial features and/or tile ma- trix sets of earth imagery and raster
datasets are needed to assist the mapping activity, these datasets maps at various scales. It can be directly used in cross-
are downloaded and stored temporarily in the mobile device. This platform geospatial applications, which means it has the
will introduced problems like application to be slowed, hanged or ability to access and update data in a native storage format
crashed. The reasons are mobile applications are not design in- without intermediate format translations. Adding GeoPackage
tended to handle the massive spatial data processing request and support to an application can be done by an SQL-savvy
large amount of datasets. A good mobile application for collabo- programmer. Likewise, this data format guarantees the data
rative mapping should be lightweight and able to perform spatial model and dataset integrity, and is particularly useful on
process fluently. Therefore, even the current mobile applications mobile devices in communications environments with limited
are supported for offline editing, it is still limited to a certain in- connectivity and bandwidth.
stances.
2.1 Contributes to mobile application
The other issue in mobile applications are some geospatial data
are stored in individual file format. This will introduces to data Traditionally, mobile GIS applications required various types of
duplication and redundancy at the same time consuming large data (raster and vector) have to keep the data in an individual
storage capacity. For example, sometime mapping works requires format. This caused limitation in storage capacity and device
access to wide range of spatial data (vector and raster), which performance. Furthermore, only several mobile GIS applications
may consisting several types of spatial data formats. These data can be operated in both online and offline environment, and de-
formats have their own use and advantage, and some of them are velopers need to choose whether to opt for online (web-like) or
not suitable for mobile application. Currently the data formats offline (desktop-like) uses. Through GeoPackage, implementa-
that are likely to be used in mobile applications are Shapefile, tion for online and offline are possible and easier since the for-
Keyhole Markup Language (KML or KMZ), AutoCAD DXF, mat is a database container. For example, Adams and Suykens
Spatial Data Transfer Standard (SDTS), MDB Geodatabase (2013) studied the integration of geospatial mapping on mobile
(ES- RIs ArcGIS), GeoJSON, GeoCSV, MBTiles and embedded system which intended to increase situational aware-
JPEG2000. Some of these data formats are open standard, ness for emergency support. They stated their support for the
and some of them are proprietary data format. OGC GeoPackage standardization effort,
because this data for- mat will improve the existing system
since the system is used to deploy and store critical data, such as
aerial imagery and building plans, on the emergency workers
mobile devices. The advan- tages of using GeoPackage for
mobile applications is pointed as follows:
”For other field operations, involving dismounted soldiers or bor-
der patrol agents for example, this data format (GeoPackage) will
enable interoperable access to satellite, environment, and other
geospatial data in both online and offline environments”. (Adams
and Suykens, 2013)
the process of data translations (pipeline). During the process, all have additional tables that belong to the layer. For example, a
data are translated into GeoPackage data format and encapsulated layer pipeline have five tables belong to it, they are pipeline,
into a single file named database.gpkg. The database.gpkg is act rtree pipeline geom, rtree pipeline geom node, and others as shown
as a temporary database in mobile application during the map- in Figure 6. The tables starting with the name rtree is a spatial in-
ping works. Its contained several layers inside, which consisting dex table that created to accelerate the spatial queries. While the
of vector and raster data. Figure 4 illustrates the mobile applica- raster table (satellite) is only have one table, named satellite. The
tions map view showing multiple layers being mapped collabo- others tables (gpkg spatial ref sys, gpkg contents, gpkg extensions,
ratively offline. The map shows data from layers basemap, river, gpkg geometry columns, gpkg metadata, gpkg metadata reference,
road and pipeline. These layers are accessed from database.gpkg gpkg tile matrix and gpkg tile matrix set) are the default tables
located in the device storage, and access to online databases does in the GeoPackage standard. Each of these tables have their own
not become a necessity. Besides, user also able to identify, pan, uses and purposes.
and zoom (in and out) the maps contents using the available map
toolbars. Meanwhile, Figure 5 shows the raster layer (satellite)
being mapped collaboratively with others layers in the mobile
application.
tinue to find new and innovative uses for it. Some of them will be
mobile-based and some will not.
door field works processes whereas environment network is lim- Mas, J., Diaz, P., Riverola, A., Daz, D., and Pons, X., 2013. Ex-
ited. This data format has a standard APIs for access and man- changing the Status between Clients of Geospatial Web Services
agement which increase interoperability and result consistency. and GIS applications using Atom. In Proceedings of the Inter-
In addition the come with the support for vector and raster data. national MultiConference of Engineers and Computer Scientists
It has shown great potential as a robust spatial database in mo- (Vol. 1).
bile GIS application (outdoor mapping). This format will en-
ables greater geospatial data sharing due to its ability to fulfil MENA Report, 2013. Corporate GIS, mobile GIS and leakage
current needs in ubiquitous GIS development. Its interoperabil- management systems. Retrieved from https://vpn.utm.my/docview/
ity in cross-platform geospatial applications, efficiency in storing 1432351908.
multiple vectors and tile matrix in a single file, ability to directly
access and update without intermediate format translations, its OGC, 2015a. GeoPackage, an Open Format for Geospatial Infor-
lightweight and minimal implementation, its open and standards- mation. Retrieved from http://www.geopackage.org/
based non-proprietary data format, its capability for online and
offline modes, and its database-like capabilities will enlarge po- OGC, 2015b. GeoPackage Standards Working Group (SWG).
tential market values for mobile GIS deployments. Retrieved from http://www.opengeospatial.org/projects/groups/geo
packageswg.
Haifa, E., E., and Souheil, K., 2012. A time cost optimization
for similar scenarios mobile GIS queries, Journal of Visual Lan-
guages and Computing, vol. 23, Issue 5, pp. 249-266.
Lwin, K., K., and Murayama, Y., 2013. Smart eco-path finder for
mobile GIS users. URISA Journal, 25(2), 5+.