diff --git a/RasterSymbolizer.md b/RasterSymbolizer.md index 1e6076e..604b917 100644 --- a/RasterSymbolizer.md +++ b/RasterSymbolizer.md @@ -23,10 +23,11 @@ The RasterSymbolizer is used to render an image from any [GDAL supported format] # Usage -|| *parameter* || *value* || *description* || -|| opacity || 0.0 - 1.0 || 1 is fully opaque while zero is fully transparent and .5 would be 50% transparent || -|| mode || grain_merge, grain_merge2, multiply, multiply2, divide, divide2, screen, hard_light || Compositing/Merging effects with image below raster level (?). The formulas for combinding foreground (raster) and background are: grain_merge: bg + fg - 0.5, grain_merge2: bg + 2*fg - 1.0, multiply: fg * bg, multiply2: 2 * fg * bg, divide: bg / fg, divide2: 2*bg / fg, screen: (1-fg)*(1-bg), hardlight: see [[http://docs.gimp.org/en/gimp-concepts-layer-modes.html#id2834930]] || -|| scaling || fast, bilinear, bilinear8 || fast: nearest neighbour, bilinear: bilinear interpolation for all 4 channels (RGBA), bilinear8 like bilinear, but only one channel assumed || +| *parameter* | *value* | *description* | +--------------|---------|-----------| +| opacity | 0.0 - 1.0 | 1 is fully opaque while zero is fully transparent and .5 would be 50% transparent | +| mode | grain_merge, grain_merge2, multiply, multiply2, divide, divide2, screen, hard_light | Compositing/Merging effects with image below raster level (?). The formulas for combinding foreground (raster) and background are: grain_merge: bg + fg - 0.5, grain_merge2: bg + 2*fg - 1.0, multiply: fg * bg, multiply2: 2 * fg * bg, divide: bg / fg, divide2: 2*bg / fg, screen: (1-fg)*(1-bg), hardlight: see [[http://docs.gimp.org/en/gimp-concepts-layer-modes.html#id2834930]] | +| scaling | fast, bilinear, bilinear8 || fast: nearest neighbour, bilinear: bilinear interpolation for all 4 channels (RGBA), bilinear8 like bilinear, but only one channel assumed | There are two types of raster datasources: *gdal* or *raster*: