sim.io.geo
Class GDALImporter

java.lang.Object
  extended by sim.io.geo.GDALImporter

public class GDALImporter
extends java.lang.Object


Method Summary
static void printLastError()
          Ganked from GDAL/swig/java/apps/GDALtest.java
static void read(java.net.URL inputSource, GeomGridField.GridDataType type, GeomGridField field)
          Read geospatial grid data from inputSource into field This only reads the first band of data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

read

public static void read(java.net.URL inputSource,
                        GeomGridField.GridDataType type,
                        GeomGridField field)
                 throws java.io.FileNotFoundException
Read geospatial grid data from inputSource into field This only reads the first band of data.

Parameters:
inputSource - of grid data
type - denotes the base type as either integer or double-based
field - is field to populate
Throws:
java.io.FileNotFoundException

printLastError

public static void printLastError()
Ganked from GDAL/swig/java/apps/GDALtest.java