2 Copyright (C) 2001, 2006 United States Government
3 as represented by the Administrator of the
4 National Aeronautics and Space Administration.
7 package gov
.nasa
.worldwind
.layers
.Earth
;
9 import gov
.nasa
.worldwind
.*;
10 import gov
.nasa
.worldwind
.geom
.*;
11 import gov
.nasa
.worldwind
.layers
.*;
17 * @version $Id: LandsatI3.java 1984 2007-06-09 00:33:22Z tgaskins $
19 public class LandsatI3
extends TiledImageLayer
24 this.setUseTransparentTextures(true);
27 private static LevelSet
makeLevels()
29 AVList params
= new AVListImpl();
31 params
.setValue(AVKey
.TILE_WIDTH
, 512);
32 params
.setValue(AVKey
.TILE_HEIGHT
, 512);
33 params
.setValue(AVKey
.CACHE_NAME
, "Earth/NASA LandSat I3");
34 params
.setValue(AVKey
.SERVICE
, "http://worldwind25.arc.nasa.gov/lstile/lstile.aspx");
35 params
.setValue(AVKey
.DATASET_NAME
, "esat_worlddds");
36 params
.setValue(AVKey
.FORMAT_SUFFIX
, ".dds");
37 params
.setValue(AVKey
.NUM_LEVELS
, 10);
38 params
.setValue(AVKey
.NUM_EMPTY_LEVELS
, 4);
39 params
.setValue(AVKey
.LEVEL_ZERO_TILE_DELTA
, new LatLon(Angle
.fromDegrees(36d
), Angle
.fromDegrees(36d
)));
40 params
.setValue(AVKey
.SECTOR
, Sector
.FULL_SPHERE
);
41 params
.setValue(AVKey
.EXPIRY_TIME
, new GregorianCalendar(2007, 2, 22).getTimeInMillis());
43 return new LevelSet(params
);
47 public String
toString()
49 return WorldWind
.retrieveErrMsg("layers.Earth.LandsatI3Layer.Name");