类 GeoTiff
- java.lang.Object
-
- org.meteoinfo.data.mapdata.geotiff.GeoTiff
-
public class GeoTiff extends java.lang.Object- 作者:
- yaqiang
-
-
构造器概要
构造器 构造器 说明 GeoTiff(java.lang.String filename)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()CloseintgetBandNum()Get band numberGridArraygetGridArray()Get grid dataGridDatagetGridData()Get grid dataGridDatagetGridData_Value()Get grid datavoidinitTags()Init tagsvoidread()Read fileArrayreadArray()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
-
-
-
方法详细资料
-
close
public void close() throws java.io.IOExceptionClose- 抛出:
java.io.IOException- IOException
-
initTags
public void initTags() throws java.io.IOExceptionInit tags- 抛出:
java.io.IOException
-
read
public void read() throws java.io.IOExceptionRead file- 抛出:
java.io.IOException
-
readXY
public java.util.List<double[]> readXY()
Read X/Y coordinates- 返回:
- X/Y coordinates
-
readData
public int[][] readData()
Get grid data- 返回:
- Grid data
-
getGridArray
public GridArray getGridArray()
Get grid data- 返回:
- Grid data
-
getGridData
public GridData getGridData()
Get grid data- 返回:
- Grid data
-
getGridData_Value
public GridData getGridData_Value()
Get grid data- 返回:
- Grid data
-
readProj
public ProjectionInfo readProj()
Read projection info- 返回:
- Projection info
-
readData
public int[] readData(int width, int height) throws java.io.IOExceptionTest read data- 参数:
width- Widthheight- Height- 返回:
- Data
- 抛出:
java.io.IOException
-
getBandNum
public int getBandNum()
Get band number- 返回:
- Band number
-
readArray
public Array readArray() throws java.io.IOException
Test read data- 返回:
- Data
- 抛出:
java.io.IOException
-
showInfo
public void showInfo(java.io.PrintStream out)
Show Info- 参数:
out- PrintStream
-
showInfo
public java.lang.String showInfo()
Show info- 返回:
- Infostring
-
-