Created
January 18, 2011 18:02
-
-
Save sritchie/784850 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package world; | |
import org.gdal.gdal.Band; | |
//import org.gdal.gdal.ColorTable; | |
import org.gdal.gdal.Dataset; | |
import org.gdal.gdal.Driver; | |
import org.gdal.gdal.GCP; | |
import org.gdal.gdal.gdal; | |
import org.gdal.gdalconst.gdalconstConstants; | |
import org.gdal.osr.CoordinateTransformation; | |
import org.gdal.osr.SpatialReference; | |
public class HelloWorld { | |
/** | |
* @param args | |
*/ | |
public static void main(String[] args) { | |
System.out.println("Help!"); | |
String props = System.getProperty("java.library.path"); | |
System.out.println(props); | |
gdal.AllRegister(); | |
Dataset hDataset = gdal.Open("/Users/sritchie/Desktop/MOD13A3.A2004001.h27v09.005.2007246035250.hdf", 0); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment