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

📄 arcsderasterimagereadparam.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2_13) on Tue Jun 05 11:36:35 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>ArcSDERasterImageReadParam (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.arcsde.gce.imageio.ArcSDERasterImageReadParam class"><META NAME="keywords" CONTENT="connection"><META NAME="keywords" CONTENT="bandMapper"><META NAME="keywords" CONTENT="getBandMapper()"><META NAME="keywords" CONTENT="setBandMapper()"><META NAME="keywords" CONTENT="getConnection()"><META NAME="keywords" CONTENT="setConnection()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){    parent.document.title="ArcSDERasterImageReadParam (Geotools 2.3.x 2.3.2 API)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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/ArcSDERasterImageReadParam.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;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../../org/geotools/arcsde/gce/imageio/ArcSDERasterReader.html" title="class in org.geotools.arcsde.gce.imageio"><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="ArcSDERasterImageReadParam.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_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.geotools.arcsde.gce.imageio</FONT><BR>Class ArcSDERasterImageReadParam</H2><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html" title="class or interface in javax.imageio">IIOParam</A>      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html" title="class or interface in javax.imageio">ImageReadParam</A>          <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>ArcSDERasterImageReadParam</B></PRE><HR><DL><DT>public class <B>ArcSDERasterImageReadParam</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html" title="class or interface in javax.imageio">ImageReadParam</A></DL><P>This class represents the parameters passed to an ArcSDERasterReader each time an image is read.  Some parameters from the parent class are interpreted strictly in this class.  <i>Required parameters during a read:</i> <ul> <li>An open and connected <CODE>SeConnection</CODE> used to suck out data from ArcSDE for this image read operation.(setConnection())</li> <li>A <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html" title="class or interface in java.util"><CODE>HashMap</CODE></A> with <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang"><CODE>Integer</CODE></A> keys equal to the SeObjectId.longValue() of each <CODE>SeRasterBand</CODE> which is to be read. Values for each key should be the integer value of the band in the output image to which the given SeRasterBand should be copied.<br/><br/>For example, if your ArcSDE Raster contains four bands with SeRasterBand.getId().longValue()s of 234,235,236 and 237, and you wish to map those bands to the R,G,B and A bands in your ARGB image, you should create a map as follows:<br/> Map m = new HashMap();<br/> m.put(new Integer(234), new Integer(1));<br/> m.put(new Integer(234), new Integer(2));<br/> m.put(new Integer(234), new Integer(3));<br/> m.put(new Integer(234), new Integer(0));<br/> <br/> Note that the band indexes you choose will depend on the type of BufferedImage you're writing to. A BufferedImage of type BufferedImage.TYPE_INT_ARGB has its bands in the order "Alpha (0), Red (1), Green (2), Blue (3)". A BufferedImage of type BufferedImage.TYPE_3BYTE_BGR has its bands in the order "Blue (0), Green (1), Red (2)".<br/> </li> <li>A (possibly null) <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/BufferedImage.html" title="class or interface in java.awt.image"><CODE>BufferedImage</CODE></A>, passed in via the 'setDestination()' method. Make sure your bandmapper and this image contain the same number of bands, and that you've mapped your output appropriately.<br/> <i><b>If you leave this parameter null, a BufferedImage.TYPE_INT_ARGB will be created, of exactly the size to cover your requested source region</b></i></li> <li>An int[] of requested source bands from ArcSDE, set via setSourceBands(). ArcSDE expects the int[] to have the same size as the number of bands you're requesting. The first band should be numbered '1', the second '2', etc. So, to request the second, third and fourth bands in a raster, use a setSourceBands() call like the following:<br/> param.setSourceBands(new int[] { 2, 3, 4 });<br/> <b>A source band with the value of zero won't work! start with 1!</b> </li> <li>A <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Rectangle.html" title="class or interface in java.awt"><CODE>Rectangle</CODE></A> defining the source area of the raster level you wish to render. This is expressed as though the entire raster level was one big seamless image of size wxh, with the origin in the upper left corner. So, to request a tiny bit of the raster level, simply set your sourceRegion accordingly and only the proper bit of the raster will be loaded.</li> </ul><P><P><DL><DT><B>Author:</B></DT>  <DD>sfarber</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></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/util/HashMap.html" title="class or interface in java.util">HashMap</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/arcsde/gce/imageio/ArcSDERasterImageReadParam.html#bandMapper">bandMapper</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="../../../../../org/geotools/arcsde/pool/ArcSDEPooledConnection.html" title="class in org.geotools.arcsde.pool">ArcSDEPooledConnection</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/arcsde/gce/imageio/ArcSDERasterImageReadParam.html#connection">connection</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_ImageReadParam"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html" title="class or interface in javax.imageio">ImageReadParam</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html#canSetSourceRenderSize" title="class or interface in javax.imageio">canSetSourceRenderSize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html#destination" title="class or interface in javax.imageio">destination</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html#destinationBands" title="class or interface in javax.imageio">destinationBands</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html#minProgressivePass" title="class or interface in javax.imageio">minProgressivePass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html#numProgressivePasses" title="class or interface in javax.imageio">numProgressivePasses</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html#sourceRenderSize" title="class or interface in javax.imageio">sourceRenderSize</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_IIOParam"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html" title="class or interface in javax.imageio">IIOParam</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html#controller" title="class or interface in javax.imageio">controller</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html#defaultController" title="class or interface in javax.imageio">defaultController</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html#destinationOffset" title="class or interface in javax.imageio">destinationOffset</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html#destinationType" title="class or interface in javax.imageio">destinationType</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html#sourceBands" title="class or interface in javax.imageio">sourceBands</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html#sourceRegion" title="class or interface in javax.imageio">sourceRegion</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html#sourceXSubsampling" title="class or interface in javax.imageio">sourceXSubsampling</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html#sourceYSubsampling" title="class or interface in javax.imageio">sourceYSubsampling</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html#subsamplingXOffset" title="class or interface in javax.imageio">subsamplingXOffset</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html#subsamplingYOffset" title="class or interface in javax.imageio">subsamplingYOffset</A></CODE></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/arcsde/gce/imageio/ArcSDERasterImageReadParam.html#ArcSDERasterImageReadParam()">ArcSDERasterImageReadParam</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>

⌨️ 快捷键说明

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