Tabnine Logo
GeoTiff.readHeader
Code IndexAdd Tabnine to your IDE (free)

How to use
readHeader
method
in
ucar.nc2.geotiff.GeoTiff

Best Java code snippets using ucar.nc2.geotiff.GeoTiff.readHeader (Showing top 3 results out of 315)

origin: edu.ucar/netcdf

/**
 * Read the geotiff file, using the filename passed in the constructor.
 *
 * @throws IOException on read error
 */
public void read() throws IOException {
 file = new RandomAccessFile(filename, "r");
 channel = file.getChannel();
 if (debugRead) System.out.println("Opened file to read:'" + filename + "', size=" + channel.size());
 readonly = true;
 int nextOffset = readHeader(channel);
 while (nextOffset > 0) {
  nextOffset = readIFD(channel, nextOffset);
  parseGeoInfo();
 }
 //parseGeoInfo();
}
origin: Unidata/thredds

/**
 * Read the geotiff file, using the filename passed in the constructor.
 *
 * @throws IOException on read error
 */
public void read() throws IOException {
 file = new RandomAccessFile(filename, "r");
 channel = file.getChannel();
 if (debugRead) System.out.println("Opened file to read:'" + filename + "', size=" + channel.size());
 readonly = true;
 int nextOffset = readHeader(channel);
 while (nextOffset > 0) {
  nextOffset = readIFD(channel, nextOffset);
  parseGeoInfo();
 }
 //parseGeoInfo();
}
origin: edu.ucar/cdm

/**
 * Read the geotiff file, using the filename passed in the constructor.
 *
 * @throws IOException on read error
 */
public void read() throws IOException {
 file = new RandomAccessFile(filename, "r");
 channel = file.getChannel();
 if (debugRead) System.out.println("Opened file to read:'" + filename + "', size=" + channel.size());
 readonly = true;
 int nextOffset = readHeader(channel);
 while (nextOffset > 0) {
  nextOffset = readIFD(channel, nextOffset);
  parseGeoInfo();
 }
 //parseGeoInfo();
}
ucar.nc2.geotiffGeoTiffreadHeader

Popular methods of GeoTiff

  • <init>
    Constructor. Does not open or create the file.
  • findTag
  • showInfo
    Write the geotiff Tag information to out.
  • addGeoKey
  • addTag
  • close
    Close the Geotiff file.
  • init
  • initTags
  • parseGeoInfo
  • readIFD
  • readIFDEntry
  • readIntValue
  • readIFDEntry,
  • readIntValue,
  • readSValue,
  • readUShortValue,
  • readValues,
  • setTransform,
  • writeData,
  • writeGeoKeys,
  • writeHeader

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • addToBackStack (FragmentTransaction)
  • String (java.lang)
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now