|
||||||||||
| 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.
| Nested Class Summary | |
|---|---|
static class |
RasterBuilder.QTreeInfo
|
| Constructor Summary | |
|---|---|
RasterBuilder()
|
|
| Method Summary | |
|---|---|
AbstractCoverage |
buildCoverage(java.io.File rasterLocation,
boolean recursive,
RasterIOOptions options)
Creates a coverage from the given raster location. |
AbstractCoverage |
buildCoverage(java.net.URL configURL)
Creates a new AbstractCoverage instance from the given configuration document. |
MultiResolutionRaster |
buildMultiResolutionRaster(java.io.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 |
java.lang.String |
getConfigNamespace()
Returns the namespace for configurations documents that this provider handles. |
| 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 MultiResolutionRaster buildMultiResolutionRaster(java.io.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 java.lang.String getConfigNamespace()
CoverageBuilder
getConfigNamespace in interface CoverageBuildernull
public AbstractCoverage buildCoverage(java.net.URL configURL)
throws java.io.IOException
CoverageBuilderAbstractCoverage instance from the given configuration document.
buildCoverage in interface CoverageBuilderconfigURL - location of the configuration document, must not be null
java.io.IOException - if the configuration contains an error or creation fails
public AbstractCoverage buildCoverage(java.io.File rasterLocation,
boolean recursive,
RasterIOOptions options)
throws java.io.IOException
rasterLocation - may be a raster file or a raster directory containing a tiled raster or several sub directories named
with doubles, containing different resolutions (a multiresolution raster tree).recursive - if the directory should be searched recursively.options - containing configured values for the loading of the coverage.
SimpleRaster a
TiledRaster or a MultiResolutionRaster.
java.io.IOException - if the raster location could not be read.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||