NASA World Wind

gov.nasa.worldwindx.examples.dataimport
Class InstallImagery

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

public class InstallImagery
extends ApplicationTemplate

Illustrates how to install imagery into a World Wind FileStore.

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

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


Nested Class Summary
static class InstallImagery.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 IMAGE_PATH
           
 
Constructor Summary
InstallImagery()
           
 
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

IMAGE_PATH

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

InstallImagery

public InstallImagery()
Method Detail

main

public static void main(String[] args)

NASA World Wind