Java Doc for WCSUtils.java in  » GIS » GeoServer » org » vfny » geoserver » util » 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 » GeoServer » org.vfny.geoserver.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.vfny.geoserver.util.WCSUtils

WCSUtils
public class WCSUtils (Code)

author:
   Simone Giannecchini, GeoSolutions
author:
   Alessio Fabiani, GeoSolutions




Method Summary
public static  CoveragebandSelect(Map params, GridCoverage coverage)
     Band Selecting
Chooses N from a grid coverage and copies their sample data to the destination grid coverage in the order specified.
public static  GridCoverage2Dcrop(Coverage coverage, GeneralEnvelope sourceEnvelope, CoordinateReferenceSystem sourceCRS, GeneralEnvelope destinationEnvelopeInSourceCRS, Boolean conserveEnvelope)
     Cropping
The crop operation is responsible for selecting geographic subareas of the source coverage.
public static  GridCoverage2DfilteredSubsample(GridCoverage2D gc, int scaleXInt, int scaleYInt, Interpolation interpolation, BorderExtender be)
     Subsampling the provided GridCoverage2D with the provided parameters.
public static  GridCoverage2Dinterpolate(GridCoverage2D coverage, Interpolation interpolation)
     Interpolating
Specifies the interpolation type to be used to interpolate values for points which fall between grid cells.
public static  GridCoverage2Dreproject(GridCoverage2D coverage, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Interpolation interpolation)
     Reprojecting
The new grid geometry can have a different coordinate reference system than the underlying grid geometry.
public static  GridCoverage2Dresample(GridCoverage2D gc, CoordinateReferenceSystem crs, Interpolation interpolation)
     Reprojecting the input coverage using the provided parameters.
public static  GridCoverage2Dscale(GridCoverage2D coverage, GridRange newGridRange, GridCoverage sourceCoverage, CoordinateReferenceSystem sourceCRS, GeneralEnvelope destinationEnvelopeInSourceCRS)
     Scaling
Let user to scale down to the EXACT needed resolution.
public static  GridCoverage2Dscale(double scaleX, double scaleY, float xTrans, float yTrans, Interpolation interpolation, BorderExtender be, GridCoverage2D gc)
     Scaling the input coverage using the provided parameters.



Method Detail
bandSelect
public static Coverage bandSelect(Map params, GridCoverage coverage) throws WcsException(Code)
Band Selecting
Chooses N from a grid coverage and copies their sample data to the destination grid coverage in the order specified. The "SampleDimensions" parameter specifies the source org.geotools.coverage.GridSampleDimension indices, and its size ( SampleDimensions.length ) determines the number of sample dimensions of the destination grid coverage. The destination coverage may have any number of sample dimensions, and a particular sample dimension of the source coverage may be repeated in the destination coverage by specifying it multiple times in the "SampleDimensions" parameter.
Parameters:
  params - Set
Parameters:
  coverage - GridCoverage Coverage
throws:
  WcsException -



crop
public static GridCoverage2D crop(Coverage coverage, GeneralEnvelope sourceEnvelope, CoordinateReferenceSystem sourceCRS, GeneralEnvelope destinationEnvelopeInSourceCRS, Boolean conserveEnvelope) throws WcsException(Code)
Cropping
The crop operation is responsible for selecting geographic subareas of the source coverage.
Parameters:
  coverage - Coverage
Parameters:
  sourceEnvelope - GeneralEnvelope
Parameters:
  sourceCRS - CoordinateReferenceSystem
Parameters:
  destinationEnvelopeInSourceCRS - GeneralEnvelope GridCoverage2D
throws:
  WcsException -



filteredSubsample
public static GridCoverage2D filteredSubsample(GridCoverage2D gc, int scaleXInt, int scaleYInt, Interpolation interpolation, BorderExtender be)(Code)
Subsampling the provided GridCoverage2D with the provided parameters.
Parameters:
  gc -
Parameters:
  scaleXInt -
Parameters:
  scaleYInt -
Parameters:
  interpolation -
Parameters:
  be -



interpolate
public static GridCoverage2D interpolate(GridCoverage2D coverage, Interpolation interpolation) throws WcsException(Code)
Interpolating
Specifies the interpolation type to be used to interpolate values for points which fall between grid cells. The default value is nearest neighbor. The new interpolation type operates on all sample dimensions. Possible values for type are: "NearestNeighbor" , "Bilinear" and "Bicubic" (the "Optimal" interpolation type is currently not supported).
Parameters:
  coverage - GridCoverage2D
Parameters:
  interpolation - Interpolation GridCoverage2D
throws:
  WcsException -



reproject
public static GridCoverage2D reproject(GridCoverage2D coverage, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Interpolation interpolation) throws WcsException(Code)
Reprojecting
The new grid geometry can have a different coordinate reference system than the underlying grid geometry. For example, a grid coverage can be reprojected from a geodetic coordinate reference system to Universal Transverse Mercator CRS.
Parameters:
  coverage - GridCoverage2D
Parameters:
  sourceCRS - CoordinateReferenceSystem
Parameters:
  targetCRS - CoordinateReferenceSystem GridCoverage2D
throws:
  WcsException -



resample
public static GridCoverage2D resample(GridCoverage2D gc, CoordinateReferenceSystem crs, Interpolation interpolation)(Code)
Reprojecting the input coverage using the provided parameters.
Parameters:
  gc -
Parameters:
  crs -
Parameters:
  interpolation -



scale
public static GridCoverage2D scale(GridCoverage2D coverage, GridRange newGridRange, GridCoverage sourceCoverage, CoordinateReferenceSystem sourceCRS, GeneralEnvelope destinationEnvelopeInSourceCRS)(Code)
Scaling
Let user to scale down to the EXACT needed resolution. This step does not prevent from having loaded an overview of the original image based on the requested scale.
Parameters:
  coverage - GridCoverage2D
Parameters:
  newGridRange - GridRange
Parameters:
  sourceCoverage - GridCoverage
Parameters:
  sourceCRS - CoordinateReferenceSystem
Parameters:
  destinationEnvelopeInSourceCRS - GridCoverage2D



scale
public static GridCoverage2D scale(double scaleX, double scaleY, float xTrans, float yTrans, Interpolation interpolation, BorderExtender be, GridCoverage2D gc)(Code)
Scaling the input coverage using the provided parameters.
Parameters:
  scaleX -
Parameters:
  scaleY -
Parameters:
  xTrans -
Parameters:
  yTrans -
Parameters:
  interpolation -
Parameters:
  be -
Parameters:
  gc -



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.