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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NSG_SpatialReferenceSystemsTests

      public NSG_SpatialReferenceSystemsTests()
  • Method Details

    • parseCrsListing

      @BeforeClass public void parseCrsListing()
    • crsTest

      public void crsTest() throws SQLException
      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

      public void matchAnnexTableTest() throws SQLException
      Throws:
      SQLException - if access to gpkg failed
    • crsDefinitionsTest

      public void crsDefinitionsTest() throws SQLException
      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

      public void dataValidity_gpkg_spatial_ref_sys() throws SQLException
      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