Environment Variables¶
Configuration¶
Variable |
Description |
Default |
---|---|---|
OSGEARTH_DEFAULT_FONT |
Name of the default font to use for annotations. |
arial.ttf (Windows) |
OSGEARTH_TERRAIN_CONCURRENCY |
Number of threads to use for terrain tile loading. |
|
Debugging¶
Variable |
Description |
Default |
---|---|---|
OSGEARTH_NOTIFY_LEVEL |
Verbosity of console output. Options are |
|
OSGEARTH_GL_DEBUG |
Set this to |
|
OSGEARTH_VP_DEBUG |
Set this to |
|
OSGEARTH_VERBOSE_GDAL_ERRORS |
Set this to |
|
OSGEARTH_HTTP_DEBUG |
Set this to |
|
OSGEARTH_HTTP_DISABLE |
Simulates no network by disabling outgoing HTTP/S connections. |
|
OSGEARTH_DUMP_SHADERS |
Set to |
|
OSGEARTH_HEADLESS |
Set this to |
|
OSGEARTH_CACHE_DEBUG |
Set |
|
OSGEARTH_REX_DEBUG |
Set to |
|
Caching¶
Variable |
Description |
Default |
---|---|---|
OSGEARTH_CACHE_DRIVER |
Name of the cache implemenetation to use. Options are |
|
OSGEARTH_CACHE_PATH |
Path of a local folder in which to cache data. Setting this variable will automatically activate caching. |
|
OSGEARTH_NO_CACHE |
Set this to |
|
OSGEARTH_CACHE_ONLY |
Set this to |
|
OSGEARTH_CACHE_MAX_AGE |
Maximum age (in seconds) of valid cache entries. |
|
OSGEARTH_CACHE_MAX_SIZE_MB |
Maximum size of the disk cache in MB. This only applies to the |
|
Security & Networking¶
Variable |
Description |
Default |
---|---|---|
OSGEARTH_CESIUM_KEY |
Authorization key string for accessing Cesium Ion services. |
|
OSGEARTH_BING_KEY |
Authorization key string for accessing Microsoft Bing services. |
|
OSGEARTH_AZURE_KEY |
Subscription key string for accessing Microsoft Azure Maps services. |
|
OSG_CURL_PROXY |
Hostname of a proxy server to use. |
|
OSG_CURL_PROXYPORT |
Port numver of the proxy server to use. |
|
OSGEARTH_CURL_PROXYAUTH |
Authorization string in the form |
|
OSGEARTH_HTTP_TIMEOUT |
Timeout for HTTP responses, in seconds. |
|
OSGEARTH_HTTP_CONNECTTIMEOUT |
Timeout for HTTP connection requests, in seconds. |
|
3rd Party¶
Variable |
Description |
Default |
---|---|---|
GDAL_DATA |
Path of the folder containing GDAL’s coordinate system data files. |
|
SILVERLINING_PATH |
Path to the SunDog Silverlining SDK Resources folder. |
|
TRITON_PATH |
Path to the SunDog Triton SDK Resources folder. |
Experimental / Advanced¶
Variable |
Description |
Default |
---|---|---|
OSGEARTH_USE_NVGL |
Set to |
|
OSGEARTH_ENABLE_WORK_STEALING |
Set to |
|
OSGEARTH_L2_CACHE_SIZE |
Sets the maximum number of rasters to store in a layer’s L2 cache if it has one. The L2 cache is generally used to speed up reprojection and mosaicing when a layer’s profile differs from that of the map. |
|
OSGEARTH_MEMORY_PROFILE |
When set to |
|
OSGEARTH_IGNORE_VERTICAL_DATUMS |
When set to |