org.geotools.utils.imagepyramid
Class PyramidBuilder
java.lang.Object
org.geotools.utils.progress.ProgressManager
org.geotools.utils.progress.BaseArgumentsManager
org.geotools.utils.imagepyramid.PyramidBuilder
- All Implemented Interfaces:
- java.lang.Runnable, java.util.EventListener, ProcessingEventListener
public class PyramidBuilder
- extends BaseArgumentsManager
- implements java.lang.Runnable, ProcessingEventListener
Given an original image, builds an image pyramid out of it by combining the
various tiler, mosaic and pyramid layer builder tools.
Example of use:
PyramidBuilder -s "/usr/home/data/home.tif" -f 2 -n 4 -t "25,25" -w
- Since:
- 2.3.x
- Author:
- Andrea Aime, Simone Giannecchini, GeoSolutions.
Constructor Summary |
PyramidBuilder()
Simple constructor for a pyramid generator. |
Methods inherited from class org.geotools.utils.progress.BaseArgumentsManager |
addOption, addOptions, finishInitialization, getOptionValue, getOptionValue, getPriority, getTileCacheSize, getToolName, getVersion, hasOption, hasOption, removeOption, removeOptions, setUseImageIOCache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PyramidBuilder
public PyramidBuilder()
- Simple constructor for a pyramid generator. Use the input string in order
to read an image.
run
public void run()
- Description copied from class:
ProgressManager
- This method is responsible for doing the actual processing.
- Specified by:
run
in interface java.lang.Runnable
- Specified by:
run
in class ProgressManager
getNotification
public void getNotification(ProcessingEvent event)
- Specified by:
getNotification
in interface ProcessingEventListener
exceptionOccurred
public void exceptionOccurred(ExceptionEvent event)
- Specified by:
exceptionOccurred
in interface ProcessingEventListener
parseArgs
public boolean parseArgs(java.lang.String[] args)
- Overrides:
parseArgs
in class BaseArgumentsManager
getCompressionRatio
public double getCompressionRatio()
getCompressionScheme
public java.lang.String getCompressionScheme()
setCompressionRatio
public void setCompressionRatio(double compressionRatio)
setCompressionScheme
public void setCompressionScheme(java.lang.String compressionScheme)
getInternalTileHeight
public int getInternalTileHeight()
getInternalTileWidth
public int getInternalTileWidth()
setInternalTileHeight
public void setInternalTileHeight(int internalTileHeight)
setInternalTileWidth
public void setInternalTileWidth(int internalTileWidth)
main
public static void main(java.lang.String[] args)
throws java.lang.IllegalArgumentException,
java.io.IOException,
java.lang.InterruptedException
- This tool is designed to be used by the command line using this main
class but it can also be used from an GUI by using the setters and
getters.
- Parameters:
args
-
- Throws:
java.io.IOException
java.lang.IllegalArgumentException
java.lang.InterruptedException
Copyright © 1996-2010 Geotools. All Rights Reserved.