📄 abstractgridcoverage2dreader.html
字号:
<DT><B>Parameters:</B><DD><CODE>image</CODE> - contains the data for the coverage to create.<DD><CODE>raster2Model</CODE> - is the <CODE>MathTransform</CODE> that maps from the raster space to the model space.<DT><B>Returns:</B><DD>a <CODE>GridCoverage</CODE><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="getResolution(org.geotools.geometry.GeneralEnvelope, java.awt.geom.Rectangle2D, org.opengis.referencing.crs.CoordinateReferenceSystem)"><!-- --></A><H3>getResolution</H3><PRE>protected final double[] <B>getResolution</B>(<A HREF="../../../../../org/geotools/geometry/GeneralEnvelope.html" title="class in org.geotools.geometry">GeneralEnvelope</A> 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> dim, CoordinateReferenceSystem crs) throws <A HREF="../../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></PRE><DL><DD>This method is responsible for computing the resolutions in for the provided grid geometry in the provided crs. <P> It is worth to note that the returned resolution array is of length of 2 and it always is lon, lat for the moment.<br> It might be worth to remove the axes reordering code when we are confident enough with the code to handle the north-up crs. <p> TODO use orthodromic distance?<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>envelope</CODE> - the GeneralEnvelope<DD><CODE>dim</CODE> - <DD><CODE>crs</CODE> - <DT><B>Throws:</B><DD><CODE><A HREF="../../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE></DL></DD></DL><HR><A NAME="getCrs()"><!-- --></A><H3>getCrs</H3><PRE>public final CoordinateReferenceSystem <B>getCrs</B>()</PRE><DL><DD>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>.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>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>.</DL></DD></DL><HR><A NAME="getOriginalGridRange()"><!-- --></A><H3>getOriginalGridRange</H3><PRE>public final <A HREF="../../../../../org/geotools/coverage/grid/GeneralGridRange.html" title="class in org.geotools.coverage.grid">GeneralGridRange</A> <B>getOriginalGridRange</B>()</PRE><DL><DD>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.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>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.</DL></DD></DL><HR><A NAME="getOriginalEnvelope()"><!-- --></A><H3>getOriginalEnvelope</H3><PRE>public final <A HREF="../../../../../org/geotools/geometry/GeneralEnvelope.html" title="class in org.geotools.geometry">GeneralEnvelope</A> <B>getOriginalEnvelope</B>()</PRE><DL><DD>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>.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>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>.</DL></DD></DL><HR><A NAME="getSource()"><!-- --></A><H3>getSource</H3><PRE>public final <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>getSource</B>()</PRE><DL><DD>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>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getSource</CODE> in interface <CODE>GridCoverageReader</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>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>.</DL></DD></DL><HR><A NAME="dispose()"><!-- --></A><H3>dispose</H3><PRE>public void <B>dispose</B>()</PRE><DL><DD>Disposes this reader. <p> This method just tries to close the underlying <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/stream/ImageInputStream.html" title="class or interface in javax.imageio.stream"><CODE>ImageInputStream</CODE></A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>dispose</CODE> in interface <CODE>GridCoverageReader</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="skip()"><!-- --></A><H3>skip</H3><PRE>public void <B>skip</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE>skip</CODE> in interface <CODE>GridCoverageReader</CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><CODE>GridCoverageReader.skip()</CODE></DL></DD></DL><HR><A NAME="hasMoreGridCoverages()"><!-- --></A><H3>hasMoreGridCoverages</H3><PRE>public boolean <B>hasMoreGridCoverages</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE>hasMoreGridCoverages</CODE> in interface <CODE>GridCoverageReader</CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><CODE>GridCoverageReader.hasMoreGridCoverages()</CODE></DL></DD></DL><HR><A NAME="listSubNames()"><!-- --></A><H3>listSubNames</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>listSubNames</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE>listSubNames</CODE> in interface <CODE>GridCoverageReader</CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><CODE>GridCoverageReader.listSubNames()</CODE></DL></DD></DL><HR><A NAME="getCurrentSubname()"><!-- --></A><H3>getCurrentSubname</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getCurrentSubname</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE>getCurrentSubname</CODE> in interface <CODE>GridCoverageReader</CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><CODE>GridCoverageReader.getCurrentSubname()</CODE></DL></DD></DL><HR><A NAME="getMetadataNames()"><!-- --></A><H3>getMetadataNames</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>getMetadataNames</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE>getMetadataNames</CODE> in interface <CODE>GridCoverageReader</CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><CODE>GridCoverageReader.getMetadataNames()</CODE></DL></DD></DL><HR><A NAME="getMetadataValue(java.lang.String)"><!-- --></A><H3>getMetadataValue</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMetadataValue</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> name) throws MetadataNameNotFoundException</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE>getMetadataValue</CODE> in interface <CODE>GridCoverageReader</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>MetadataNameNotFoundException</CODE><DT><B>See Also:</B><DD><CODE>GridCoverageReader.getMetadataValue(java.lang.String)</CODE></DL></DD></DL><HR><A NAME="getGridCoverageCount()"><!-- --></A><H3>getGridCoverageCount</H3><PRE>public int <B>getGridCoverageCount</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><CODE>org.opengis.coverage.grid.GridCoverageReader#getGridCoverageCount()</CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" 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_bottom_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/AbstractGridCoverage2DReader.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 <A HREF="../../../../../org/geotools/data/coverage/grid/AbstractGridCoverageWriter.html" title="class in org.geotools.data.coverage.grid"><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> <A HREF="AbstractGridCoverage2DReader.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: NESTED | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -