Java Doc for AbstractGridCoverage.java in  » GIS » GeoTools-2.4.1 » org » geotools » coverage » grid » 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.grid 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.coverage.AbstractCoverage
   org.geotools.coverage.grid.AbstractGridCoverage

All known Subclasses:   org.geotools.coverage.grid.GridCoverage2D,
AbstractGridCoverage
abstract public class AbstractGridCoverage extends AbstractCoverage implements GridCoverage(Code)
Base class for Geotools implementation of grid coverage.
since:
   2.1
version:
   $Id: AbstractGridCoverage.java 27862 2007-11-12 19:51:19Z desruisseaux $
author:
   Martin Desruisseaux


Field Summary
final public static  LoggerLOGGER
     The logger for grid coverage operations.

Constructor Summary
protected  AbstractGridCoverage(CharSequence name, CoordinateReferenceSystem crs, PropertySource source, Map properties)
     Constructs a grid coverage using the specified coordinate reference system.
protected  AbstractGridCoverage(CharSequence name, CoordinateReferenceSystem crs, GridCoverage[] sources, PropertySource source, Map properties)
     Constructs a grid coverage with sources.
protected  AbstractGridCoverage(CharSequence name, GridCoverage coverage)
     Constructs a new coverage with the same parameters than the specified coverage.

Method Summary
public  boolean[]getDataBlock(GridRange range, boolean[] destination)
     Returns a sequence of byte values for a block.
public  byte[]getDataBlock(GridRange range, byte[] destination)
     Returns a sequence of byte values for a block.
public  short[]getDataBlock(GridRange range, short[] destination)
     Returns a sequence of short values for a block.
public  int[]getDataBlock(GridRange range, int[] destination)
     Returns a sequence of integer values for a block.
public  float[]getDataBlock(GridRange range, float[] destination)
     Returns a sequence of float values for a block.
public  double[]getDataBlock(GridRange range, double[] destination)
     Returns a sequence of double values for a block.
public  GridPackinggetGridPacking()
     Returns information for the packing of grid coverage values.
public  intgetNumOverviews()
     Returns the number of predetermined overviews for the grid.
public  GridCoveragegetOverview(int index)
     Returns a pre-calculated overview for a grid coverage.
public  GridGeometrygetOverviewGridGeometry(int index)
     Returns the grid geometry for an overview.
public  byte[]getPackedDataBlock(GridRange range)
     Returns a block of grid coverage data for all sample dimensions.
public  ListgetSources()
     Returns the source data for a grid coverage.
public  booleanisDataEditable()
     Returns true if grid data can be edited.
protected  StringpointOutsideCoverage(Point2D point)
     Constructs an error message for a point outside the coverage. This is used for formatting error messages.
Parameters:
  point - The coordinate point to format.
protected  StringpointOutsideCoverage(DirectPosition point)
     Constructs an error message for a point outside the coverage. This is used for formatting error messages.
Parameters:
  point - The coordinate point to format.
public  voidsetDataBlock(GridRange gridRange, boolean[] values)
     Set a block of values for all sample dimensions.
public  voidsetDataBlock(GridRange gridRange, byte[] values)
     Set a block of values for all sample dimensions.
public  voidsetDataBlock(GridRange gridRange, short[] values)
     Set a block of values for all sample dimensions.
public  voidsetDataBlock(GridRange gridRange, int[] values)
     Set a block of values for all sample dimensions.
public  voidsetDataBlock(GridRange gridRange, float[] values)
     Set a block of values for all sample dimensions.
public  voidsetDataBlock(GridRange gridRange, double[] values)
     Set a block of values for all sample dimensions.
public  voidsetPackedDataBlock(GridRange gridRange, byte[] values)
     Set a block of values for all sample dimensions.
static  StringtoString(Point2D point, Locale locale)
     Constructs a string for the specified point. This is used for formatting error messages.
Parameters:
  point - The coordinate point to format.
Parameters:
  locale - The locale for formatting numbers.
static  StringtoString(DirectPosition point, Locale locale)
     Constructs a string for the specified point. This is used for formatting error messages.
Parameters:
  point - The coordinate point to format.
