Project

General

Profile

TileSettings » History » Version 3

Maarten Plieger, 06/05/2017 07:42 PM

1 1 Maarten Plieger
h1. TileSettings - Tiling functionality for high resolution datasets
2 1 Maarten Plieger
3 1 Maarten Plieger
See https://github.com/KNMI/adaguc-datasets/blob/master/adaguc.tiled.xml for example configuration
4 1 Maarten Plieger
5 3 Maarten Plieger
* tilewidthpx="800" 
6 3 Maarten Plieger
* tileheightpx="800" 
7 3 Maarten Plieger
* tilecellsizex="0.0125"
8 3 Maarten Plieger
* tilecellsizey="0.0125"
9 3 Maarten Plieger
* left="50" right="180"  bottom="-90" top="90"
10 3 Maarten Plieger
* tileprojection="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"
11 3 Maarten Plieger
* minlevel="1"
12 3 Maarten Plieger
* maxlevel="4"
13 3 Maarten Plieger
* tilemode="avg_rgba"
14 3 Maarten Plieger
* debug="true"
15 3 Maarten Plieger
* threads="1" 
16 3 Maarten Plieger
* tilepath="/data/adaguc-autowms/tiles"
17 3 Maarten Plieger
* optimizeextent="true"
18 3 Maarten Plieger
19 1 Maarten Plieger
Some datasets in CLIPC are in such a high resolution that they cannot be stored in a single file. For example the flooding indicator from CLIPC/PIK is at 25 meter resolution along the coast in Europe. The data is organized in 6000 different NetCDF files, each covering its own area in 600x600 grid cells, which need to be “stitched” together. This can be compared with composing a large panoramic picture from multiple pictures taken along the horizon. The challenge here is to provide interactive visualization at several cartographic projections and zoom levels. 
20 1 Maarten Plieger
21 1 Maarten Plieger
To achieve this, ADAGUC has been extended to allow building image pyramids at several zoom levels on coarser resolutions (see Figure ). For CLIPC 7 different pyramid levels are used for the flooding indicator, the top level consists of three tiles, the bottom level of 6000 tiles. When zooming to a specific distortion of the map, the level with the best matching resolution is used to render the requested image. That means that ADAGUC projects and combines several tiles into a single image suitable for WMS. This type of tiled datasets in ADAGUC behave like any other WMS, e.g. interactive zooming and panning at several cartographic map projections remain possible.For CLIPC the flooding indicator in the cartographic projection lambert equal area is remapped on request to the Mercator projection used in the CLIPC portal.
22 2 Maarten Plieger
23 2 Maarten Plieger
!Adaguc-server-TileSettings-Pyramid.png!