Load and display a map
osgearth_viewer \kx earthfile.earth [--sky | --ocean | --kml file.kml | --coords | --dms | --dd | --mgrs | --ortho | --autoclip | --images path | --image-extensions * | --out-earth out.earth]
osgearth_viewer can load and display a map from the command line. The osgEarth EarthManipulator is used to control the camera and is optimized for viewing geospatial data.
earthfile.earth
Path to the earth file
\*(T<--sky\*(T>
Installs a SkyNode (sun, moon, stars and atmosphere..globe only)
\*(T<--ocean\*(T>
Installs a sample ocean surface node
\*(T<--kml\*(T> file.kml
Loads a KML or KMZ file
\*(T<--coords\*(T>
Displays map coords under mouse
\*(T<--dms\*(T>
Displays map coords as degrees/mins/seconds
\*(T<--dd\*(T>
Displays map coords as decimal degrees
\*(T<--mgrs\*(T>
Displays map coords as MGRS
\*(T<--ortho\*(T>
Installs an orthographic camera projection
\*(T<--autoclip\*(T>
Installs an automatic clip plane handler
\*(T<--images\*(T> path
Finds images in [path] and loads them as image layers
\*(T<--image-extensions\*(T> *
With \*(T<--images\*(T>, only considers the listed extensions
\*(T<--out-earth\*(T> out.earth
With \*(T<--images\*(T>, writes out an earth file