Package gov.nasa.worldwind.data
Interface RasterServer
-
- All Known Implementing Classes:
BasicRasterServer
public interface RasterServer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.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
java.nio.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
-
-