Parameters:
  locale - The locale for formatting numbers.

Field Detail
LOGGER
final public static Logger LOGGER(Code)
The logger for grid coverage operations.




Constructor Detail
AbstractGridCoverage
protected AbstractGridCoverage(CharSequence name, CoordinateReferenceSystem crs, PropertySource source, Map properties)(Code)
Constructs a grid coverage using the specified coordinate reference system. If the coordinate reference system is null , then the subclasses must override AbstractGridCoverage.getDimension() .
Parameters:
  name - The grid coverage name.
Parameters:
  crs - The coordinate reference system. This specifies the coordinatesystem used when accessing a coverage or grid coverage with the evaluate(...) methods.
Parameters:
  source - The source for this coverage, or null if none.Source may be (but is not limited to) a PlanarImage or another AbstractGridCoverage object.
Parameters:
  properties - The set of properties for this coverage, or null if there is none."Properties" in Java Advanced Imaging is what OpenGIS calls "Metadata".Keys are String objects (CaselessStringKey are accepted as well),while values may be any Object.



AbstractGridCoverage
protected AbstractGridCoverage(CharSequence name, CoordinateReferenceSystem crs, GridCoverage[] sources, PropertySource source, Map properties)(Code)
Constructs a grid coverage with sources. Arguments are the same than for the , with an additional sources argument.
Parameters:
  name - The grid coverage name.
Parameters:
  crs - The coordinate reference system.
Parameters:
  sources - The for a grid coverage,or null if none.
Parameters:
  source - The source for properties for this coverage, or null if none.
Parameters:
  properties - Set of additional properties for this coverage, or null if thereis none.



AbstractGridCoverage
protected AbstractGridCoverage(CharSequence name, GridCoverage coverage)(Code)
Constructs a new coverage with the same parameters than the specified coverage.
Parameters:
  name - The name for this coverage, or null for the same than coverage .
Parameters:
  coverage - The source coverage.




Method Detail
getDataBlock
public boolean[] getDataBlock(GridRange range, boolean[] destination) throws InvalidRangeException, ArrayIndexOutOfBoundsException(Code)
Returns a sequence of byte values for a block. The default implementation throws an UnsupportedOperationException . We don't know at this time if and when this method will be implemented, since the API is going to change when we will shift to ISO 19123.



getDataBlock
public byte[] getDataBlock(GridRange range, byte[] destination) throws InvalidRangeException, ArrayIndexOutOfBoundsException(Code)
Returns a sequence of byte values for a block. The default implementation throws an UnsupportedOperationException . We don't know at this time if and when this method will be implemented, since the API is going to change when we will shift to ISO 19123.



getDataBlock
public short[] getDataBlock(GridRange range, short[] destination) throws InvalidRangeException, ArrayIndexOutOfBoundsException(Code)
Returns a sequence of short values for a block. The default implementation throws an UnsupportedOperationException . We don't know at this time if and when this method will be implemented, since the API is going to change when we will shift to ISO 19123.



getDataBlock
public int[] getDataBlock(GridRange range, int[] destination) throws InvalidRangeException, ArrayIndexOutOfBoundsException(Code)
Returns a sequence of integer values for a block. The default implementation throws an UnsupportedOperationException . We don't know at this time if and when this method will be implemented, since the API is going to change when we will shift to ISO 19123.



getDataBlock
public float[] getDataBlock(GridRange range, float[] destination) throws InvalidRangeException, ArrayIndexOutOfBoundsException(Code)
Returns a sequence of float values for a block. The default implementation throws an UnsupportedOperationException . We don't know at this time if and when this method will be implemented, since the API is going to change when we will shift to ISO 19123.



getDataBlock
public double[] getDataBlock(GridRange range, double[] destination) throws InvalidRangeException, ArrayIndexOutOfBoundsException(Code)
Returns a sequence of double values for a block. The default implementation throws an UnsupportedOperationException . We don't know at this time if and when this method will be implemented, since the API is going to change when we will shift to ISO 19123.



getGridPacking
public GridPacking getGridPacking()(Code)
Returns information for the packing of grid coverage values. The default implementation throws an UnsupportedOperationException . We don't know at this time if and when this method will be implemented, since the API is going to change when we will shift to ISO 19123.



getNumOverviews
public int getNumOverviews()(Code)
Returns the number of predetermined overviews for the grid. The default implementation returns 0.



getOverview
public GridCoverage getOverview(int index) throws IndexOutOfBoundsException(Code)
Returns a pre-calculated overview for a grid coverage. The default implementation always throws an exception, since the default is 0.
throws:
  IndexOutOfBoundsException - if the specified index is out of bounds.



getOverviewGridGeometry
public GridGeometry getOverviewGridGeometry(int index) throws IndexOutOfBoundsException(Code)
Returns the grid geometry for an overview. The default implementation always throws an exception, since the default is 0.
throws:
  IndexOutOfBoundsException - if the specified index is out of bounds.



getPackedDataBlock
public byte[] getPackedDataBlock(GridRange range) throws InvalidRangeException(Code)
Returns a block of grid coverage data for all sample dimensions. The default implementation throws an UnsupportedOperationException . We don't know at this time if and when this method will be implemented, since the API is going to change when we will shift to ISO 19123.



getSources
public List getSources()(Code)
Returns the source data for a grid coverage. If the GridCoverage was produced from an underlying dataset, the returned list is an empty list. If the GridCoverage was produced using org.opengis.coverage.grid.GridCoverageProcessor , then it should return the source grid coverage of the one used as input to GridCoverageProcessor . In general the getSources() method is intended to return the original GridCoverage on which it depends. This is intended to allow applications to establish what GridCoverage s will be affected when others are updated, as well as to trace back to the "raw data".



isDataEditable
public boolean isDataEditable()(Code)
Returns true if grid data can be edited. The default implementation returns false .



pointOutsideCoverage
protected String pointOutsideCoverage(Point2D point)(Code)
Constructs an error message for a point outside the coverage. This is used for formatting error messages.
Parameters:
  point - The coordinate point to format. An error message.



pointOutsideCoverage
protected String pointOutsideCoverage(DirectPosition point)(Code)
Constructs an error message for a point outside the coverage. This is used for formatting error messages.
Parameters:
  point - The coordinate point to format. An error message.



setDataBlock
public void setDataBlock(GridRange gridRange, boolean[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)
Set a block of values for all sample dimensions. The default implementation always throws an exception, since this grid coverage is not editable by default.



setDataBlock
public void setDataBlock(GridRange gridRange, byte[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)
Set a block of values for all sample dimensions. The default implementation always throws an exception, since this grid coverage is not editable by default.



setDataBlock
public void setDataBlock(GridRange gridRange, short[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)
Set a block of values for all sample dimensions. The default implementation always throws an exception, since this grid coverage is not editable by default.



setDataBlock
public void setDataBlock(GridRange gridRange, int[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)
Set a block of values for all sample dimensions. The default implementation always throws an exception, since this grid coverage is not editable by default.



setDataBlock
public void setDataBlock(GridRange gridRange, float[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)
Set a block of values for all sample dimensions. The default implementation always throws an exception, since this grid coverage is not editable by default.



setDataBlock
public void setDataBlock(GridRange gridRange, double[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)
Set a block of values for all sample dimensions. The default implementation always throws an exception, since this grid coverage is not editable by default.



setPackedDataBlock
public void setPackedDataBlock(GridRange gridRange, byte[] values) throws InvalidRangeException, GridNotEditableException, ArrayIndexOutOfBoundsException(Code)
Set a block of values for all sample dimensions. The default implementation always throws an exception, since this grid coverage is not editable by default. byte[] byte[]



toString
static String toString(Point2D point, Locale locale)(Code)
Constructs a string for the specified point. This is used for formatting error messages.
Parameters:
  point - The coordinate point to format.
Parameters:
  locale - The locale for formatting numbers. The coordinate point as a string, without '(' or ')' characters.



toString
static String toString(DirectPosition point, Locale locale)(Code)
Constructs a string for the specified point. This is used for formatting error messages.
Parameters:
  point - The coordinate point to format.
Parameters:
  locale - The locale for formatting numbers. The coordinate point as a string, without '(' or ')' characters.



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.