public class SpatialReferenceSystemsTests extends CommonFixture
Sources
databaseConnection, dataSource, gpkgFile, ROOT_PKG_PATH
Constructor and Description |
---|
SpatialReferenceSystemsTests() |
Modifier and Type | Method and Description |
---|---|
void |
checkContentSrs()
The
gpkg_spatial_ref_sys table in a GeoPackage SHALL contain
records to define all spatial reference systems used by features and
tiles in a GeoPackage. |
void |
requiredSrsEntries()
The
gpkg_spatial_ref_sys table in a GeoPackage SHALL contain a
record for organization
EPSG or epsg and
organization_coordsys_id 4326 for
WGS-84, a record
with an srs_id of -1, an organization of "NONE", an
organization_coordsys_id of -1, and definition "undefined" for
undefined Cartesian coordinate reference systems, and a record with an
srs_id of 0, an organization of "NONE", an organization_coordsys_id of 0, and definition "undefined" for undefined
geographic coordinate reference systems. |
void |
srsTableDefinition()
A GeoPackage SHALL include a
gpkg_spatial_ref_sys table per
clause 1.1.2.1.1
Table Definition, Table
Spatial Ref Sys Table Definition and Table
gpkg_spatial_ref_sys Table Definition SQL. |
close, initCommonFixture
public void srsTableDefinition() throws SQLException
gpkg_spatial_ref_sys
table per
clause 1.1.2.1.1
Table Definition, Table
Spatial Ref Sys Table Definition and Table
gpkg_spatial_ref_sys Table Definition SQL.SQLException
- If an SQL query causes an errorpublic void requiredSrsEntries() throws SQLException
gpkg_spatial_ref_sys
table in a GeoPackage SHALL contain a
record for organization
EPSG or epsg and
organization_coordsys_id
4326 for
WGS-84, a record
with an srs_id
of -1, an organization of "NONE", an
organization_coordsys_id
of -1, and definition "undefined" for
undefined Cartesian coordinate reference systems, and a record with an
srs_id
of 0, an organization of "NONE", an organization_coordsys_id
of 0, and definition "undefined" for undefined
geographic coordinate reference systems.SQLException
- If an SQL query causes an errorpublic void checkContentSrs() throws SQLException
gpkg_spatial_ref_sys
table in a GeoPackage SHALL contain
records to define all spatial reference systems used by features and
tiles in a GeoPackage.SQLException
- If an SQL query causes an errorCopyright © 2022 Open Geospatial Consortium. All rights reserved.