Package org.opengis.cite.gpkg12.nsg.core
Class NSG_SpatialReferenceSystemsTests
java.lang.Object
org.opengis.cite.gpkg12.CommonFixture
org.opengis.cite.gpkg12.nsg.core.NSG_SpatialReferenceSystemsTests
public class NSG_SpatialReferenceSystemsTests
extends org.opengis.cite.gpkg12.CommonFixture
-
Field Summary
Fields inherited from class org.opengis.cite.gpkg12.CommonFixture
databaseConnection, dataSource, geopackageVersion, gpkgFile, ROOT_PKG_PATH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
NSG Req 8: The CRS definitions in Table 7 through Table 19 below SHALL be used to specify the CRS used for tiles and vector feature user data tables containing NSG data in a GeoPackage.void
crsTest()
NSG Req 3: The CRSs listed in Table 4, Table 5, and Table 6 SHALL be the only CRSs used by raster tile pyramid and vector feature data tables in a GeoPackage.void
NSG Req 19: Data validity SHALL be assessed against data value constraints specified in Table 26 below using a test suite.void
void
Methods inherited from class org.opengis.cite.gpkg12.CommonFixture
checkPrimaryKey, close, getGeopackageVersion, getPrimaryKeyColumn, getTestName, initCommonFixture, isExtendedType, setTestName, validateClassEnabled
-
Constructor Details
-
NSG_SpatialReferenceSystemsTests
public NSG_SpatialReferenceSystemsTests()
-
-
Method Details
-
parseCrsListing
@BeforeClass public void parseCrsListing() -
crsTest
NSG Req 3: The CRSs listed in Table 4, Table 5, and Table 6 SHALL be the only CRSs used by raster tile pyramid and vector feature data tables in a GeoPackage.- Throws:
SQLException
- if access to gpkg failed
-
matchAnnexTableTest
- Throws:
SQLException
- if access to gpkg failed
-
crsDefinitionsTest
NSG Req 8: The CRS definitions in Table 7 through Table 19 below SHALL be used to specify the CRS used for tiles and vector feature user data tables containing NSG data in a GeoPackage. NSG Req 9: Other CRS definitions SHALL NOT be specified for GeoPackage SQL tables containing NSG data.- Throws:
SQLException
- if access to gpkg failed
-
dataValidity_gpkg_spatial_ref_sys
NSG Req 19: Data validity SHALL be assessed against data value constraints specified in Table 26 below using a test suite. Data validity MAY be enforced by SQL triggers. 19-A: Addresses Table 26 Rows 1-2 (regarding table "gpkg_spatial_ref_sys")- Throws:
SQLException
- if access to gpkg failed
-