?? coveragescaler.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2_13) on Tue Jun 05 11:36:46 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>CoverageScaler (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="it.geosolutions.utils.coveragescaler.CoverageScaler class"><META NAME="keywords" CONTENT="run()"><META NAME="keywords" CONTENT="main()"><META NAME="keywords" CONTENT="getNotification()"><META NAME="keywords" CONTENT="exceptionOccurred()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="CoverageScaler (Geotools 2.3.x 2.3.2 API)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CoverageScaler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="CoverageScaler.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_it.geosolutions.utils.progress.ProgressManager">NESTED</A> | <A HREF="#fields_inherited_from_class_ProgressManager">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">it.geosolutions.utils.coveragescaler</FONT><BR>Class CoverageScaler</H2><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html" title="class in it.geosolutions.utils.progress">ProgressManager</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>CoverageScaler</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/EventListener.html" title="class or interface in java.util">EventListener</A>, <A HREF="../../../../it/geosolutions/utils/progress/ProcessingEventListener.html" title="interface in it.geosolutions.utils.progress">ProcessingEventListener</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Runnable.html" title="class or interface in java.lang">Runnable</A></DD></DL><HR><DL><DT>public class <B>CoverageScaler</B><DT>extends <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html" title="class in it.geosolutions.utils.progress">ProgressManager</A><DT>implements <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Runnable.html" title="class or interface in java.lang">Runnable</A>, <A HREF="../../../../it/geosolutions/utils/progress/ProcessingEventListener.html" title="interface in it.geosolutions.utils.progress">ProcessingEventListener</A></DL><P><p> This classis in charge for creating the index for a mosaic of images that we want to tie together as a sigle bg coverage. </p> <p> To get instructions on how to run the toll just run it without any arguments and nice and clean help will be printed to the command line. </p> <p> It is worth to point out that this tool comes as a command line tool but it has been built with in mind a GUI. It has the capapbility to register <A HREF="../../../../it/geosolutions/utils/progress/ProcessingEventListener.html" title="interface in it.geosolutions.utils.progress"><CODE>ProcessingEventListener</CODE></A> object that receive notifications about what is going on. Moreover it delegates all the computations to an external thread, hence we can stop the tool in the middle of processig with no so many concerns (hpefully :-) ). </p> <p> Usage:<br/> <code>CoverageScaler -h -v -s -w -p -a -f -c</code> </p> <pre> where: -h : Prints a nice command line Help -v : Prints the tools Version -s : Is the path where the raster(s) is(are) located -w : Is the wildcard representing just the file we want to process (e.g. *.tiff) -p : Is the Thread Priority, a number between 1 and 10 -> 1 [LOW] - 5 [MED] - 10 [HIGH] -a : Represents the Scaling algorithm to use. You can choose among one of the following nn, bil, avg, filt -f : Represents the scale factor. If you want a raster which is 1/2 resolution of the original, f should be 2 -c : Represents the JAI TileCache dimension. This is an optional parameter which allows you to tune the tool performances. </pre> <p> Example of usage:<br/> <code>CoverageScaler -s "/usr/home/tmp/tiled" -w *.tiff -a nn -f 2</code> </p><P><P><DL><DT><B>Author:</B></DT> <DD>Simone Giannecchini, Alessio Fabiani</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><A NAME="nested_class_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Nested Class Summary</B></FONT></TD></TR></TABLE> <A NAME="nested_classes_inherited_from_class_it.geosolutions.utils.progress.ProgressManager"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Nested classes inherited from class <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html" title="class in it.geosolutions.utils.progress">ProgressManager</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.ProgressEventDispatchThreadEventLauncher.html" title="class in it.geosolutions.utils.progress">ProgressManager.ProgressEventDispatchThreadEventLauncher</A></CODE></TD></TR></TABLE> <!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR></TABLE> <A NAME="fields_inherited_from_class_ProgressManager"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html" title="class in it.geosolutions.utils.progress">ProgressManager</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#arguments">arguments</A>, <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#cmdLine">cmdLine</A>, <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#cmdOpts">cmdOpts</A>, <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#cmdParser">cmdParser</A>, <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#helpOpt">helpOpt</A>, <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#optionBuilder">optionBuilder</A>, <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#optionsGroup">optionsGroup</A>, <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#priority">priority</A>, <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#priorityOpt">priorityOpt</A>, <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#sendDelayedMessages">sendDelayedMessages</A>, <A HREF="../../../../it/geosolutions/utils/progress/ProgressManager.html#versionOpt">versionOpt</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../it/geosolutions/utils/coveragescaler/CoverageScaler.html#CoverageScaler()">CoverageScaler</A></B>()</CODE><BR> Default constructor</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -