Class TiledGriddedCoverageTests

java.lang.Object
org.opengis.cite.gpkg12.CommonFixture
org.opengis.cite.gpkg12.TileFixture
org.opengis.cite.gpkg12.extensions.coverage.TiledGriddedCoverageTests

public class TiledGriddedCoverageTests extends TileFixture
Defines test methods that apply to descriptive information about a GeoPackage's content as it pertains to tiled, gridded coverage data.

Sources

Author:
Jeff Yutzler
  • Field Details

  • Constructor Details

    • TiledGriddedCoverageTests

      public TiledGriddedCoverageTests()
  • Method Details

    • a_ValidateExtensionPresent

      @BeforeClass public void a_ValidateExtensionPresent(org.testng.ITestContext testContext) throws SQLException
      Throws:
      SQLException
    • setUp

      @BeforeClass public void setUp() throws SQLException
      Sets up variables used across methods, overrides TileTests
      Overrides:
      setUp in class TileFixture
      Throws:
      SQLException - if there is a database error
    • coverageAncillaryTableDefinition

      public void coverageAncillaryTableDefinition() throws SQLException
      Test case /extensions/coverage/table_def/gpkg_2d_gridded_coverage_ancillary
      Throws:
      SQLException - If an SQL query causes an error
      See Also:
    • tileAncillaryTableDefinition

      public void tileAncillaryTableDefinition() throws SQLException
      Test case /extensions/coverage/table_def/gpkg_2d_gridded_tile_ancillary
      Throws:
      SQLException - If an SQL query causes an error
      See Also:
    • requiredSRSRows

      public void requiredSRSRows() throws SQLException
      Test case /extensions/coverage/table_val/gpkg_spatial_ref_sys/rows
      Throws:
      SQLException - If an SQL query causes an error
      See Also:
    • requiredSRSReferences

      public void requiredSRSReferences() throws SQLException
      Test case /opt/extensions/coverage/srs/required_references
      Throws:
      SQLException - If an SQL query causes an error
      See Also:
    • extensionTableRows

      public void extensionTableRows() throws SQLException
      Test case /extensions/coverage/table_val/gpkg_extensions
      Throws:
      SQLException - If an SQL query causes an error
      See Also:
    • coverageAncillaryValues

      public void coverageAncillaryValues() throws SQLException
      Test case /extensions/coverage/table_ref/gpkg_contents/gpkg_2d_gridded_coverage_ancillary
      Throws:
      SQLException - If an SQL query causes an error
      See Also:
    • coverageAncillarySetName

      public void coverageAncillarySetName() throws SQLException
      Test case /extensions/coverage/table_ref/gpkg_2d_gridded_coverage_ancillary/gpkg_tile_matrix_set
      Throws:
      SQLException - If an SQL query causes an error
      See Also:
    • coverageAncillaryDatatype

      public void coverageAncillaryDatatype() throws SQLException
      Test case /extensions/coverage/table_val/gpkg_2d_gridded_coverage_ancillary
      Throws:
      SQLException - If an SQL query causes an error
      See Also:
    • tileAncillaryTableRef

      public void tileAncillaryTableRef() throws SQLException
      Test case /extensions/coverage/table_ref/tpudt/gpkg_2d_gridded_tile_ancillary
      Throws:
      SQLException - If an SQL query causes an error
      See Also:
    • tileAncillaryTableVal

      public void tileAncillaryTableVal() throws SQLException
      Test case /extensions/coverage/table_val/gpkg_2d_gridded_tile_ancillary
      Throws:
      SQLException - If an SQL query causes an error
      See Also:
    • imageFormat

      public void imageFormat() throws SQLException, IOException
      For data where the datatype column of the corresponding row in the gpkg_2d_gridded_coverage_ancillary table is integer, the tile_data BLOB in the tile pyramid user data table containing tiled, gridded coverage data SHALL be of MIME type image/png and the data SHALL be 16-bit unsigned integer (single channel - "greyscale"). For data where the datatype column of the corresponding row in the gpkg_2d_gridded_coverage_ancillary table is float, the tile_data BLOB in the tile pyramid user data table containing tiled, gridded coverage data SHALL be of MIME type image/tiff and the data SHALL be 32-bit floating point as described by the TIFF Encoding (Requirement 13/14). Test case /extensions/coverage/table_val/tile-pyramid-user-data-tables
      Throws:
      SQLException - If an SQL query causes an error
      IOException - If the bytes of an image cause an error when read
      See Also: