Skip to content

Tests for Req 39/43 fail on extensions #295

Description

@jyutzler

Extensions are allowed (encouraged) to use tables such as gpkg_tile_matrix and gpkg_tile_matrix_set. However, the way the ATS is written for Requirements 39 (/opt/tiles/gpkg_tile_matrix_set/data/data_values_table_name) and 43 (/opt/tiles/gpkg_tile_matrix/data/data_values_table_name), the test will fail if there are any additional rows in there that don't trace back to the rows with the data_type of "tiles" in gpkg_contents. This means that a GPKG that contains both tiles (and therefore conformed to the tiles conformance class) and 2D gridded coverages would not pass the conformance tests.

For Requirement 39, the test needs to be inverted so that it looks for a row in gpkg_tile_matrix_set for each row in gpkg_contents.

I'm not sure it is actually possible to test Requirement 43. We could check to see that there is at least one row in gpkg_tile_matrix for each row in the contents. However, is a tile matrix set allowed to be empty? If so, then we need to strike the requirement and just have explanatory text.

I think the best way to resolve this is to remove the constraint on "tiles". It should apply to any data type.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions