Class TiledGriddedCoverageTests
java.lang.Object
org.opengis.cite.gpkg12.CommonFixture
org.opengis.cite.gpkg12.TileFixture
org.opengis.cite.gpkg12.extensions.coverage.TiledGriddedCoverageTests
Defines test methods that apply to descriptive information about a GeoPackage's content
as it pertains to tiled, gridded coverage data.
Sources
- GeoPackage Extension for Tiled Gridded Coverage Data (OGC 17-066r1)
- Author:
- Jeff Yutzler
-
Field Summary
Fields inherited from class org.opengis.cite.gpkg12.TileFixture
jpegImageReaders, pngImageReaders, TileTableExpectedColumns, tileTableNames
Fields inherited from class org.opengis.cite.gpkg12.CommonFixture
databaseConnection, dataSource, geopackageVersion, gpkgFile, ROOT_PKG_PATH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
a_ValidateExtensionPresent
(org.testng.ITestContext testContext) void
Test case/extensions/coverage/table_val/gpkg_2d_gridded_coverage_ancillary
void
Test case/extensions/coverage/table_ref/gpkg_2d_gridded_coverage_ancillary/gpkg_tile_matrix_set
void
Test case/extensions/coverage/table_def/gpkg_2d_gridded_coverage_ancillary
void
Test case/extensions/coverage/table_ref/gpkg_contents/gpkg_2d_gridded_coverage_ancillary
void
Test case/extensions/coverage/table_val/gpkg_extensions
void
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").void
Test case/opt/extensions/coverage/srs/required_references
void
Test case/extensions/coverage/table_val/gpkg_spatial_ref_sys/rows
void
setUp()
Sets up variables used across methods, overrides TileTestsvoid
Test case/extensions/coverage/table_def/gpkg_2d_gridded_tile_ancillary
void
Test case/extensions/coverage/table_ref/tpudt/gpkg_2d_gridded_tile_ancillary
void
Test case/extensions/coverage/table_val/gpkg_2d_gridded_tile_ancillary
Methods inherited from class org.opengis.cite.gpkg12.TileFixture
canReadImage, isAcceptedImageFormat, isEqual, setDataType
Methods inherited from class org.opengis.cite.gpkg12.CommonFixture
checkPrimaryKey, close, getGeopackageVersion, getPrimaryKeyColumn, getTestName, initCommonFixture, isExtendedType, setTestName, validateClassEnabled
-
Field Details
-
tiffImageReaders
-
-
Constructor Details
-
TiledGriddedCoverageTests
public TiledGriddedCoverageTests()
-
-
Method Details
-
a_ValidateExtensionPresent
@BeforeClass public void a_ValidateExtensionPresent(org.testng.ITestContext testContext) throws SQLException - Throws:
SQLException
-
setUp
Sets up variables used across methods, overrides TileTests- Overrides:
setUp
in classTileFixture
- Throws:
SQLException
- if there is a database error
-
coverageAncillaryTableDefinition
Test case/extensions/coverage/table_def/gpkg_2d_gridded_coverage_ancillary
- Throws:
SQLException
- If an SQL query causes an error- See Also:
-
tileAncillaryTableDefinition
Test case/extensions/coverage/table_def/gpkg_2d_gridded_tile_ancillary
- Throws:
SQLException
- If an SQL query causes an error- See Also:
-
requiredSRSRows
Test case/extensions/coverage/table_val/gpkg_spatial_ref_sys/rows
- Throws:
SQLException
- If an SQL query causes an error- See Also:
-
requiredSRSReferences
Test case/opt/extensions/coverage/srs/required_references
- Throws:
SQLException
- If an SQL query causes an error- See Also:
-
extensionTableRows
Test case/extensions/coverage/table_val/gpkg_extensions
- Throws:
SQLException
- If an SQL query causes an error- See Also:
-
coverageAncillaryValues
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
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
Test case/extensions/coverage/table_val/gpkg_2d_gridded_coverage_ancillary
- Throws:
SQLException
- If an SQL query causes an error- See Also:
-
tileAncillaryTableRef
Test case/extensions/coverage/table_ref/tpudt/gpkg_2d_gridded_tile_ancillary
- Throws:
SQLException
- If an SQL query causes an error- See Also:
-
tileAncillaryTableVal
Test case/extensions/coverage/table_val/gpkg_2d_gridded_tile_ancillary
- Throws:
SQLException
- If an SQL query causes an error- See Also:
-
imageFormat
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 errorIOException
- If the bytes of an image cause an error when read- See Also:
-