Skip to content

Commit

Permalink
Merge pull request #296 from jyutzler/i295
Browse files Browse the repository at this point in the history
removing 'tiles' stipulation from REQ39/43
  • Loading branch information
jyutzler committed Feb 27, 2017
2 parents 96d6911 + 877a665 commit 22ee04a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions spec/2b_tiles.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ See <<gpkg_tile_matrix_set_sql>>.

The minimum bounding box defined in the gpkg_tile_matrix_set table or view for a tile pyramid user data table SHALL be exact so that the bounding box coordinates for individual tiles in a tile pyramid MAY be calculated based on the column values for the user data table in the gpkg_tile_matrix table or view. For example, because GeoPackages use the upper left tile origin convention defined in clause <<clause_tile_matrix_table_data_values>> below, the gpkg_tile_matrix_set (min_x, max_y) ordinate is the upper-left corner of tile (0,0) for all zoom levels in a table_name tile pyramid user data table.

:tileref_req_foot1: footnote:[The "tiles" stipulation was removed because it prevented the use of the tile matrix mechanism by extensions for other data types.]

[requirement]
Values of the `gpkg_tile_matrix_set` `table_name` column SHALL reference values in the gpkg_contents table_name column for rows with a data type of "tiles".
Values of the `gpkg_tile_matrix_set` `table_name` column SHALL reference values in the `gpkg_contents` `table_name` column [line-through]#for rows with a data type of "tiles"#{tileref_req_foot1}.

[requirement]
The gpkg_tile_matrix_set table or view SHALL contain one row record for each tile pyramid user data table.
Expand Down Expand Up @@ -147,7 +149,7 @@ See <<gpkg_tile_matrix_sql>>
====== Table Data Values

[requirement]
Values of the `gpkg_tile_matrix` `table_name` column SHALL reference values in the `gpkg_contents` `table_name` column for rows with a `data_type` of tiles.
Values of the `gpkg_tile_matrix` `table_name` column SHALL reference values in the `gpkg_contents` `table_name` column [line-through]#for rows with a `data_type` of "tiles"#{tileref_req_foot1}.

[requirement]
The `gpkg_tile_matrix` table or view SHALL contain one row record for each zoom level that contains one or more tiles in each tile pyramid user data table or view.
Expand Down
8 changes: 4 additions & 4 deletions spec/annexes/ats.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -659,11 +659,11 @@ END;
[cols="1,5a"]
|========================================
|*Test Case ID* |+/opt/tiles/gpkg_tile_matrix_set/data/data_values_table_name+
|*Test Purpose* |Verify that values of the gpkg_tile_matrix_set table_name column reference values in the gpkg_contents table_name column for rows with a data type of “tiles”.
|*Test Purpose* |Verify that values of the gpkg_tile_matrix_set table_name column reference values in the gpkg_contents table_name column.
|*Test Method* |
. SELECT table_name FROM gpkg_tile_matrix_set
. Not testable if returns an empty result set
. SELECT table_name FROM gpkg_tile_matrix_set tms WHERE table_name NOT IN (SELECT table_name FROM gpkg_contents gc WHERE tms.table_name = gc.table_name AND gc.data_type != ‘tiles’)
. SELECT table_name FROM gpkg_tile_matrix_set tms WHERE table_name NOT IN (SELECT table_name FROM gpkg_contents gc WHERE tms.table_name = gc.table_name)
. Fail if result set contains any rows
. Pass otherwise
|*Reference* |Clause 2.2.6.1.2 Req 39:
Expand Down Expand Up @@ -718,11 +718,11 @@ END;
[cols="1,5a"]
|========================================
|*Test Case ID* |+/opt/tiles/gpkg_tile_matrix/data/data_values_table_name+
|*Test Purpose* |Verify that values of the gpkg_tile_matrix table_name column reference values in the gpkg_contents table_name column for rows with a data type of “tiles”.
|*Test Purpose* |Verify that values of the gpkg_tile_matrix table_name column reference values in the gpkg_contents table_name column.
|*Test Method* |
. SELECT table_name FROM gpkg_tile_matrix
. Not testable if returns an empty result set
. SELECT table_name FROM gpkg_tile_matrix tmm WHERE table_name NOT IN (SELECT table_name FROM gpkg_contents gc WHERE tmm.table_name = gc.table_name AND gc.data_type != ‘tiles’)
. SELECT table_name FROM gpkg_tile_matrix tmm WHERE table_name NOT IN (SELECT table_name FROM gpkg_contents gc WHERE tmm.table_name = gc.table_name)
. Fail if result set contains any rows
. Pass otherwise
|*Reference* |Clause 2.2.7.1.2 Req 43:
Expand Down

0 comments on commit 22ee04a

Please sign in to comment.