geotiffiiometadataencoder.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 1,115 行 · 第 1/3 页
HTML
1,115 行
<!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:36 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>GeoTiffIIOMetadataEncoder (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.gce.geotiff.IIOMetadataAdpaters.GeoTiffIIOMetadataEncoder class"><META NAME="keywords" CONTENT="isTiffUShort()"><META NAME="keywords" CONTENT="getGeoTIFFVersion()"><META NAME="keywords" CONTENT="setGeoTIFFVersion()"><META NAME="keywords" CONTENT="getKeyRevisionMajor()"><META NAME="keywords" CONTENT="getKeyRevisionMinor()"><META NAME="keywords" CONTENT="setKeyRevision()"><META NAME="keywords" CONTENT="getModelPixelScaleX()"><META NAME="keywords" CONTENT="getModelPixelScaleY()"><META NAME="keywords" CONTENT="getModelPixelScaleZ()"><META NAME="keywords" CONTENT="setModelPixelScale()"><META NAME="keywords" CONTENT="getNumModelTiePoints()"><META NAME="keywords" CONTENT="getModelTiePoint()"><META NAME="keywords" CONTENT="getModelTiePointAt()"><META NAME="keywords" CONTENT="setModelTiePoint()"><META NAME="keywords" CONTENT="addModelTiePoint()"><META NAME="keywords" CONTENT="getNumGeoKeyEntries()"><META NAME="keywords" CONTENT="getGeoKeyEntryAt()"><META NAME="keywords" CONTENT="getGeoKeyEntry()"><META NAME="keywords" CONTENT="hasGeoKeyEntry()"><META NAME="keywords" CONTENT="getGeoShortParam()"><META NAME="keywords" CONTENT="getGeoDoubleParam()"><META NAME="keywords" CONTENT="getGeoDoubleParams()"><META NAME="keywords" CONTENT="getGeoAsciiParam()"><META NAME="keywords" CONTENT="addGeoShortParam()"><META NAME="keywords" CONTENT="addGeoDoubleParam()"><META NAME="keywords" CONTENT="addGeoDoubleParams()"><META NAME="keywords" CONTENT="addGeoAscii()"><META NAME="keywords" CONTENT="assignTo()"><META NAME="keywords" CONTENT="createRootTree()"><META NAME="keywords" CONTENT="getGeoKeyDirectoryTag()"><META NAME="keywords" CONTENT="getGeoDoubleParamsTag()"><META NAME="keywords" CONTENT="getGeoAsciiParamsTag()"><META NAME="keywords" CONTENT="getModelPixelScaleTag()"><META NAME="keywords" CONTENT="getModelTiePointTag()"><META NAME="keywords" CONTENT="getModelTransformationTag()"><META NAME="keywords" CONTENT="setModelTransformation()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="GeoTiffIIOMetadataEncoder (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> </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/GeoTiffIIOMetadataEncoder.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"> <A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataDecoder.html" title="class in org.geotools.gce.geotiff.IIOMetadataAdpaters"><B>PREV CLASS</B></A> <A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/PixelScale.html" title="class in org.geotools.gce.geotiff.IIOMetadataAdpaters"><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="GeoTiffIIOMetadataEncoder.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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.gce.geotiff.IIOMetadataAdpaters</FONT><BR>Class GeoTiffIIOMetadataEncoder</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"><B>GeoTiffIIOMetadataEncoder</B></PRE><HR><DL><DT>public final class <B>GeoTiffIIOMetadataEncoder</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL><P>This class is responsible for encoding the geotiff tags into suitable metadata for the ImageIO library. <p> Basically it is and encoder/adapter that collects all the different tags, order it accordingly to the spec and then organize then into a dom tree ready to be used by the ImageIO metadata mechanism.<P><P><DL><DT><B>Since:</B></DT> <DD>2.3</DD><DT><B>Author:</B></DT> <DD>Simone Giannecchini</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== 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/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#GeoTiffIIOMetadataEncoder()">GeoTiffIIOMetadataEncoder</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#GeoTiffIIOMetadataEncoder(int, int, int)">GeoTiffIIOMetadataEncoder</A></B>(int geoTIFFVersion, int keyRevisionMajor, int keyRevisionMinor)</CODE><BR> </TD></TR></TABLE> <!-- ========== 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></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/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#addGeoAscii(int, java.lang.String)">addGeoAscii</A></B>(int keyID, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</CODE><BR> </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/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#addGeoDoubleParam(int, double)">addGeoDoubleParam</A></B>(int keyID, double value)</CODE><BR> </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/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#addGeoDoubleParams(int, double[])">addGeoDoubleParams</A></B>(int keyID, double[] values)</CODE><BR> </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/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#addGeoShortParam(int, int)">addGeoShortParam</A></B>(int keyID, int value)</CODE><BR> </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/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#addModelTiePoint(double, double, double, double)">addModelTiePoint</A></B>(double i, double j, double x, double y)</CODE><BR> </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/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#addModelTiePoint(double, double, double, double, double, double)">addModelTiePoint</A></B>(double i, double j, double k, double x, double y, double z)</CODE><BR> </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/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#assignTo(org.jdom.Element)">assignTo</A></B>(Element element)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> Element</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#createRootTree()">createRootTree</A></B>()</CODE><BR> </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/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getGeoAsciiParam(int)">getGeoAsciiParam</A></B>(int keyID)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static TIFFTag</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getGeoAsciiParamsTag()">getGeoAsciiParamsTag</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getGeoDoubleParam(int)">getGeoDoubleParam</A></B>(int keyID)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getGeoDoubleParams(int)">getGeoDoubleParams</A></B>(int keyID)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getGeoDoubleParams(int, double[])">getGeoDoubleParams</A></B>(int keyID, double[] values)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static TIFFTag</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getGeoDoubleParamsTag()">getGeoDoubleParamsTag</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static TIFFTag</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getGeoKeyDirectoryTag()">getGeoKeyDirectoryTag</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoKeyEntry.html" title="class in org.geotools.gce.geotiff.IIOMetadataAdpaters">GeoKeyEntry</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getGeoKeyEntry(int)">getGeoKeyEntry</A></B>(int keyID)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoKeyEntry.html" title="class in org.geotools.gce.geotiff.IIOMetadataAdpaters">GeoKeyEntry</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getGeoKeyEntryAt(int)">getGeoKeyEntryAt</A></B>(int index)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getGeoShortParam(int)">getGeoShortParam</A></B>(int keyID)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getGeoTIFFVersion()">getGeoTIFFVersion</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getKeyRevisionMajor()">getKeyRevisionMajor</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gce/geotiff/IIOMetadataAdpaters/GeoTiffIIOMetadataEncoder.html#getKeyRevisionMinor()">getKeyRevisionMinor</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?