NASA World Wind

gov.nasa.worldwind.data
Interface RasterServer

All Known Implementing Classes:
BasicRasterServer

public interface RasterServer


Method Summary
 ByteBuffer getRasterAsByteBuffer(AVList params)
          Composes a Raster and returns as ByteBuffer in the requested format (image or elevation)
 Sector getSector()
          Returns a Geographic extend (coverage) of the composer
 

Method Detail

getRasterAsByteBuffer

ByteBuffer getRasterAsByteBuffer(AVList params)
Composes a Raster and returns as ByteBuffer in the requested format (image or elevation)

Parameters:
params - Required parameters in params:

AVKey.WIDTH - the height of the requested raster AVKey.HEIGHT - the height of the requested raster AVKey.SECTOR - a regular Geographic Sector defined by lat/lon coordinates of corners

Returns:
ByteBuffer of the requested file format

getSector

Sector getSector()
Returns a Geographic extend (coverage) of the composer

Returns:
returns a Geographic extend (coverage) of the composer as a Sector

NASA World Wind