⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 coveragestack.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<!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:22 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>CoverageStack (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.coverage.CoverageStack class"><META NAME="keywords" CONTENT="zDimension"><META NAME="keywords" CONTENT="getEnvelope()"><META NAME="keywords" CONTENT="getNumSampleDimensions()"><META NAME="keywords" CONTENT="getSampleDimension()"><META NAME="keywords" CONTENT="snap()"><META NAME="keywords" CONTENT="evaluate()"><META NAME="keywords" CONTENT="coveragesAt()"><META NAME="keywords" CONTENT="isInterpolationEnabled()"><META NAME="keywords" CONTENT="setInterpolationEnabled()"><META NAME="keywords" CONTENT="addIIOReadWarningListener()"><META NAME="keywords" CONTENT="removeIIOReadWarningListener()"><META NAME="keywords" CONTENT="addIIOReadProgressListener()"><META NAME="keywords" CONTENT="removeIIOReadProgressListener()"><META NAME="keywords" CONTENT="logLoading()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){    parent.document.title="CoverageStack (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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CoverageStack.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/geotools/coverage/CoverageCache.html" title="class in org.geotools.coverage"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/geotools/coverage/CoverageStack.Adapter.html" title="class in org.geotools.coverage"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="CoverageStack.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">org.geotools.coverage</FONT><BR>Class CoverageStack</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="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PropertySourceImpl.html" title="class or interface in javax.media.jai">PropertySourceImpl</A>      <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../org/geotools/coverage/AbstractCoverage.html" title="class in org.geotools.coverage">AbstractCoverage</A>          <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>CoverageStack</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>Coverage, <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PropertySource.html" title="class or interface in javax.media.jai">PropertySource</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD></DL><HR><DL><DT>public class <B>CoverageStack</B><DT>extends <A HREF="../../../org/geotools/coverage/AbstractCoverage.html" title="class in org.geotools.coverage">AbstractCoverage</A></DL><P>Wraps a stack of coverages as an extra dimension. For example this class can wraps an array of <A HREF="../../../org/geotools/coverage/grid/GridCoverage2D.html" title="class in org.geotools.coverage.grid"><CODE>GridCoverage2D</CODE></A> on the same geographic area, but where each  is for a different date. This  manages the two-dimensional coverages as if the whole set was a huge three-dimensional coverage. <p> Each <A HREF="../../../org/geotools/coverage/CoverageStack.Element.html" title="interface in org.geotools.coverage">coverage element</A> in the stack usually covers the same geographic area, but this is not a requirement. However, they must use the same coordinate reference system. For performance reason, the later condition will not be checked except at construction time if the CRS is provided in the envelope, and at evaluation time if Java assertion are enabled. If the CRS of coverage elements is uncertain, consider wrapping them in a <A HREF="../../../org/geotools/coverage/TransformedCoverage.html" title="class in org.geotools.coverage"><CODE>TransformedCoverage</CODE></A> object. <p> Coverage elements are often two-dimensional, but this is not a requirement. This stack will simply append one more dimension to the coverage element's CRS dimensions. Coverage elements may be other  objects, thus allowing construction of coverages with four or more dimensions. <p>  objects tend to be big. In order to keep memory usage raisonable, this implementation doesn't requires all  objects at once. Instead, it requires an array of <A HREF="../../../org/geotools/coverage/CoverageStack.Element.html" title="interface in org.geotools.coverage"><CODE>CoverageStack.Element</CODE></A> objects, which will load the coverage content only when first needed. This  implementation remember the last coverage elements used; it will not trig new data loading as long as consecutive calls to  methods require the same coverage elements. Apart from this very simple caching mechanism, caching is the responsability of <A HREF="../../../org/geotools/coverage/CoverageStack.Element.html" title="interface in org.geotools.coverage"><CODE>CoverageStack.Element</CODE></A> implementations. Note that this simple caching mechanism is suffisient if  methods are invoked with increasing <var>z</var> values. <p> Each coverage element is expected to extends over a range of <var>z</var> values (the new dimensions appended by this ). If an  method is invoked with a <var>z</var> value not falling in the middle of a coverage element, a linear interpolation is applied. <p> <strong>Note:</strong> This implementation is thread-safe.<P><P><DL><DT><B>Since:</B></DT>  <DD>2.1</DD><DT><B>Author:</B></DT>  <DD>Martin Desruisseaux</DD><DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.geotools.coverage.CoverageStack">Serialized Form</A><DT><B>Module:</B></DT><DD><CODE><B>module/coverage</B></CODE> &nbsp; (<A HREF="http://maven.geotools.fr/repository/org/geotools/gt2-coverage/"><CODE>gt2-coverage.jar</CODE></A>) (<A HREF="http://maven.geotools.fr/reports/coverage/index.html">Maven report</A>) (<A HREF="http://svn.geotools.org/geotools/tags/2.3.2/module/coverage/src/org/geotools/coverage/CoverageStack.java">SVN head</A>)</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><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/CoverageStack.Adapter.html" title="class in org.geotools.coverage">CoverageStack.Adapter</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convenience adapter class for wrapping a pre-loaded <CODE>Coverage</CODE> into an <CODE>Element</CODE> object. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;interface</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/CoverageStack.Element.html" title="interface in org.geotools.coverage">CoverageStack.Element</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An element in a <A HREF="../../../org/geotools/coverage/CoverageStack.html" title="class in org.geotools.coverage">coverage stack</A>. </TD></TR></TABLE>&nbsp;<A NAME="nested_classes_inherited_from_class_org.geotools.coverage.AbstractCoverage"><!-- --></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="../../../org/geotools/coverage/AbstractCoverage.html" title="class in org.geotools.coverage">AbstractCoverage</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/coverage/AbstractCoverage.Renderable.html" title="class in org.geotools.coverage">AbstractCoverage.Renderable</A></CODE></TD></TR></TABLE>&nbsp;<!-- =========== 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><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/CoverageStack.html#zDimension">zDimension</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The dimension of the <var>z</var> ordinate (the last value in coordinate points). </TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_AbstractCoverage"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class <A HREF="../../../org/geotools/coverage/AbstractCoverage.html" title="class in org.geotools.coverage">AbstractCoverage</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/coverage/AbstractCoverage.html#crs">crs</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_PropertySourceImpl"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PropertySourceImpl.html" title="class or interface in javax.media.jai">PropertySourceImpl</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PropertySourceImpl.html#cachedPropertyNames" title="class or interface in javax.media.jai">cachedPropertyNames</A>, <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PropertySourceImpl.html#properties" title="class or interface in javax.media.jai">properties</A>, <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PropertySourceImpl.html#propertySources" title="class or interface in javax.media.jai">propertySources</A></CODE></TD></TR></TABLE>&nbsp;<!-- ======== CONSTRUCTOR SUMMARY ======== -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -