geopackage icon indicating copy to clipboard operation
geopackage copied to clipboard

Extension to allow negative zoom levels (potential concern for CDB grid negative levels)

Open jerstlouis opened this issue 4 years ago • 6 comments

CDB LODs go down to -10 where tiles are 1x1 pixels.

jerstlouis avatar Mar 10 '20 15:03 jerstlouis

In today's SWG meeting, we approved this request because there is no clear benefit to this requirement, the potential interoperability risk is slight, and it is desirable to support CDB directly.

jyutzler avatar May 05 '20 19:05 jyutzler

@jerstlouis please propose alternate text for the first paragraph of http://www.geopackage.org/spec121/index.html#zoom_levels in light of this change.

jyutzler avatar May 06 '20 14:05 jyutzler

Are we making GeoPackage zoom levels equal to CDB LODs? They are not the same in the respective specs and we should consider carefully implications of conflating the two.

tabinfl avatar May 06 '20 14:05 tabinfl

In a GeoPackage, zoom levels are integers in sequence that identify tile matrices in a tile matrix set that contain tiles of progressively finer spatial resolution. Adjacent zoom levels immediately precede or follow each other and differ by a value of 1.

  • "from 0 to n " removed
  • Change "tile matrix layers" to "tile matrices" (layers is confusing here)
  • "decreasing spatial extent and " removed because that is not necessarily true (negative zoom levels in CDB have all the same extent, but different pixel width & height, and the extent only change from level 1+)

Also later in that paragraph it says:

Other "zoom other intervals" conventions use different factors

Is that second other there superfluous?

jerstlouis avatar May 06 '20 14:05 jerstlouis

@tabinfl The idea is to allow encoding content from multiple CDB LODs in a GeoPackage. This is possible with the new TileMatrixSet extension ( https://gitlab.com/imagemattersllc/ogc-vtp2/-/blob/master/extensions/14-tile-matrix-set.adoc ) which supports varying width tile matrices, which can represent both the CDB zones and CDB LODs ( as described here: http://maps.ecere.com/geoapi/tileMatrixSets/CDBGlobalGrid ).

jerstlouis avatar May 06 '20 15:05 jerstlouis

Since this change is not sufficient by itself to completely satisfy the CDB LOD requirement, the SWG decided to defer this change until after 1.3. One possibility is rolling it into a new extension as described in #504.

jyutzler avatar May 20 '20 00:05 jyutzler