Java Doc for TransformedCoverage.java in  » GIS » GeoTools-2.4.1 » org » geotools » coverage » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.coverage 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.coverage.AbstractCoverage
   org.geotools.coverage.TransformedCoverage

TransformedCoverage
public class TransformedCoverage extends AbstractCoverage (Code)
A coverage wrapping an other one with a different coordinate reference system. The coordinate transformation is applied on the fly every time an evaluate method is invoked. It may be efficient if few points are queried, but become ineficient if a large amount of points is queried. In the later case, consider reprojecting the whole grid coverage instead.

Note: This class is not thread safe for performance reasons. If desired, users should create one instance of TransformedCoverage for each thread.
version:
   $Id: TransformedCoverage.java 25050 2007-04-06 00:41:49Z jgarnett $
author:
   Martin Desruisseaux
since:
   2.1


Field Summary
final protected  Coveragecoverage
     The wrapped coverage.

Constructor Summary
protected  TransformedCoverage(CharSequence name, CoordinateReferenceSystem crs, Coverage coverage)
     Creates a new coverage wrapping the specified one.

Method Summary
final public  Objectevaluate(DirectPosition coord)
     Returns the value vector for a given point in the coverage.
final public  boolean[]evaluate(DirectPosition coord, boolean[] dest)
     Returns a sequence of boolean values for a given point in the coverage.
final public  byte[]evaluate(DirectPosition coord, byte[] dest)
     Returns a sequence of byte values for a given point in the coverage.
final public  int[]evaluate(DirectPosition coord, int[] dest)
     Returns a sequence of integer values for a given point in the coverage.
final public  float[]evaluate(DirectPosition coord, float[] dest)
     Returns a sequence of float values for a given point in the coverage.
final public  double[]evaluate(DirectPosition coord, double[] dest)
     Returns a sequence of double values for a given point in the coverage.
public  EnvelopegetEnvelope()
     Returns the envelope.
public  intgetNumSampleDimensions()
     The number of sample dimensions in the coverage.
public  SampleDimensiongetSampleDimension(int index)
     Retrieve sample dimension information for the coverage.
Parameters:
  index - Index for sample dimension to retrieve.
public static  Coveragereproject(CharSequence name, CoordinateReferenceSystem crs, Coverage coverage)
     Creates a new coverage wrapping the specified one with a different CRS. If the specified coverage already uses the specified CRS (or an equivalent one), it is returned unchanged.
Parameters:
  name - The name for this new coverage.
Parameters:
  crs - The crs for this coverage.
Parameters:
  coverage - The coverage to wraps.

Field Detail
coverage
final protected Coverage coverage(Code)
The wrapped coverage.




Constructor Detail
TransformedCoverage
protected TransformedCoverage(CharSequence name, CoordinateReferenceSystem crs, Coverage coverage) throws FactoryException(Code)
Creates a new coverage wrapping the specified one.
Parameters:
  name - The name for this new coverage.
Parameters:
  crs - The crs for this coverage.
Parameters:
  coverage - The coverage to wraps.
throws:
  FactoryException - if no transformation can be found from the coverage CRS to thespecified CRS.




Method Detail
evaluate
final public Object evaluate(DirectPosition coord) throws CannotEvaluateException(Code)
Returns the value vector for a given point in the coverage.
Parameters:
  coord - The coordinate point where to evaluate.
throws:
  PointOutsideCoverageException - if coord is outside coverage.
throws:
  CannotEvaluateException - if the computation failed for some other reason.



evaluate
final public boolean[] evaluate(DirectPosition coord, boolean[] dest) throws CannotEvaluateException(Code)
Returns a sequence of boolean values for a given point in the coverage.



evaluate
final public byte[] evaluate(DirectPosition coord, byte[] dest) throws CannotEvaluateException(Code)
Returns a sequence of byte values for a given point in the coverage.



evaluate
final public int[] evaluate(DirectPosition coord, int[] dest) throws CannotEvaluateException(Code)
Returns a sequence of integer values for a given point in the coverage.



