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


java.lang.Object
   org.geotools.coverage.grid.io.AbstractGridCoverage2DReader
      org.geotools.gce.imagepyramid.ImagePyramidReader

ImagePyramidReader
final public class ImagePyramidReader extends AbstractGridCoverage2DReader implements GridCoverageReader(Code)
This reader is repsonsible for providing access to a pyramid of mosaics of georeferenced coverages that are read directly through imageio readers, like tiff, pngs, etc...

Specifically this plugin relies on the image mosaic plugin to handle each single level of resolutions avaible, hence all the magic is done inside the mosaic plugin.

For information on how to build a mosaic, please refere to the ImageMosaicReader documentation.

If you are looking for information on how to create a pyramid, here you go. The pyramid itself does no magic. All the magic is performed by the single mosaic readers that are polled depending on the requeste resolution levels. Therefore the first step is having a mosaic of images like geotiff, tiff, jpeg, or png which is going to be the base for te pyramid.

The second step is to build the next (lower resolution) levels for the pyramid.
If you look inside the spike dire of the geotools project you will find a (growing) set of tools that can be used for doing processing on coverages.
Specifically there is one tool called PyramidBuilder that can be used to build the pyramid level by level.

Last step is providing a prj file with the projection of the pyramid (btw all the levels has to be in the same projection) as well as a properties file with this structure:

 #
 #Mon Aug 21 22:23:27 CEST 2006
 #name of the coverage
 Name=ikonos
 #different resolution levels available
 Levels=1.2218682749859724E-5,9.220132503102996E-6 2.4428817977683634E-5,1.844026500620314E-5 4.8840552865873626E-5,3.686350299024973E-5 9.781791400307775E-5,7.372700598049946E-5 1.956358280061555E-4,1.4786360643866836E-4 3.901787184256844E-4,2.9572721287731037E-4
 #where all the levels reside
 LevelsDirs=0 2 4 8 16 32
 #number of levels availaible
 LevelsNum=6
 #envelope for this pyramid
 Envelope2D=13.398228477973406,43.591366397808976 13.537912459169803,43.67121274528585
 

author:
   Simone Giannecchini
since:
   2.3



Constructor Summary
public  ImagePyramidReader(Object source, Hints uHints)
     Constructor for an ImagePyramidReader .
public  ImagePyramidReader(Object source)
     Constructor for an ImagePyramidReader .

Method Summary
public  voiddispose()
    
public  FormatgetFormat()
    
public  GridCoverageread(GeneralParameterValue[] params)
    


Constructor Detail
ImagePyramidReader
public ImagePyramidReader(Object source, Hints uHints) throws IOException(Code)
Constructor for an ImagePyramidReader .
Parameters:
  source - The source object.
Parameters:
  uHints - Hints to control the behaviour of this reader.
throws:
  IOException -
throws:
  UnsupportedEncodingException -



ImagePyramidReader
public ImagePyramidReader(Object source) throws IOException(Code)
Constructor for an ImagePyramidReader .
Parameters:
  source - The source object.
throws:
  IOException -
throws:
  UnsupportedEncodingException -




Method Detail
dispose
public void dispose()(Code)



getFormat
public Format getFormat()(Code)



read
public GridCoverage read(GeneralParameterValue[] params) throws IOException(Code)



Fields inherited from org.geotools.coverage.grid.io.AbstractGridCoverage2DReader
final protected static double EPS(Code)(Java Doc)
protected boolean closeMe(Code)(Java Doc)
final protected static GridCoverageFactory coverageFactory(Code)(Java Doc)
protected String coverageName(Code)(Java Doc)
protected CoordinateReferenceSystem crs(Code)(Java Doc)
final protected static Color[] demColors(Code)(Java Doc)
protected boolean gzipped(Code)(Java Doc)
protected double[] highestRes(Code)(Java Doc)
protected Hints hints(Code)(Java Doc)
protected ImageInputStream inStream(Code)(Java Doc)
protected volatile int numOverviews(Code)(Java Doc)
final protected static CoordinateOperationFactory operationFactory(Code)(Java Doc)
protected GeneralEnvelope originalEnvelope(Code)(Java Doc)
protected GeneralGridRange originalGridRange(Code)(Java Doc)
protected double[][] overViewResolutions(Code)(Java Doc)
protected MathTransform raster2Model(Code)(Java Doc)
protected Object source(Code)(Java Doc)

Methods inherited from org.geotools.coverage.grid.io.AbstractGridCoverage2DReader
final protected GridCoverage createImageCoverage(PlanarImage image) throws IOException(Code)(Java Doc)
final protected GridCoverage createImageCoverage(PlanarImage image, MathTransform raster2Model) throws IOException(Code)(Java Doc)
final protected void decimationOnReadingControl(Integer imageChoice, ImageReadParam readP, double[] requestedRes)(Code)(Java Doc)
public void dispose()(Code)(Java Doc)
final public CoordinateReferenceSystem getCrs()(Code)(Java Doc)
public String getCurrentSubname()(Code)(Java Doc)
public int getGridCoverageCount()(Code)(Java Doc)
public String[] getMetadataNames()(Code)(Java Doc)
public String getMetadataValue(String name) throws MetadataNameNotFoundException(Code)(Java Doc)
final public GeneralEnvelope getOriginalEnvelope()(Code)(Java Doc)
final public GeneralGridRange getOriginalGridRange()(Code)(Java Doc)
final protected double[] getResolution(GeneralEnvelope envelope, Rectangle2D dim, CoordinateReferenceSystem crs) throws DataSourceException(Code)(Java Doc)
final public Object getSource()(Code)(Java Doc)
public boolean hasMoreGridCoverages()(Code)(Java Doc)
final protected boolean isScaleTranslate(MathTransform transform)(Code)(Java Doc)
public String[] listSubNames()(Code)(Java Doc)
protected Integer setReadParams(ImageReadParam readP, GeneralEnvelope requestedEnvelope, Rectangle requestedDim) throws IOException, TransformException(Code)(Java Doc)
public void skip()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.