Class InstallImagery
- java.lang.Object
-
- gov.nasa.worldwindx.examples.ApplicationTemplate
-
- gov.nasa.worldwindx.examples.dataimport.InstallImagery
-
public class InstallImagery extends ApplicationTemplate
Illustrates how to install imagery into a WorldWind
.FileStore
Image data is installed into a FileStore by executing the following steps:
- Choose the FileStore location to place the installed imagery. This example uses the default install location.
- 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.
- Install the imagery by constructing, configuring and running a
TiledImageProducer
. - The installed imagery is subsequently described by a
configuration
Document
, which we use to construct a Layer via theFactory
methodFactory.createFromConfigSource(Object, gov.nasa.worldwind.avlist.AVList)
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstallImagery.AppFrame
-
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
BASE_CACHE_PATH
protected static java.lang.String
IMAGE_PATH
-
Constructor Summary
Constructors Constructor Description InstallImagery()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
-
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
-
-
-
-
Field Detail
-
BASE_CACHE_PATH
protected static final java.lang.String BASE_CACHE_PATH
- See Also:
- Constant Field Values
-
IMAGE_PATH
protected static final java.lang.String IMAGE_PATH
- See Also:
- Constant Field Values
-
-