📄 abstractcoverage.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/AbstractCoverage.html#show(java.lang.String)">show</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> title)</CODE><BR> Display this coverage in a windows. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/coverage/AbstractCoverage.html#show(java.lang.String, int, int)">show</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> title, int xAxis, int yAxis)</CODE><BR> Display this coverage in a windows. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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/coverage/AbstractCoverage.html#toString()">toString</A></B>()</CODE><BR> Returns a string repr閟entation of this coverage. </TD></TR></TABLE> <A NAME="methods_inherited_from_class_PropertySourceImpl"><!-- --></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/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#getProperties()" title="class or interface in javax.media.jai">getProperties</A>, <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PropertySourceImpl.html#getProperty(java.lang.String)" title="class or interface in javax.media.jai">getProperty</A>, <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PropertySourceImpl.html#getPropertyClass(java.lang.String)" title="class or interface in javax.media.jai">getPropertyClass</A>, <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PropertySourceImpl.html#getPropertyNames()" title="class or interface in javax.media.jai">getPropertyNames</A>, <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PropertySourceImpl.html#getPropertyNames(java.lang.String)" title="class or interface in javax.media.jai">getPropertyNames</A></CODE></TD></TR></TABLE> <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#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> <A NAME="methods_inherited_from_class_Coverage"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface Coverage</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>evaluate, getNumSampleDimensions, getSampleDimension</CODE></TD></TR></TABLE> <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="crs"><!-- --></A><H3>crs</H3><PRE>protected final CoordinateReferenceSystem <B>crs</B></PRE><DL><DD>The coordinate reference system, or if there is none.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="AbstractCoverage(java.lang.CharSequence, org.opengis.referencing.crs.CoordinateReferenceSystem, javax.media.jai.PropertySource, java.util.Map)"><!-- --></A><H3>AbstractCoverage</H3><PRE>protected <B>AbstractCoverage</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CharSequence.html" title="class or interface in java.lang">CharSequence</A> name, CoordinateReferenceSystem crs, <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> source, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> properties)</PRE><DL><DD>Constructs a coverage using the specified coordinate reference system. If the coordinate reference system is , then the subclasses must override <A HREF="../../../org/geotools/coverage/AbstractCoverage.html#getDimension()"><CODE>getDimension()</CODE></A>.<P><DT><B>Parameters:</B><DD><CODE>name</CODE> - The coverage name.<DD><CODE>crs</CODE> - The coordinate reference system. This specifies the coordinate system used when accessing a coverage or grid coverage with the methods.<DD><CODE>source</CODE> - The source for this coverage, or if none. Source may be (but is not limited to) a <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> or an other object.<DD><CODE>properties</CODE> - The set of properties for this coverage, or if there is none. "Properties" in <cite>Java Advanced Imaging</cite> is what OpenGIS calls "Metadata". Keys are <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A> objects (<A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/util/CaselessStringKey.html" title="class or interface in javax.media.jai.util"><CODE>CaselessStringKey</CODE></A> are accepted as well), while values may be any <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang"><CODE>Object</CODE></A>.</DL><HR><A NAME="AbstractCoverage(java.lang.CharSequence, org.opengis.coverage.Coverage)"><!-- --></A><H3>AbstractCoverage</H3><PRE>protected <B>AbstractCoverage</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/CharSequence.html" title="class or interface in java.lang">CharSequence</A> name, Coverage coverage)</PRE><DL><DD>Constructs a new coverage with the same parameters than the specified coverage. <strong>Note:</strong> This constructor keeps a strong reference to the source coverage (through <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"><CODE>PropertySourceImpl</CODE></A>). In many cases, it is not a problem since <CODE>GridCoverage</CODE> will retains a strong reference to its source anyway.<P><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name for this coverage, or for the same than .<DD><CODE>coverage</CODE> - The source coverage.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public InternationalString <B>getName</B>()</PRE><DL><DD>Returns the coverage name. The default implementation returns the name specified at construction time.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getDimension()"><!-- --></A><H3>getDimension</H3><PRE>public final int <B>getDimension</B>()</PRE><DL><DD>Returns the dimension of this coverage. This is a shortcut for <code><A HREF="../../../org/geotools/coverage/AbstractCoverage.html#crs">crs</A>.getCoordinateSystem().getDimension()</code>.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getCoordinateReferenceSystem()"><!-- --></A><H3>getCoordinateReferenceSystem</H3><PRE>public CoordinateReferenceSystem <B>getCoordinateReferenceSystem</B>()</PRE><DL><DD>Returns the coordinate reference system to which the objects in its domain are referenced. This is the CRS used when accessing a coverage or grid coverage with the methods. This coordinate reference system is usually different than coordinate system of the grid. It is the target coordinate reference system of the <CODE>gridToCRS</CODE> math transform. <p> Grid coverage can be accessed (re-projected) with new coordinate reference system with the <CODE>GridCoverageProcessor</CODE> component. In this case, a new instance of a grid coverage is created.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getCoordinateReferenceSystem</CODE> in interface <CODE>Coverage</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The coordinate reference system used when accessing a coverage or grid coverage with the methods.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getGridToCoordinateSystem()"><CODE>GeneralGridGeometry.getGridToCoordinateSystem()</CODE></A></DL></DD></DL><HR><A NAME="getDimensionNames()"><!-- --></A><H3>getDimensionNames</H3><PRE>public InternationalString[] <B>getDimensionNames</B>()</PRE><DL><DD><B>Deprecated.</B> <I>This information can be obtained from the underlying coordinate system.</I><P><DD>Returns the names of each dimension in this coverage. Typically these names are "x", "y", "z" and "t". The number of items in the sequence is the number of dimensions in the coverage. Grid coverages are typically 2D (<var>x</var>, <var>y</var>) while other coverages may be 3D (<var>x</var>, <var>y</var>, <var>z</var>) or 4D (<var>x</var>, <var>y</var>, <var>z</var>, <var>t</var>). The <A HREF="../../../org/geotools/coverage/AbstractCoverage.html#getDimension()">number of dimensions</A> of the coverage is the number of entries in the list of dimension names. <p> The default implementation ask for coordinate system axis names, or returns "x", "y"... if this coverage has no CRS.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getDimensionNames</CODE> in interface <CODE>Coverage</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The names of each dimension. The array's length is equals to <A HREF="../../../org/geotools/coverage/AbstractCoverage.html#getDimension()"><CODE>getDimension()</CODE></A>.</DL></DD></DL><HR><A NAME="getDimensionNames(java.util.Locale)"><!-- --></A><H3>getDimensionNames</H3><PRE>public final <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>getDimensionNames</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> locale)</PRE><DL><DD><B>Deprecated.</B> <I>Replaced by <A HREF="../../../org/geotools/coverage/AbstractCoverage.html#getDimensionNames()"><CODE>getDimensionNames()</CODE></A>.</I><P><DD>Returns the names of each dimension in this coverage.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getEnvelope()"><!-- --></A><H3>getEnvelope</H3><PRE>public Envelope <B>getEnvelope</B>()</PRE><DL><DD>Returns the bounding box for the coverage domain in coordinate reference system coordinates. May be null if this coverage has no associated coordinate reference system. For grid coverages, the grid cells are centered on each grid coordinate. The envelope for a 2-D grid coverage includes the following corner positions. <blockquote><pre>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -