NASA World Wind

gov.nasa.worldwindx.examples.dataimport
Class InstallElevations

java.lang.Object
  extended by gov.nasa.worldwindx.examples.ApplicationTemplate
      extended by gov.nasa.worldwindx.examples.dataimport.InstallElevations

public class InstallElevations
extends ApplicationTemplate

Illustrates how to install elevation data into a World Wind FileStore.

Elevation data is installed into a FileStore by executing the following steps:

  1. Choose the FileStore location to place the installed elevations. This example uses the FileStore's install location.
  2. Compute a unique cache name for the elevations. In this example, the cache name is "Examples/ElevationsName", where "ElevationsName" is the elevation data's display name, stripped of any illegal filename characters.
  3. Install the elevations by constructing, configuring and running a TiledElevationProducer.
  4. The elevation data is subsequently described by a configuration Document, which we use to construct an ElevationModel via the Factory method Factory.createFromConfigSource(Object, gov.nasa.worldwind.avlist.AVList).


Nested Class Summary
static class InstallElevations.AppFrame
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
 
Field Summary
protected static String BASE_CACHE_PATH
           
protected static String ELEVATIONS_PATH
           
 
Constructor Summary
InstallElevations()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_CACHE_PATH

protected static final String BASE_CACHE_PATH
See Also:
Constant Field Values

ELEVATIONS_PATH

protected static final String ELEVATIONS_PATH
See Also:
Constant Field Values
Constructor Detail

InstallElevations

public InstallElevations()
Method Detail

main

public static void main(String[] args)

NASA World Wind