public class GeoTiff extends Object
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
close() |
Close
|
int |
getBandNum() |
Get band number
|
GridArray |
getGridArray() |
Get grid data
|
GridData |
getGridData() |
Get grid data
|
GridData |
getGridData_Value() |
Get grid data
|
void |
initTags() |
Init tags
|
void |
read() |
Read file
|
Array |
readArray() |
Test read data
|
int[][] |
readData() |
Get grid data
|
int[] |
readData(int width,
int height) |
Test read data
|
ProjectionInfo |
readProj() |
Read projection info
|
List<double[]> |
readXY() |
Read X/Y coordinates
|
String |
showInfo() |
Show info
|
void |
showInfo(PrintStream out) |
Show Info
|
public GeoTiff(String filename)
filename - File namepublic void close()
throws IOException
IOException - IOExceptionpublic void initTags()
throws IOException
IOExceptionpublic void read()
throws IOException
IOExceptionpublic List<double[]> readXY()
public int[][] readData()
public GridArray getGridArray()
public GridData getGridData()
public GridData getGridData_Value()
public ProjectionInfo readProj()
public int[] readData(int width,
int height)
throws IOException
width - Widthheight - HeightIOExceptionpublic int getBandNum()
public Array readArray() throws IOException
IOExceptionpublic void showInfo(PrintStream out)
out - PrintStreampublic String showInfo()
Copyright © 2019. All rights reserved.