Skip to main content
Bumped by Community user
Bumped by Community user
Post Reopened by PolyGeo
deleted 651 characters in body
Source Link
  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 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.

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

I have a tile cache having the structure zz/xx/yy.png with a total amount of 9 zoom levels.

Within the datasource/tile/tilematrixset directory I have defined this tile cache as 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>

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.

Post Closed as "Needs more focus" by PolyGeo
deleted 38 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

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.

Any help is kindly appreciated!

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

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.

Any help is kindly appreciated!

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

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

Source Link

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.

Any help is kindly appreciated!

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