public class DataContentsTests extends CommonFixture
gpkg_contents table describes the
geospatial data contained in the file.
Sources
databaseConnection, dataSource, gpkgFile, ROOT_PKG_PATH| Constructor and Description |
|---|
DataContentsTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
columnDataTypes()
The columns of tables in a GeoPackage SHALL only be declared using one
of the data types specified in table GeoPackage
Data Types.
|
void |
contentsTableDefinition()
A GeoPackage file SHALL include a
gpkg_contents table per table
Contents
Table or View Definition and gpkg_contents Table
Definition SQL. |
void |
contentsTablesExist()
The
table_name column value in a gpkg_contents table row
SHALL contain the name of a SQLite table or view. |
void |
srsIdReferencesSrsTable()
Values of the
gpkg_contents table srs_id column SHALL
reference values in the gpkg_spatial_ref_sys table srs_id column. |
void |
timestampFormat()
Values of the
gpkg_contents table last_change
column SHALL be in ISO 8601
format containing a complete date plus UTC hours, minutes, seconds
and a decimal fraction of a second, with a 'Z' ('zulu') suffix
indicating UTC. |
close, initCommonFixturepublic void columnDataTypes()
throws SQLException
SQLException - If an SQL query causes an errorpublic void contentsTableDefinition()
throws SQLException
gpkg_contents table per table
Contents
Table or View Definition and gpkg_contents Table
Definition SQL.SQLException - If an SQL query causes an errorpublic void contentsTablesExist()
throws SQLException
table_name column value in a gpkg_contents table row
SHALL contain the name of a SQLite table or view.SQLException - If an SQL query causes an errorpublic void timestampFormat()
throws SQLException
gpkg_contents table last_change
column SHALL be in ISO 8601
format containing a complete date plus UTC hours, minutes, seconds
and a decimal fraction of a second, with a 'Z' ('zulu') suffix
indicating UTC.SQLException - If an SQL query causes an errorpublic void srsIdReferencesSrsTable()
throws SQLException
gpkg_contents table srs_id column SHALL
reference values in the gpkg_spatial_ref_sys table srs_id column.SQLException - If an SQL query causes an errorCopyright © 2022 Open Geospatial Consortium. All rights reserved.