evaluate
final public float[] evaluate(DirectPosition coord, float[] dest) throws CannotEvaluateException(Code)
Returns a sequence of float values for a given point in the coverage.



evaluate
final public double[] evaluate(DirectPosition coord, double[] dest) throws CannotEvaluateException(Code)
Returns a sequence of double values for a given point in the coverage.



getEnvelope
public Envelope getEnvelope()(Code)
Returns the envelope.



getNumSampleDimensions
public int getNumSampleDimensions()(Code)
The number of sample dimensions in the coverage. For grid coverages, a sample dimension is a band. The number of sample dimensions in the coverage.



getSampleDimension
public SampleDimension getSampleDimension(int index) throws IndexOutOfBoundsException(Code)
Retrieve sample dimension information for the coverage.
Parameters:
  index - Index for sample dimension to retrieve. Indices are numbered 0 to(-1). Sample dimension information for the coverage.
throws:
  IndexOutOfBoundsException - if index is out of bounds.



reproject
public static Coverage reproject(CharSequence name, CoordinateReferenceSystem crs, Coverage coverage) throws FactoryException(Code)
Creates a new coverage wrapping the specified one with a different CRS. If the specified coverage already uses the specified CRS (or an equivalent one), it is returned unchanged.
Parameters:
  name - The name for this new coverage.
Parameters:
  crs - The crs for this coverage.
Parameters:
  coverage - The coverage to wraps. A coverage using the specified CRS.
throws:
  FactoryException - if no transformation can be found from the coverage CRS to thespecified CRS.



Fields inherited from org.geotools.coverage.AbstractCoverage
final protected CoordinateReferenceSystem crs(Code)(Java Doc)

Methods inherited from org.geotools.coverage.AbstractCoverage
public boolean dispose(boolean force)(Code)(Java Doc)
public void dispose()(Code)(Java Doc)
public Set evaluate(DirectPosition coord, Set list)(Code)(Java Doc)
public boolean[] evaluate(DirectPosition coord, boolean[] dest) throws CannotEvaluateException(Code)(Java Doc)
public byte[] evaluate(DirectPosition coord, byte[] dest) throws CannotEvaluateException(Code)(Java Doc)
public int[] evaluate(DirectPosition coord, int[] dest) throws CannotEvaluateException(Code)(Java Doc)
public float[] evaluate(DirectPosition coord, float[] dest) throws CannotEvaluateException(Code)(Java Doc)
public double[] evaluate(DirectPosition coord, double[] dest) throws CannotEvaluateException(Code)(Java Doc)
public Set evaluateInverse(Record v)(Code)(Java Doc)
public List find(DirectPosition p, int limit)(Code)(Java Doc)
public GeometryValuePair find(DirectPosition p)(Code)(Java Doc)
public CommonPointRule getCommonPointRule()(Code)(Java Doc)
public CoordinateReferenceSystem getCoordinateReferenceSystem()(Code)(Java Doc)
final public int getDimension()(Code)(Java Doc)
public InternationalString[] getDimensionNames()(Code)(Java Doc)
final public String[] getDimensionNames(Locale locale)(Code)(Java Doc)
public Set getDomainElements()(Code)(Java Doc)
public Set getDomainExtents()(Code)(Java Doc)
public Envelope getEnvelope()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public String[] getMetadataNames()(Code)(Java Doc)
public String getMetadataValue(String name) throws MetadataNameNotFoundException(Code)(Java Doc)
public InternationalString getName()(Code)(Java Doc)
public Set getRangeElements()(Code)(Java Doc)
public RecordType getRangeType()(Code)(Java Doc)
public RenderableImage getRenderableImage(int xAxis, int yAxis)(Code)(Java Doc)
public List getSources()(Code)(Java Doc)
public Set list()(Code)(Java Doc)
public Set select(Geometry arg0, Period arg1)(Code)(Java Doc)
public void show(int xAxis, int yAxis)(Code)(Java Doc)
public void show(String title, int xAxis, int yAxis)(Code)(Java Doc)
public void show(String title)(Code)(Java Doc)
public void show()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.