Statistics
| Revision:

root / trunk / libraries / libRaster / src / org / gvsig / raster / hierarchy / IRasterGeoOperations.java @ 13162

History | View | Annotate | Download (2.12 KB)

1
package org.gvsig.raster.hierarchy;
2

    
3
import java.awt.geom.AffineTransform;
4

    
5
import org.cresques.cts.IProjection;
6
import org.gvsig.raster.dataset.RasterDriverException;
7
import org.gvsig.raster.datastruct.Extent;
8

    
9
/**
10
 * Interfaz que representa operaciones de imagenes con georreferenciaci?n.
11
 * 
12
 * @author Nacho Brodin (nachobrodin@gmail.com)
13
 */
14
public interface IRasterGeoOperations extends IRasterOperations{
15
        /**
16
         * Valor en coordenadas reales de la posici?n m?xima en X
17
         * @return double
18
         */
19
        public double getMaxX();
20
        /**
21
         * Valor en coordenadas reales de la posici?n m?xima en Y
22
         * @return double
23
         */
24
        public double getMaxY();
25
        /**
26
         * Valor en coordenadas reales de la posici?n m?nima en X
27
         * @return double
28
         */
29
        public double getMinX();
30
        /**
31
         * Valor en coordenadas reales de la posici?n m?nima en Y
32
         * @return double
33
         */
34
        public double getMinY();
35
        /**
36
         * Ancho del raster en coordenadas del mundo real.
37
         * @return
38
         */
39
        public double getWCWidth();
40
        /**
41
         * Alto del raster en coordenadas del mundo real.
42
         * @return
43
         */
44
        public double getWCHeight();
45
        /**
46
         * Dice si el raster est? georreferenciado o no.
47
         * @return true si est? georreferenciado y false si no lo est?.
48
         */
49
        public boolean isGeoreferenced();
50
        /**
51
         * Obtiene el tama?o de pixel en X por fichero en el dataset
52
         * @return double que representa el tama?o de pixel en X
53
         */
54
        //public double[] getPixelSizeX();
55
        /**
56
         * Obtiene el tama?o de pixel en Y por fichero en el dataset
57
         * @return double que representa el tama?o de pixel en Y
58
         */
59
        //public double[] getPixelSizeY();
60
        /**
61
         * Obtiene el extent completo del raster
62
         * @return Extent
63
         */
64
        public Extent getFullRasterExtent();
65
        /**
66
         * Obtiene la proyecci?n en la que est? el raster
67
         * @return IProjection
68
         */
69
        public IProjection getProjection();
70
        
71
        /**
72
         * Obtiene la proyecci?n asociada al dataset.
73
         * 
74
         * @return Proyecci?n en formato wkt
75
         */
76
        public String getWktProjection() throws RasterDriverException;
77
        
78
        /**
79
         * Obtiene la matriz de transformaci?n que transforma puntos den coordenadas reales
80
         * en puntos en coordenadas pixel.
81
         * @return AffineTransform
82
         */
83
        public AffineTransform getAffineTransform();
84
}