📄 reprojectfeatureresults.html
字号:
<!-- ========== 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> <A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/crs/ReprojectFeatureResults.html#collection()">collection</A></B>()</CODE><BR> Convert this set of results to a FeatureCollection. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/crs/ReprojectFeatureResults.html#getBounds()">getBounds</A></B>()</CODE><BR> This method computes reprojected bounds the hard way, but computing them feature by feature. </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/data/crs/ReprojectFeatureResults.html#getCount()">getCount</A></B>()</CODE><BR> Returns the number of Features in this FeatureResults. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/data/FeatureResults.html" title="interface in org.geotools.data">FeatureResults</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/crs/ReprojectFeatureResults.html#getOrigin()">getOrigin</A></B>()</CODE><BR> Returns the feature results wrapped by this reprojecting feature results</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/crs/ReprojectFeatureResults.html#getSchema()">getSchema</A></B>()</CODE><BR> Returns the FeatureType of the contents of this collection. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/data/FeatureReader.html" title="interface in org.geotools.data">FeatureReader</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/crs/ReprojectFeatureResults.html#reader()">reader</A></B>()</CODE><BR> Provides access to the Features, please note that FeatureReader is a blocking api.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_DataFeatureCollection"><!-- --></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/data/store/DataFeatureCollection.html" title="class in org.geotools.data.store">DataFeatureCollection</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#accepts(org.geotools.feature.visitor.FeatureVisitor, org.geotools.util.ProgressListener)">accepts</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#add(java.lang.Object)">add</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#addAll(java.util.Collection)">addAll</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#addListener(org.geotools.feature.CollectionListener)">addListener</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#clear()">clear</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#close(org.geotools.feature.FeatureIterator)">close</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#close(java.util.Iterator)">close</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#closeIterator(java.util.Iterator)">closeIterator</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#contains(java.lang.Object)">contains</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#containsAll(java.util.Collection)">containsAll</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#features()">features</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#fireChange(java.util.Collection, int)">fireChange</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#fireChange(org.geotools.feature.Feature[], int)">fireChange</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#fireChange(org.geotools.feature.Feature, int)">fireChange</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#getAttribute(int)">getAttribute</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#getAttribute(java.lang.String)">getAttribute</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#getAttributes(java.lang.Object[])">getAttributes</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#getDefaultGeometry()">getDefaultGeometry</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#getFeatureType()">getFeatureType</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#getID()">getID</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#getNumberOfAttributes()">getNumberOfAttributes</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#getParent()">getParent</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#isEmpty()">isEmpty</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#iterator()">iterator</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#openIterator()">openIterator</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#purge()">purge</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#remove(java.lang.Object)">remove</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#removeAll(java.util.Collection)">removeAll</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#removeListener(org.geotools.feature.CollectionListener)">removeListener</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#retainAll(java.util.Collection)">retainAll</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#setAttribute(int, java.lang.Object)">setAttribute</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#setAttribute(java.lang.String, java.lang.Object)">setAttribute</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#setDefaultGeometry(com.vividsolutions.jts.geom.Geometry)">setDefaultGeometry</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#setParent(org.geotools.feature.FeatureCollection)">setParent</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#size()">size</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#sort(org.geotools.filter.SortBy)">sort</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#sort(org.geotools.filter.SortBy2)">sort</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#subCollection(org.geotools.filter.Filter)">subCollection</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#toArray()">toArray</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#toArray(java.lang.Object[])">toArray</A>, <A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#writer()">writer</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#toString()" title="class or interface in java.lang">toString</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_Collection"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html#equals(java.lang.Object)" title="class or interface in java.util">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html#hashCode()" title="class or interface in java.util">hashCode</A></CODE></TD></TR></TABLE> <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="ReprojectFeatureResults(org.geotools.data.FeatureResults, org.opengis.referencing.crs.CoordinateReferenceSystem)"><!-- --></A><H3>ReprojectFeatureResults</H3><PRE>public <B>ReprojectFeatureResults</B>(<A HREF="../../../../org/geotools/data/FeatureResults.html" title="interface in org.geotools.data">FeatureResults</A> results, CoordinateReferenceSystem destinationCS) 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>, <A HREF="../../../../org/geotools/feature/SchemaException.html" title="class in org.geotools.feature">SchemaException</A>, TransformException, OperationNotFoundException, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/NoSuchElementException.html" title="class or interface in java.util">NoSuchElementException</A>, FactoryException</PRE><DL><DD>Creates a new reprojecting feature results<P><DT><B>Parameters:</B><DD><CODE>results</CODE> - <DD><CODE>destinationCS</CODE> - <DT><B>Throws:</B><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><DD><CODE><A HREF="../../../../org/geotools/feature/SchemaException.html" title="class in org.geotools.feature">SchemaException</A></CODE><DD><CODE>TransformException</CODE><DD><CODE>FactoryException</CODE><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/NoSuchElementException.html" title="class or interface in java.util">NoSuchElementException</A></CODE><DD><CODE>OperationNotFoundException</CODE><DD><CODE>CannotCreateTransformException</CODE><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - DOCUMENT ME!<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE></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="getSchema()"><!-- --></A><H3>getSchema</H3><PRE>public <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> <B>getSchema</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/FeatureResults.html" title="interface in org.geotools.data">FeatureResults</A></CODE></B></DD><DD>Returns the FeatureType of the contents of this collection. <p> Please note that for a collection with a mixed contents the FeatureType may be degenerate (ie very generic). For many applications (like shapefiles or tables) the FeatureType can safely be used to describe all the Features in the result set. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureResults.html#getSchema()">getSchema</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureResults.html" title="interface in org.geotools.data">FeatureResults</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#getSchema()">getSchema</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html" title="class in org.geotools.data.store">DataFeatureCollection</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureResults.html#getSchema()"><CODE>FeatureResults.getSchema()</CODE></A></DL></DD></DL><HR><A NAME="reader()"><!-- --></A><H3>reader</H3><PRE>public <A HREF="../../../../org/geotools/data/FeatureReader.html" title="interface in org.geotools.data">FeatureReader</A> <B>reader</B>() 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><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/FeatureResults.html" title="interface in org.geotools.data">FeatureResults</A></CODE></B></DD><DD>Provides access to the Features, please note that FeatureReader is a blocking api.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureResults.html#reader()">reader</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureResults.html" title="interface in org.geotools.data">FeatureResults</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html#reader()">reader</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/store/DataFeatureCollection.html" title="class in org.geotools.data.store">DataFeatureCollection</A></CODE></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -