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

📄 gridcoveragefactory.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 5 页
字号:
       <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A>&nbsp;units,       <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>[][]&nbsp;colors,       <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.html" title="class or interface in java.awt">RenderingHints</A>&nbsp;hints)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a grid coverage from the specified <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/WritableRaster.html" title="class or interface in java.awt.image">raster</A> and envelope.  </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/GridCoverage2D.html" title="class in org.geotools.coverage.grid">GridCoverage2D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GridCoverageFactory.html#create(java.lang.CharSequence, java.awt.image.WritableRaster, org.opengis.spatialschema.geometry.Envelope, org.geotools.coverage.GridSampleDimension[])">create</A></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>&nbsp;name,       <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/WritableRaster.html" title="class or interface in java.awt.image">WritableRaster</A>&nbsp;raster,       Envelope&nbsp;envelope,       <A HREF="../../../../org/geotools/coverage/GridSampleDimension.html" title="class in org.geotools.coverage">GridSampleDimension</A>[]&nbsp;bands)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a grid coverage from the specified <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/WritableRaster.html" title="class or interface in java.awt.image">raster</A> and envelope. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;CoordinateReferenceSystem</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/coverage/grid/GridCoverageFactory.html#getDefaultCRS(int)">getDefaultCRS</A></B>(int&nbsp;dimension)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default coordinate reference system to use when no CRS were explicitly specified by the user. </TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_AbstractFactory"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../../org/geotools/factory/AbstractFactory.html" title="class in org.geotools.factory">AbstractFactory</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/factory/AbstractFactory.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../org/geotools/factory/AbstractFactory.html#getImplementationHints()">getImplementationHints</A>, <A HREF="../../../../org/geotools/factory/AbstractFactory.html#getPriority()">getPriority</A>, <A HREF="../../../../org/geotools/factory/AbstractFactory.html#hashCode()">hashCode</A>, <A HREF="../../../../org/geotools/factory/AbstractFactory.html#onDeregistration(javax.imageio.spi.ServiceRegistry, java.lang.Class)">onDeregistration</A>, <A HREF="../../../../org/geotools/factory/AbstractFactory.html#onRegistration(javax.imageio.spi.ServiceRegistry, java.lang.Class)">onRegistration</A>, <A HREF="../../../../org/geotools/factory/AbstractFactory.html#toString()">toString</A></CODE></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#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#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>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="GridCoverageFactory()"><!-- --></A><H3>GridCoverageFactory</H3><PRE>public <B>GridCoverageFactory</B>()</PRE><DL><DD>Creates a default factory. Users should not need to creates instance of this class directly. Invoke <A HREF="../../../../org/geotools/coverage/FactoryFinder.html#getGridCoverageFactory(org.geotools.factory.Hints)"><CODE>FactoryFinder.getGridCoverageFactory(org.geotools.factory.Hints)</CODE></A> instead.<P></DL><HR><A NAME="GridCoverageFactory(org.geotools.factory.Hints)"><!-- --></A><H3>GridCoverageFactory</H3><PRE>public <B>GridCoverageFactory</B>(<A HREF="../../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A>&nbsp;hints)</PRE><DL><DD>Creates a factory using the specified set of hints. The factory recognizes the following hints: <p> <ul>   <li><A HREF="../../../../org/geotools/factory/Hints.html#DEFAULT_COORDINATE_REFERENCE_SYSTEM"><CODE>Hints.DEFAULT_COORDINATE_REFERENCE_SYSTEM</CODE></A></li>   <li><A HREF="../../../../org/geotools/factory/Hints.html#TILE_ENCODING"><CODE>Hints.TILE_ENCODING</CODE></A></li> </ul><P></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="getDefaultCRS(int)"><!-- --></A><H3>getDefaultCRS</H3><PRE>protected CoordinateReferenceSystem <B>getDefaultCRS</B>(int&nbsp;dimension)</PRE><DL><DD>Returns the default coordinate reference system to use when no CRS were explicitly specified by the user. If a <A HREF="../../../../org/geotools/factory/Hints.html#DEFAULT_COORDINATE_REFERENCE_SYSTEM"><CODE>DEFAULT_COORDINATE_REFERENCE_SYSTEM</CODE></A> hint were provided at factory construction time, then the specified CRS is returned. Otherwise, the default implementation returns <A HREF="../../../../org/geotools/referencing/crs/DefaultGeographicCRS.html#WGS84"><CODE>DefaultGeographicCRS.WGS84</CODE></A> or its 3D variant. Subclasses should override this method if they want to use different defaults.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dimension</CODE> - The number of dimension expected in the CRS to be returned.<DT><B>Since:</B></DT>  <DD>2.2</DD></DL></DD></DL><HR><A NAME="create(java.lang.CharSequence, javax.media.jai.ImageFunction, org.geotools.coverage.grid.GridGeometry2D, org.geotools.coverage.GridSampleDimension[], java.util.Map)"><!-- --></A><H3>create</H3><PRE>public <A HREF="../../../../org/geotools/coverage/grid/GridCoverage2D.html" title="class in org.geotools.coverage.grid">GridCoverage2D</A> <B>create</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>&nbsp;name,                             <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/ImageFunction.html" title="class or interface in javax.media.jai">ImageFunction</A>&nbsp;function,                             <A HREF="../../../../org/geotools/coverage/grid/GridGeometry2D.html" title="class in org.geotools.coverage.grid">GridGeometry2D</A>&nbsp;gridGeometry,                             <A HREF="../../../../org/geotools/coverage/GridSampleDimension.html" title="class in org.geotools.coverage">GridSampleDimension</A>[]&nbsp;bands,                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&nbsp;properties)</PRE><DL><DD>Constructs a grid coverage from an <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/ImageFunction.html" title="class or interface in javax.media.jai">image function</A>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The grid coverage name.<DD><CODE>function</CODE> - The image function.<DD><CODE>gridGeometry</CODE> - The grid geometry. The <A HREF="../../../../org/geotools/coverage/grid/GeneralGridGeometry.html#getGridRange()">grid                     range</A> must contains the expected image size (width and height).<DD><CODE>bands</CODE> - Sample dimensions for each image band, or  for                     default sample dimensions.<DD><CODE>properties</CODE> - The set of properties for this coverage, or  if there is none.<DT><B>Since:</B></DT>  <DD>2.2</DD></DL></DD></DL><HR><A NAME="create(java.lang.CharSequence, float[][], org.opengis.spatialschema.geometry.Envelope)"><!-- --></A><H3>create</H3><PRE>public <A HREF="../../../../org/geotools/coverage/grid/GridCoverage2D.html" title="class in org.geotools.coverage.grid">GridCoverage2D</A> <B>create</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>&nbsp;name,                             float[][]&nbsp;matrix,                             Envelope&nbsp;envelope)</PRE><DL><DD>Constructs a grid coverage from the specified matrix and envelope. A default color palette is built from the minimal and maximal values found in the matrix.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The grid coverage name.<DD><CODE>matrix</CODE> - The matrix data in a  layout.                 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Float.html#NaN" title="class or interface in java.lang">NaN</A> values are mapped to a transparent color.<DD><CODE>envelope</CODE> - The envelope.<DT><B>Since:</B></DT>  <DD>2.2</DD></DL></DD></DL><HR><A NAME="create(java.lang.CharSequence, java.awt.image.WritableRaster, org.opengis.spatialschema.geometry.Envelope)"><!-- --></A><H3>create</H3>

⌨️ 快捷键说明

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