opengeospatial / ets-gpkg12-nsg

Other
2 stars 5 forks source link

Geopackage having no Tile data results in SQLITE ERROR #37

Closed ajanett closed 6 years ago

ajanett commented 6 years ago

Geopackage having no tile data, reports SQLITE_ERROR no such table gpkg_tile_matrix_set and another one for no such table gpkg_tile_matrix table.

It should be okay to have a geopackage that has no tile data and if these tables are missing the tile tests should be skipped.

dstenger commented 6 years ago

Thank you for reporting. We will do further investigation.

ajanett commented 6 years ago

I will fix this if needed.

lgoltz commented 6 years ago

@ajanett Can you provide a GeoPackage for testing the fix?

ajanett commented 6 years ago

Several of the test geopackages within ets-gpkg12 are 'vector-only' data and should suffice for testing.

lgoltz commented 6 years ago

With PR https://github.com/opengeospatial/ets-gpkg12-nsg/pull/40 the test is successful not skipped, I think a SkipException should be thrown instead.

ajanett commented 6 years ago

Agreed. I've not employed the SkipException before but I do agree a Skip is more appropriate here than a pass.