Class VersionTests

java.lang.Object
org.opengis.cite.gpkg12.core.VersionTests

public class VersionTests extends Object
Author:
Lyn Goltz
  • Constructor Details

    • VersionTests

      public VersionTests()
  • Method Details

    • initGeoPackageFile

      @BeforeClass public void initGeoPackageFile(org.testng.ITestContext testContext)
      Parameters:
      testContext - The test context that contains all the information for a test run, including suite attributes.
    • storeVersionInTestContext

      @AfterClass public void storeVersionInTestContext(org.testng.ITestContext testContext)
    • geopackageVersion

      public void geopackageVersion() throws IOException
      A GeoPackage SHALL contain a value of 0x47504B47 ("GPKG" in ASCII) in the "application_id" field of the SQLite database header to indicate that it is a GeoPackage. A GeoPackage SHALL contain an appropriate value in "user_version" field of the SQLite database header to indicate its version. The value SHALL be in integer with a major version, two-digit minor version, and two-digit bug-fix. For GeoPackage Version 1.2 this value is 0x000027D8 (the hexadecimal value for 10200).
      Throws:
      IOException - If an I/O error occurs while trying to read the data file.
      See Also: