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

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

Best Java code snippets using org.deegree.coverage.raster.io.RasterIOOptions.getRasterGeoReference (Showing top 6 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

  opts = new RasterIOOptions( ref );
} else {
  RasterGeoReference defRef = options.getRasterGeoReference();
  if ( defRef != null ) {
    ref = defRef;
origin: deegree/deegree3

geoReference = options.getRasterGeoReference();
origin: deegree/deegree3

if ( getRasterGeoReference() == null ) {
  setRasterGeoReference( otherOptions.getRasterGeoReference() );
origin: deegree/deegree3

RasterGeoReference geoRef = options == null ? null : options.getRasterGeoReference();
if ( geoRef == null ) {
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

  rasterReference = opts.getRasterGeoReference();
} else {
org.deegree.coverage.raster.ioRasterIOOptionsgetRasterGeoReference

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,
  • hasRasterGeoReference,
  • readWorldFile,
  • setRasterGeoReference

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • findViewById (Activity)
  • setContentView (Activity)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
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