Codota Logo
GridFileReader.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.deegree.coverage.raster.io.grid.GridFileReader
constructor

Best Java code snippets using org.deegree.coverage.raster.io.grid.GridFileReader.<init> (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: deegree/deegree3

@Override
public RasterReader getRasterReader( String type ) {
  if ( type != null && FORMATS.contains( type.toLowerCase() ) ) {
    return new GridFileReader();
  }
  return null;
}
origin: deegree/deegree3

  this.blobReader = new SplittedBlobReader( blobDir, BLOB_FILE_NAME, BLOB_FILE_EXT, metaInfoFile );
} else {
  this.blobReader = new GridFileReader( metaInfoFile, files[0] );
origin: deegree/deegree3

/**
 * A gridded tile container which reads data from a deegree internal format. See d3_tools/RasterTreeGridifier on how
 * to create the format. This methods takes a single bob file instead of scanning a given directory
 * 
 * @param blobFile
 *            to read the tiles from.
 * @param metaInfoFile
 * @throws IOException
 */
public GriddedBlobTileContainer( File blobFile, GridMetaInfoFile metaInfoFile ) throws IOException {
  this( metaInfoFile );
  if ( !blobFile.exists() ) {
    throw new IOException( "Given blobfile:" + blobFile + " does not exist." );
  }
  long totalSize = blobFile.length();
  LOG.debug( "Real blob size: " + totalSize );
  // blobReaders = new GridFileReader[1];
  blobReader = new GridFileReader( metaInfoFile, blobFile );
  // tilesPerBlob = blobReader.getNumberOfTiles();
  long expectedBlobSize = metaInfoFile.rows() * metaInfoFile.columns() * blobReader.getBytesPerTile();
  if ( expectedBlobSize != totalSize ) {
    String msg = "Size of gridfile (=" + totalSize + ") does not match the expected size (=" + expectedBlobSize
           + ").";
    throw new IllegalArgumentException( msg );
  }
}
origin: deegree/deegree3

reader = new GridFileReader( heixelFile, options );
return RasterDataFactory.createTiledRasterData( reader, options );
origin: deegree/deegree3

GridReader gr = new GridFileReader( cF, null );
imageBuffer = gr.getTileData( 0, 0, null );
if ( imageBuffer != null ) {
origin: deegree/deegree3

GridFileReader reader = new GridFileReader();
org.deegree.coverage.raster.io.gridGridFileReader<init>

Javadoc

An empty constructor used in the GridRasterIOProvider, to a location in time where no information is known yet.

Popular methods of GridFileReader

  • load
  • closeReadStream
  • dispose
  • getBytesPerTile
  • getDataLocationId
  • getFileChannel
  • getGeoReference
  • getIntersectingTiles
  • getTile
  • getTileData
  • getTileId
  • getTilesPerBlob
  • getTileId,
  • getTilesPerBlob,
  • instantiate,
  • leaveStreamOpen,
  • read,
  • readValuesFromTile,
  • snapToGrid

Popular in Java

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
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