|
||||||||||
| 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(File rasterLocation,
boolean recursive,
RasterIOOptions options)
Creates a coverage from the given raster location. |
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 |
Coverage |
create(URL configUrl)
|
String |
getConfigNamespace()
Returns the namespace for configuration documents that this provider handles. |
URL |
getConfigSchema()
Returns the URL for retrieving the configuration document schema. |
Class<? extends ResourceManager>[] |
getDependencies()
|
void |
init(DeegreeWorkspace workspace)
Will be called before any call to #create. |
| 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(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 String getConfigNamespace()
ResourceProvider
getConfigNamespace in interface ResourceProvidernull
public AbstractCoverage buildCoverage(File rasterLocation,
boolean recursive,
RasterIOOptions options)
throws 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.
IOException - if the raster location could not be read.public URL getConfigSchema()
ResourceProvider
getConfigSchema in interface ResourceProvidernullpublic void init(DeegreeWorkspace workspace)
ExtendedResourceProvider
init in interface ExtendedResourceProvider<Coverage>
public Coverage create(URL configUrl)
throws ResourceInitException
create in interface ExtendedResourceProvider<Coverage>null
ResourceInitExceptionpublic Class<? extends ResourceManager>[] getDependencies()
getDependencies in interface ExtendedResourceProvider<Coverage>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||