Codota Logo
GDALGeoTiffReader
Code IndexAdd Codota to your IDE (free)

How to use
GDALGeoTiffReader
in
org.locationtech.geowave.adapter.raster.plugin.gdal

Best Java code snippets using org.locationtech.geowave.adapter.raster.plugin.gdal.GDALGeoTiffReader (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: locationtech/geowave

      + ".tif");
if (geotiffFile.exists()) {
 final GDALGeoTiffReader reader = new GDALGeoTiffReader(geotiffFile);
 final GridCoverage2D coverage = reader.read(null);
 reader.dispose();
 return new RasterBandData(entityId + "_" + bandName, coverage, reader, NO_DATA_VALUE);
origin: locationtech/geowave

 /** @see org.geotools.data.coverage.grid.AbstractGridFormat#getReader(Object, Hints) */
 @Override
 public GDALGeoTiffReader getReader(final Object source, final Hints hints) {
  try {
   return new GDALGeoTiffReader(source, hints);
  } catch (final MismatchedDimensionException e) {
   final RuntimeException re = new RuntimeException();
   re.initCause(e);
   throw re;
  } catch (final DataSourceException e) {
   final RuntimeException re = new RuntimeException();
   re.initCause(e);
   throw re;
  }
 }
}
origin: locationtech/geowave

final String[] mdNames = b.reader.getMetadataNames();
if ((mdNames != null) && (mdNames.length > 0)) {
 for (final String mdName : mdNames) {
  metadata.put(mdName, b.reader.getMetadataValue(mdName));
origin: locationtech/geowave

if (writer == null) {
 final Map<String, String> metadata = new HashMap<>();
 final String[] mdNames = reader.getMetadataNames();
 if ((mdNames != null) && (mdNames.length > 0)) {
  for (final String mdName : mdNames) {
   metadata.put(mdName, reader.getMetadataValue(mdName));
origin: locationtech/geowave

  FreeMarkerTemplateUtils.processTemplateIntoString(coverageNameTemplate, model);
final File geotiffFile = DownloadRunner.getDownloadFile(band, landsatOptions.getWorkspaceDir());
final GDALGeoTiffReader reader = new GDALGeoTiffReader(geotiffFile);
GridCoverage2D coverage = reader.read(null);
reader.dispose();
if ((ingestOptions.getCoverageConverter() != null)
  && !ingestOptions.getCoverageConverter().trim().isEmpty()) {
org.locationtech.geowave.adapter.raster.plugin.gdalGDALGeoTiffReader

Most used methods

  • <init>
    Creates a new instance of a DTEDReader. I assume nothing about file extension.
  • dispose
  • read
  • getMetadataNames
  • getMetadataValue

Popular in Java

  • Making http requests using okhttp
  • findViewById (Activity)
  • getSystemService (Context)
  • setContentView (Activity)
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JList (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now