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

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

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

/**
 * Creates a new RasterTreeBuilder. See the additional <code>set*()</code>-methods for further options.
 * 
 * @param options
 *            needed for reading the raster files
 * @param dstSRS
 *            the target crs
 * @param dstDir
 *            the output directory of the raster tree
 * @param maxTileSize
 *            the max tile size
 * @param interpolation
 *            the raster interpolation
 */
public RasterTreeBuilder( RasterIOOptions options, ICRS dstSRS, File dstDir, int maxTileSize,
             InterpolationType interpolation ) {
  super();
  this.rasterOptions = options;
  if ( dstSRS == null ) {
    this.dstSRS = rasterOptions.getCRS();
  } else {
    this.dstSRS = dstSRS;
  }
  if ( this.dstSRS == null ) {
    System.out.println( "Could not determine the target srs of the original raster, assuming crs of the source raster." );
  }
  this.dstDir = dstDir;
  this.maxTileSize = maxTileSize;
  this.interpolation = interpolation;
}
origin: deegree/deegree3

if ( options != null ) {
  location = options.getRasterOriginLocation();
  crs = options.getCRS();
origin: deegree/deegree3

private static RasterTreeBuilder initRTB( CommandLine line )
            throws ParseException {
  RasterIOOptions options = RasterOptionsParser.parseRasterIOOptions( line );
  String t_srs = line.getOptionValue( OPT_T_SRS );
  ICRS tSRS = null;
  if ( t_srs == null ) {
    tSRS = options.getCRS();
  } else {
    tSRS = CRSManager.getCRSRef( t_srs );
  }
  File outDir = new File( line.getOptionValue( OPT_RASTER_OUT_LOC ) );
  InterpolationType interpolationType = getInterpolationType( line.getOptionValue( OPT_INTERPOLATION ) );
  int maxTileSize = getIntOption( line, OPT_TILE_SIZE, DEFAULT_TILE_SIZE );
  return new RasterTreeBuilder( options, tSRS, outDir, maxTileSize, interpolationType );
}
origin: deegree/deegree3

                         gridExtension.maxy, options.getCRS() );
int[] size = geoReference.getSize( rasterEnvelope );
width = size[0];
origin: deegree/deegree3

  add( GEO_ORIGIN_LOCATION, otherOptions.getRasterOriginLocation().name() );
if ( getCRS() == null && otherOptions.getCRS() != null ) {
  add( CRS, otherOptions.getCRS().getAlias() );
origin: deegree/deegree3

RasterGeoReference rasterReference = null;
ICRS crs = options == null ? null : options.getCRS();
if ( crs == null ) {
  LOG.warn( "Configured crs is null, maybe the rasterfiles define one." );
origin: deegree/deegree3

RasterGeoReference rasterReference = null;
ICRS crs = options == null ? null : options.getCRS();
if ( crs == null ) {
  LOG.warn( "Configured crs is null, maybe the rasterfiles define one." );
origin: deegree/deegree3

Envelope rasterEnvelope = this.geoReference.getEnvelope( width, height, options.getCRS() );
RasterData data = RasterDataFactory.createRasterData( width, height, rdi, geoReference, buffer, true,
                           FileUtils.getFilename( this.file ), options );
origin: deegree/deegree3

  readCRS = opts.getCRS();
} else {
  readCRS = CRSManager.getCRSRef( crs );
org.deegree.coverage.raster.ioRasterIOOptionsgetCRS

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