Class InstallElevations
- java.lang.Object
-
- gov.nasa.worldwindx.examples.ApplicationTemplate
-
- gov.nasa.worldwindx.examples.dataimport.InstallElevations
-
public class InstallElevations extends ApplicationTemplate
Illustrates how to install elevation data into a WorldWind
.FileStore
Elevation data is installed into a FileStore by executing the following steps:
- Choose the FileStore location to place the installed elevations. This example uses the FileStore's install location.
- 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.
- Install the elevations by
constructing, configuring and running a
TiledElevationProducer
. - The
elevation data is subsequently described by a configuration
Document
, which we use to construct an ElevationModel via theFactory
methodFactory.createFromConfigSource(Object, gov.nasa.worldwind.avlist.AVList)
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstallElevations.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
ELEVATIONS_PATH
-
Constructor Summary
Constructors Constructor Description InstallElevations()
-
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
-
ELEVATIONS_PATH
protected static final java.lang.String ELEVATIONS_PATH
- See Also:
- Constant Field Values
-
-