Codota Logo
RasterIOOptions.readWorldFile
Code IndexAdd Codota to your IDE (free)

How to use
readWorldFile
method
in
org.deegree.coverage.raster.io.RasterIOOptions

Best Java code snippets using org.deegree.coverage.raster.io.RasterIOOptions.readWorldFile (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: deegree/deegree3

if ( nOpts != null && nOpts.readWorldFile() ) {
  try {
    RasterGeoReference geoRef = WorldFileAccess.readWorldFile( filename, nOpts );
origin: deegree/deegree3

if ( readWorldFile() != otherOptions.readWorldFile() ) {
  add( READ_WLD_FILE, otherOptions.readWorldFile() + "" );
origin: deegree/deegree3

private AbstractRaster loadFromReader( JAIRasterDataReader reader, RasterIOOptions options ) {
  width = reader.getColumns();
  height = reader.getRows();
  setID( options );
  reader.close();
  OriginLocation definedRasterOrigLoc = options.getRasterOriginLocation();
  // create a 1:1 mapping
  rasterReference = new RasterGeoReference( definedRasterOrigLoc, 1, -1, 0.5, height - 0.5 );
  if ( options.hasRasterGeoReference() ) {
    rasterReference = options.getRasterGeoReference();
  } else {
    if ( options.readWorldFile() ) {
      try {
        if ( file != null ) {
          rasterReference = WorldFileAccess.readWorldFile( file, options );
        }
      } catch ( IOException e ) {
        //
      }
    }
  }
  Envelope envelope = rasterReference.getEnvelope( width, height, null );
  // RasterDataContainer source = RasterDataContainerFactory.withDefaultLoadingPolicy( reader );
  // RasterDataContainer source = RasterDataContainerFactory.withLoadingPolicy( reader, options.getLoadingPolicy()
  // );
  RasterDataInfo rdi = reader.getRasterDataInfo();
  return RasterFactory.createEmptyRaster( rdi, envelope, rasterReference, this, true, options );
}
origin: deegree/deegree3

if ( opts.readWorldFile() ) {
  try {
    if ( reader.file() != null ) {
org.deegree.coverage.raster.ioRasterIOOptionsreadWorldFile

Popular methods of RasterIOOptions

  • <init>
    Set the default loading policy to one configured in the RasterDataContainerFactory
  • add
  • copyOf
    Copies the the values from the given options.
  • forFile
    Return a RasterIOOption object with the format set according to the given file with an optional Rast
  • get
  • getCRS
  • getRasterOriginLocation
  • setNoData
    no data value. The byte[] can be created from an array of Strings by using the RasterIOOptions#creat
  • contains
  • createNoData
    Create a noData array from the given strings. Each string will be interpreted as the given type.
  • getLoadingPolicy
  • getNoDataValue
    Returns the no data value. A no data value should be added to the RasterIOOptions by using RasterIOO
  • getLoadingPolicy,
  • getNoDataValue,
  • getRasterGeoReference,
  • hasRasterGeoReference,
  • setRasterGeoReference

Popular in Java

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
  • onCreateOptionsMenu (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
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