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

📄 exoreferencedgridcoveragereader.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<PRE>protected <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>toImageFileName</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;filename)</PRE><DL><DD>Returns the filename for image data. This method is invoked by <A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#setInput(java.lang.Object, boolean)"><CODE>setInput(java.lang.Object, boolean)</CODE></A> after <A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#metadata"><CODE>metadata</CODE></A> has been loaded. Default implementation just replace the file extension by the <code>extension</code> argument specified to the constructor.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>filename</CODE> - The filename part of metadata file. This         is the filename part of the file supplied by users         to <A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#setInput(java.lang.Object, boolean)"><CODE>setInput(java.lang.Object, boolean)</CODE></A>.<DT><B>Returns:</B><DD>The filename to use for for the image file. The         directory is assumed to be the same than the metadata file.</DL></DD></DL><HR><A NAME="getCoordinateReferenceSystem(int)"><!-- --></A><H3>getCoordinateReferenceSystem</H3><PRE>public CoordinateReferenceSystem <B>getCoordinateReferenceSystem</B>(int&nbsp;index)                                                                                   throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns the coordinate system for the <CODE>GridCoverage</CODE> to be read. The default implementation invokes <code><A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#metadata"><CODE>metadata</CODE></A>.<A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html#getCoordinateReferenceSystem()"><CODE>getCoordinateReferenceSystem()</CODE></A></code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#getCoordinateReferenceSystem(int)">getCoordinateReferenceSystem</A></CODE> in class <CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html" title="class in org.geotools.coverage.io">AbstractGridCoverageReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the image to be queried.<DT><B>Returns:</B><DD>The coordinate system for the <CODE>GridCoverage</CODE> at the specified index.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the input source has not been set.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if the supplied index is out of bounds.<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> - if an error occurs reading the width information from         the input source.</DL></DD></DL><HR><A NAME="getEnvelope(int)"><!-- --></A><H3>getEnvelope</H3><PRE>public Envelope <B>getEnvelope</B>(int&nbsp;index)                                                        throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns the envelope for the <CODE>GridCoverage</CODE> to be read. The default implementation invokes <code><A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#metadata"><CODE>metadata</CODE></A>.<A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html#getEnvelope()"><CODE>getEnvelope()</CODE></A></code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#getEnvelope(int)">getEnvelope</A></CODE> in class <CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html" title="class in org.geotools.coverage.io">AbstractGridCoverageReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the image to be queried.<DT><B>Returns:</B><DD>The envelope for the <CODE>GridCoverage</CODE> at the specified index.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the input source has not been set.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if the supplied index is out of bounds.<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> - if an error occurs reading the width information from         the input source.</DL></DD></DL><HR><A NAME="getGridRange(int)"><!-- --></A><H3>getGridRange</H3><PRE>public GridRange <B>getGridRange</B>(int&nbsp;index)                                                 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns the grid range for the <CODE>GridCoverage</CODE> to be read. The default implementation try to invoke <code><A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#metadata"><CODE>metadata</CODE></A>.<A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html#getGridRange()"><CODE>getGridRange()</CODE></A></code>, and fallback to <code>super.getGridRange(index)</code> if the later fails.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#getGridRange(int)">getGridRange</A></CODE> in class <CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html" title="class in org.geotools.coverage.io">AbstractGridCoverageReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the image to be queried.<DT><B>Returns:</B><DD>The grid range for the <CODE>GridCoverage</CODE> at the specified index.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the input source has not been set.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if the supplied index is out of bounds.<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> - if an error occurs reading the width information from         the input source.</DL></DD></DL><HR><A NAME="getSampleDimensions(int)"><!-- --></A><H3>getSampleDimensions</H3><PRE>public SampleDimension[] <B>getSampleDimensions</B>(int&nbsp;index)                                                           throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns the sample dimensions for each band of the <CODE>GridCoverage</CODE> to be read. If sample dimensions are not known, then this method returns <code>null</code>. The default implementation invokes <code><A HREF="../../../../org/geotools/coverage/io/ExoreferencedGridCoverageReader.html#metadata"><CODE>metadata</CODE></A>.<A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html#getSampleDimensions()"><CODE>getSampleDimensions()</CODE></A></code>.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#getSampleDimensions(int)">getSampleDimensions</A></CODE> in class <CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html" title="class in org.geotools.coverage.io">AbstractGridCoverageReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the image to be queried.<DT><B>Returns:</B><DD>The category lists for the <CODE>GridCoverage</CODE> at the specified index.         This array's length must be equals to the number of bands in <CODE>GridCoverage</CODE>.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the input source has not been set.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if the supplied index is out of bounds.<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> - if an error occurs reading the width information from         the input source.</DL></DD></DL><HR><A NAME="setLocale(java.util.Locale)"><!-- --></A><H3>setLocale</H3><PRE>public void <B>setLocale</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale)</PRE><DL><DD>Sets the current <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Locale.html" title="class or interface in java.util"><CODE>Locale</CODE></A> of this <code>AbstractGridCoverageReader</code> to the given value. A value of <code>null</code> removes any previous setting, and indicates that the reader should localize as it sees fit.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html#setLocale(java.util.Locale)">setLocale</A></CODE> in class <CODE><A HREF="../../../../org/geotools/coverage/io/AbstractGridCoverageReader.html" title="class in org.geotools.coverage.io">AbstractGridCoverageReader</A></CODE></DL></DD><DD><DL></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>&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/ExoreferencedGridCoverageReader.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/io/AbstractGridCoverageReader.html" title="class in org.geotools.coverage.io"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/geotools/coverage/io/MetadataBuilder.html" title="class in org.geotools.coverage.io"><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="ExoreferencedGridCoverageReader.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;NESTED&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_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 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 + -