|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.coverage.raster.utils.RasterBuilder
public class RasterBuilder
The RasterBuilder recursively enters a given directory and creates a TiledRaster from found
image files.
| Constructor Summary | |
|---|---|
RasterBuilder()
|
|
| Method Summary | |
|---|---|
static MultiResolutionRaster |
buildMultiResolutionRaster(File resolutionDirectory,
boolean recursive,
RasterIOOptions options)
Create a MultiResolutionRaster with the origin or the world coordinate of each raster file, defined by
the given RasterGeoReference.OriginLocation |
static MultiResolutionRaster |
buildMultiResolutionRaster(List<File> resolutionDirectories,
boolean recursive,
RasterIOOptions options)
|
static AbstractRaster |
buildTiledRaster(File directory,
boolean recursive,
RasterIOOptions options)
Scan the given directory (recursively) for files with given extension and create a tiled raster from them. |
static double |
getPixelResolution(Double resolution,
File resolutionDir)
Get the resolution from the resolution or if no value was configured try to get it from the name of the directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RasterBuilder()
| Method Detail |
|---|
public static MultiResolutionRaster buildMultiResolutionRaster(File resolutionDirectory,
boolean recursive,
RasterIOOptions options)
MultiResolutionRaster with the origin or the world coordinate of each raster file, defined by
the given RasterGeoReference.OriginLocation
resolutionDirectory - locating the different resolutionsrecursive - if the sub directories of the resolution directories should be scanned as welloptions - containing information on the loading of the raster data.
MultiResolutionRaster filled with TiledRasters or null if the
resolutionDirectory is not a directory.
public static MultiResolutionRaster buildMultiResolutionRaster(List<File> resolutionDirectories,
boolean recursive,
RasterIOOptions options)
resolutionDirectories - locating the different resolutionsrecursive - if the sub directories of the resolution directories should be scanned as welloptions - containing values for the loading of the raster data.
MultiResolutionRaster filled with TiledRasters
public static double getPixelResolution(Double resolution,
File resolutionDir)
resolution - resolutionDir -
public static AbstractRaster buildTiledRaster(File directory,
boolean recursive,
RasterIOOptions options)
IndexedMemoryTileContainer. The options should define an
RasterIOOptions.OPT_FORMAT to be used as file extension which will be case insensitive extension of the
files to to scan for
directory - recursive - if true sub directories will be scanned as well.options - containing information on the data
TiledRaster or null if no raster files were found at the given location, with
the given extension.
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||