span8
span4
span8
span4
Above: Raster Pyramiding Example Workspace.
This workspace reads a single large raster image,pyramids and tiles it,and writes the output to GeoTIFF.
Above: This close-up of the RasterPyramider highlights that the smallest raster will be 24x24 pixels in size.
So the first raster to be created will be resampled to be 24x24 pixels in size.Each subsequent raster will be twice the resolution giving 48x48,etc...
When the size of the original raster is reached,then the pyramiding process stops.
In this example,the original raster size is 1201 x 1201 pixels.The smallest raster will be 24 x 24.Therefore the raster pyramids will be:
24 x 2448 x 4896 x 96192 x 192384 x 384768 x 7681536 x 1536
giving a total of seven pyramid layers.
Above: The feature counts show how the one image has been split into seven layers.
An ExpressionEvaluator is used to determine how many tiles to create for each pyramid layer.The RasterTiler then does the tiling.In this example,we use the simple formula:
Above: The ExpressionEvaluator Settings.
Above: The RasterTiler Settings.
So with:
= 7
We get:
7 - Layer 6 = 1 (i.e.1x1 tiles)7 - Layer 5 = 2 (i.e.2x2 tiles)7 - Layer 4 = 3 (i.e.3x3 tiles)7 - Layer 3 = 4 (i.e.4x4 tiles)7 - Layer 2 = 5 (i.e.5x5 tiles)7 - Layer 1 = 6 (i.e.6x6 tiles)7 - Layer 0 = 7 (i.e.7x7 tiles)
So the total number of output files will be:
(1x1) + (2x2) + (3x3) + (4x4) + (5x5) + (6x6) + (7x7) = 140
Above: This number is borne out by the FME log file...
Above: ...and by the Feature Connection counter.
Tiling Raster Data with the RasterTiler
Reprojecting Raster World Files
Draping imagery textures on terrain surfaces
Setting NoData and Adding Alpha Bands to Remove Black Borders
Dataset Fanout Negatively Impacts Performance when Writing Raster Tiles
Raster to Raster Translation (Geotiff to JPEG) with Reprojection
Introduction to MapnikRasterizer
Handling CMYK color values in FME
© 2019 亚搏在线Safe Software Inc |法律