org.geotools.gce.grassraster
Class GrassCoverageReadParam

Object
  extended by GrassCoverageReadParam

public class GrassCoverageReadParam
extends Object

Represents the read parameters in the geotools space, as opposed to GrassBinaryImageReadParam that are for the imageio space.

Represents the parameters needed by the GrassCoverageReader for reading coverage, i.e. the portion and resolution of the map you want to get from the GridCoverageReader.

The needed parameters to read a GRASS raster map, are the following:

All these values are already handled in the JGrassRegion, so that has to be supplied in order to choose a region different from the native data region.

Note: it is enough to have bounds and row-cols, or bounds and resolutions, or also a corner and row-cols and resolutions.

Since:
3.0
Author:
Andrea Antonello (www.hydrologis.com)
See Also:
JGrassRegion}, JGrassMapEnvironment}

Constructor Summary
GrassCoverageReadParam(JGrassRegion requestedWorldRegion)
          Constructs a GrassCoverageReadParam.
 
Method Summary
 JGrassRegion getRequestedWorldRegion()
          Getter for the active region
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrassCoverageReadParam

public GrassCoverageReadParam(JGrassRegion requestedWorldRegion)
Constructs a GrassCoverageReadParam.

Parameters:
requestedWorldRegion - the active region to which to set read region to.
Method Detail

getRequestedWorldRegion

public JGrassRegion getRequestedWorldRegion()
Getter for the active region

Parameters:
activeRegion - the active region. If this is null, the whole raster map region should be used.


Copyright © 1996-2014 Geotools. All Rights Reserved.