Class GeoTiff
- java.lang.Object
-
- org.meteoinfo.data.mapdata.geotiff.GeoTiff
-
public class GeoTiff extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GeoTiff(java.lang.String filename)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()CloseintgetBandNum()Get band numberGridArraygetGridArray()Get grid dataGridDatagetGridData()Get grid dataGridDatagetGridData_Value()Get grid datavoidinitTags()Init tagsvoidread()Read fileucar.ma2.ArrayreadArray()Test read dataint[][]readData()Get grid dataint[]readData(int width, int height)Test read dataProjectionInforeadProj()Read projection infojava.util.List<double[]>readXY()Read X/Y coordinatesjava.lang.StringshowInfo()Show infovoidshowInfo(java.io.PrintStream out)Show Info
-
-
-
Method Detail
-
close
public void close() throws java.io.IOExceptionClose- Throws:
java.io.IOException- IOException
-
initTags
public void initTags() throws java.io.IOExceptionInit tags- Throws:
java.io.IOException
-
read
public void read() throws java.io.IOExceptionRead file- Throws:
java.io.IOException
-
readXY
public java.util.List<double[]> readXY()
Read X/Y coordinates- Returns:
- X/Y coordinates
-
readData
public int[][] readData()
Get grid data- Returns:
- Grid data
-
getGridArray
public GridArray getGridArray()
Get grid data- Returns:
- Grid data
-
getGridData
public GridData getGridData()
Get grid data- Returns:
- Grid data
-
getGridData_Value
public GridData getGridData_Value()
Get grid data- Returns:
- Grid data
-
readProj
public ProjectionInfo readProj()
Read projection info- Returns:
- Projection info
-
readData
public int[] readData(int width, int height) throws java.io.IOExceptionTest read data- Parameters:
width- Widthheight- Height- Returns:
- Data
- Throws:
java.io.IOException
-
getBandNum
public int getBandNum()
Get band number- Returns:
- Band number
-
readArray
public ucar.ma2.Array readArray() throws java.io.IOExceptionTest read data- Returns:
- Data
- Throws:
java.io.IOException
-
showInfo
public void showInfo(java.io.PrintStream out)
Show Info- Parameters:
out- PrintStream
-
showInfo
public java.lang.String showInfo()
Show info- Returns:
- Infostring
-
-