I do not know how to set up the required xml structure in the datasource/tile/ directory. I know that I have to use a custom tile cache as tileDataset but do not know which kind it is (no GeotiffTilestore for sure).
My second problem is how I link the defined structure of my tile cache within the tilematrixset folder to the xml in the tilematrixset folder.
My thrid problem is how I create a layer from the tile cache.
Attached you can seeI have a tile cache having the configurationstructure zz/xx/yy.png with a total amount of 9 zoom levels.
Within the datasource/tile/tilematrixset directory I have defined this tile cache data I need to useas follows (example for two zoom levels):
<TileMatrixSet xmlns="http://www.deegree.org/datasource/tile/tilematrixset" configVersion="3.2.0">
<CRS>urn:ogc:def:crs:EPSG::31467</CRS>
<TileMatrix>
<Identifier>0</Identifier>
<ScaleDenominator>1111111</ScaleDenominator>
<TopLeftCorner>427461.787361 103142.057325</TopLeftCorner>
<TileWidth>256</TileWidth>
<TileHeight>256</TileHeight>
<MatrixWidth>1024</MatrixWidth>
<MatrixHeight>1024</MatrixHeight>
</TileMatrix>
<TileMatrix>
<Identifier>01</Identifier>
<ScaleDenominator>555555</ScaleDenominator>
<TopLeftCorner>427461.787361 103142.057325</TopLeftCorner>
<TileWidth>256</TileWidth>
<TileHeight>256</TileHeight>
<MatrixWidth>512</MatrixWidth>
<MatrixHeight>512</MatrixHeight>
</TileMatrix>
</TileMatrixSet>
{"id" : "test", "general" : { "boundingBox" : {"minx" : 3427461.787361, "miny" : 5840998.057325, "maxx" : 3689605.787361, "maxy" : 6103142.057325, "srs" : "EPSG:31467" }, "title" : "this is a test, "extension" : {"lastModified" : 1386758424490, "maxExtent" : {"minx" : 3427461.787361, "miny" : 5840998.057325, "maxx" : 3689605.787361, "maxy" : 6103142.057325}, "units" : "m", "tileSize" : {"width" : 256, "height" : 256 }, "resolutions" : [ 1024, 512, 256, 128, 64, 32, 16, 8, 4, 2 ], "queryableGeometryVertexCountLimit" : 50, "editableGeometryVertexCountLimit" : 50, "maxFeaturePerLayerCountLimit" : 100000, "cmmapVersion" : "1.1.0"}, "logoURL" : {"onlineResource" : {"href" : "map-logo.png"},"width" : 128,"height" : 128,"format" : "image/png"} }, "layerList" : { "layer" : [ { "id" : "test", "queryable" : false, "utfgrid" : false, "hidden" : false, "server" : {"service" : "OGC:WMTS","version" : "1.0.0","onlineResource" : {"href" : ""}}, "name" : "test", "title" : "test", "formatList" : {"format" : [ {"value" : "image/png","current" : true} ]},"styleList" : {"style" : [ {"name" : "default","title" : "Default","current" : true} ]}, "extension" : {"requestEncoding" : "REST", "isBaseLayer" : false, "matrixSet" : "generated", "matrixIds" : [ "s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9" ], "editable" : false, "geometryEditable" : false, "sphericalMercator" : false, "wrapDateLine" : false } } ] }
I do not know how to set up the required xml document in the xml document within the datasource/tile/ directory since I do not know if my cache qualifies as a filesystem cache.