Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Contact:

Daniele Romagnoli

Tracker:

http://jira.codehaus.org/browse/GEOT-XXXX

Tagline:

GridCoverageReader API

Children:

Description

As quoted from the Javadoc, GridCoverageReader interface is intended to

read GridCoverages from the input stream in a sequential order .

Base class implementing GridCoverageReader is AbstractGridCoverage2DReader.

 

Currently there is 1:1 relationship between an AbstractGridCoverage2DReader instance and a coverage. Suppose you are working against a NetCDF file which contains several measurements like AirTemperature, AirPressure which are 4D datasets (with elevation and time) and an additional SurfaceTemperature which is a 2D dataset. We can think about 3 different coverages. Currently, there is no way to deal with multiple coverages stored in the same file.

I propose to deprecate AbstractGridCoverage2DReader in favor of a new AbstractGridCoverageReader which preserves current methods for simpler readers (which allow to access single coverages) but which allows to get geospatial context (like GridEnvelope, GridRange, GridToWorld transformation, CoordinateReferenceSystem) and read access capabilities by coverage name. Current geospatial context getter method won't be changed to grant backward compatibility.

Status

This proposal is under construction.

Voting has not started yet:

Tasks

This section is used to make sure your proposal is complete (did you remember documentation?) and has enough paid or volunteer time lined up to be a success

 

no progress

(tick)

done

(error)

impeded

(warning)

lack mandate/funds/time

(question)

volunteer needed

  1. API changed based on BEFORE / AFTER
  2. Update default implementation
  3. Update wiki (both module matrix and upgrade to to 2.5 pages) |
  4. Remove deprecated code from GeoTools project
  5. Update the user guide
  6. Update or provided sample code in demo
  7. review user documentation

API Changes

AbstractGridCoverage2DReader

BEFORE:

AFTER:

AbstractGridFormat

AFTER:

 

Documentation Changes

list the pages effected by this proposal

  • No labels