Skip to main content
2 of 3
deleted 38 characters in body
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

Deegree Configuration of existing tile cache (.png files) as datasource for wms and wmts

I am unsuccessful in configuring an existing png-file tile cache that I want to use as data source for the provision of wms and wmts services.

Despite having worked myself through the deegree documentation and the utah example data set (that uses a geotiff-tile cache) I did apparently not configure deegree correctly.

  1. 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).

  2. 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.

  3. My thrid problem is how I create a layer from the tile cache.

Attached you can see the configuration of the tile cache data I need to use:

{"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 } } ] }