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

📄 abstractgridcoverage2dreader.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;MathTransform</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#raster2Model">raster2Model</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2DGridToWorld math transform.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#source">source</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source to read from</TD></TR></TABLE>&nbsp;<!-- ======== 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="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#AbstractGridCoverage2DReader()">AbstractGridCoverage2DReader</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<!-- ========== 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"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;GridCoverage</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#createImageCoverage(javax.media.jai.PlanarImage)">createImageCoverage</A></B>(<A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PlanarImage.html" title="class or interface in javax.media.jai">PlanarImage</A>&nbsp;image)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <CODE>GridCoverage</CODE> for the provided <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PlanarImage.html" title="class or interface in javax.media.jai"><CODE>PlanarImage</CODE></A> using the <A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#originalEnvelope"><CODE>originalEnvelope</CODE></A> that was provided for this coverage.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;GridCoverage</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#createImageCoverage(javax.media.jai.PlanarImage, org.opengis.referencing.operation.MathTransform)">createImageCoverage</A></B>(<A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PlanarImage.html" title="class or interface in javax.media.jai">PlanarImage</A>&nbsp;image,                    MathTransform&nbsp;raster2Model)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <CODE>GridCoverage</CODE> for the provided <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PlanarImage.html" title="class or interface in javax.media.jai"><CODE>PlanarImage</CODE></A> using the <A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#raster2Model"><CODE>raster2Model</CODE></A> that was provided for this coverage.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#decimationOnReadingControl(java.lang.Integer, javax.imageio.ImageReadParam, double[])">decimationOnReadingControl</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A>&nbsp;imageChoice,                           <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html" title="class or interface in javax.imageio">ImageReadParam</A>&nbsp;readP,                           double[]&nbsp;requestedRes)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is responsible for evaluating possible subsampling factors once the best resolution level has been found, in case we have support for overviews, or starting from the original coverage in case there are no overviews availaible.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#dispose()">dispose</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Disposes this reader.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;CoordinateReferenceSystem</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#getCrs()">getCrs</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the <CODE>CoordinateReferenceSystem</CODE> for dataset pointed by this <A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html" title="class in org.geotools.data.coverage.grid"><CODE>AbstractGridCoverage2DReader</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#getCurrentSubname()">getCurrentSubname</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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/data/coverage/grid/AbstractGridCoverage2DReader.html#getGridCoverageCount()">getGridCoverageCount</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#getMetadataNames()">getMetadataNames</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#getMetadataValue(java.lang.String)">getMetadataValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../org/geotools/geometry/GeneralEnvelope.html" title="class in org.geotools.geometry">GeneralEnvelope</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#getOriginalEnvelope()">getOriginalEnvelope</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the <A HREF="../../../../../org/geotools/geometry/GeneralEnvelope.html" title="class in org.geotools.geometry"><CODE>GeneralEnvelope</CODE></A> for this <A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html" title="class in org.geotools.data.coverage.grid"><CODE>AbstractGridCoverage2DReader</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../org/geotools/coverage/grid/GeneralGridRange.html" title="class in org.geotools.coverage.grid">GeneralGridRange</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#getOriginalGridRange()">getOriginalGridRange</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the <A HREF="../../../../../org/geotools/coverage/grid/GeneralGridRange.html" title="class in org.geotools.coverage.grid"><CODE>GeneralGridRange</CODE></A> that represents the raster grid dimensions of the highest resolution level in this dataset.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;double[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#getResolution(org.geotools.geometry.GeneralEnvelope, java.awt.geom.Rectangle2D, org.opengis.referencing.crs.CoordinateReferenceSystem)">getResolution</A></B>(<A HREF="../../../../../org/geotools/geometry/GeneralEnvelope.html" title="class in org.geotools.geometry">GeneralEnvelope</A>&nbsp;envelope,              <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A>&nbsp;dim,              CoordinateReferenceSystem&nbsp;crs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is responsible for computing the resolutions in for the provided grid geometry in the provided crs.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#getSource()">getSource</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the source for this <A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html" title="class in org.geotools.data.coverage.grid"><CODE>AbstractGridCoverage2DReader</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#hasMoreGridCoverages()">hasMoreGridCoverages</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#isScaleTranslate(org.opengis.referencing.operation.MathTransform)">isScaleTranslate</A></B>(MathTransform&nbsp;transform)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks the transformation is a pure scale/translate instance (using a tolerance)</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#listSubNames()">listSubNames</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#setReadParams(javax.imageio.ImageReadParam, org.geotools.geometry.GeneralEnvelope, java.awt.Rectangle)">setReadParams</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html" title="class or interface in javax.imageio">ImageReadParam</A>&nbsp;readP,              <A HREF="../../../../../org/geotools/geometry/GeneralEnvelope.html" title="class in org.geotools.geometry">GeneralEnvelope</A>&nbsp;requestedEnvelope,              <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Rectangle.html" title="class or interface in java.awt">Rectangle</A>&nbsp;requestedDim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is responsible for preparing the read param for doing an <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReader.html#read(int, javax.imageio.ImageReadParam)" title="class or interface in javax.imageio"><CODE>ImageReader.read(int, ImageReadParam)</CODE></A>.   </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverage2DReader.html#skip()">skip</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_GridCoverageReader"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface GridCoverageReader</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getFormat, read</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="coverageFactory"><!-- --></A><H3>coverageFactory</H3><PRE>protected static final <A HREF="../../../../../org/geotools/coverage/grid/GridCoverageFactory.html" title="class in org.geotools.coverage.grid">GridCoverageFactory</A> <B>coverageFactory</B></PRE><DL><DD>Caches a default GridCoverageFactory for usage in plugins.<P><DL></DL></DL><HR><A NAME="EPS"><!-- --></A><H3>EPS</H3><PRE>protected static final double <B>EPS</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.coverage.grid.AbstractGridCoverage2DReader.EPS">Constant Field Values</A></DL></DL><HR><A NAME="operationFactory"><!-- --></A><H3>operationFactory</H3><PRE>protected static final CoordinateOperationFactory <B>operationFactory</B></PRE><DL><DD>Buffered factory for coordinate operations.<P><DL></DL></DL><HR><A NAME="demColors"><!-- --></A><H3>demColors</H3><PRE>protected static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>[] <B>demColors</B></PRE><DL><DD>Default color ramp. Preset colors used to generate an Image from the raw data<P><DL></DL></DL><HR><A NAME="numOverviews"><!-- --></A><H3>numOverviews</H3><PRE>protected volatile int <B>numOverviews</B></PRE><DL>

⌨️ 快捷键说明

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