|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJNIBase
es.gva.cit.jgdal.Gdal
Contiene las funcionalidades necesarias para el acceso a los elementos de un dataset de gdal correspondiente a una imágen
Field Summary | |
static int |
GA_ReadOnly
|
static int |
GA_Update
|
static int |
GDT_Byte
|
static int |
GDT_CFloat32
|
static int |
GDT_CFloat64
|
static int |
GDT_CInt16
|
static int |
GDT_CInt32
|
static int |
GDT_Float32
|
static int |
GDT_Float64
|
static int |
GDT_Int16
|
static int |
GDT_Int32
|
static int |
GDT_TypeCount
|
static int |
GDT_UInt16
|
static int |
GDT_UInt32
|
static int |
GDT_Unknown
|
Constructor Summary | |
Gdal()
Constructor generico |
|
Gdal(long cPtr)
Constructor a partir de la dirección de memoria |
Method Summary | |
void |
close()
Cierra el fichero de imágen. |
static GdalDriver |
getDriverByName(java.lang.String name)
Obtiene un driver a través de su nombre |
int |
getGCPCount()
Obtiene el número de bandas de la imágen |
GeoTransform |
getGeoTransform()
Obtiene el vector geoTransform de la imágen que contiene los valores Origen y pixelSize |
java.lang.String[] |
getMetadata()
Obtiene un array de Strings con los metadatos |
java.lang.String |
getProjectionRef()
Obtiene el sistema de coordenadas de referencia de la imágen. |
long |
getPtro()
Devuelve la dirección de memoria del objeto dataset en C. |
GdalRasterBand |
getRasterBand(int hBand)
Obtiene el número de bandas de la imágen |
int |
getRasterCount()
Obtiene el número de bandas de la imágen |
int |
getRasterXSize()
Obtiene la dimensión del raster en el eje X. |
int |
getRasterYSize()
Obtiene la dimensión del raster en el eje Y. |
void |
open(java.lang.String pszFilename,
int access)
Abre el fichero de imágen. |
void |
setGeoTransform(GeoTransform gt)
Añade el vector geoTransform a la imágen que contiene los valores Origen y pixelSize |
void |
setProjection(java.lang.String proj)
Asigna la proyección especificada en la cadena que se le pasa por parámetro. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int GA_ReadOnly
public static int GA_Update
public static int GDT_Unknown
public static int GDT_Byte
public static int GDT_UInt16
public static int GDT_Int16
public static int GDT_UInt32
public static int GDT_Int32
public static int GDT_Float32
public static int GDT_Float64
public static int GDT_CInt16
public static int GDT_CInt32
public static int GDT_CFloat32
public static int GDT_CFloat64
public static int GDT_TypeCount
Constructor Detail |
public Gdal(long cPtr)
public Gdal()
Method Detail |
public long getPtro()
public void open(java.lang.String pszFilename, int access) throws GdalException, java.io.IOException
pszFilename
- Nombre del fichero.access
- Apertura en solo lectura o escritura.
GdalException
java.io.IOException
public java.lang.String[] getMetadata() throws GdalException
GdalException
public GdalRasterBand getRasterBand(int hBand) throws GdalException
hBand
- Entero que corresponde al número de banda que se quiere recuperar
GdalException
public int getRasterXSize() throws GdalException
GdalException
public int getRasterYSize() throws GdalException
GdalException
public int getRasterCount() throws GdalException
GdalException
public GeoTransform getGeoTransform() throws GdalException
GdalException
public void setGeoTransform(GeoTransform gt) throws GdalException
GdalException
public java.lang.String getProjectionRef() throws GdalException
GdalException
public void close() throws GdalException
GdalException
public static GdalDriver getDriverByName(java.lang.String name) throws GdalException
name
- Nombre del driver
GdalException
public int getGCPCount() throws GdalException
GdalException
public void setProjection(java.lang.String proj) throws GdalException
proj
- proyección
GdalException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |