SYNOPSIS

osgearth_cache \kx [--list | --seed | --estimate | --threads | --min-level level | --max-level level | --bounds xmin ymin xmax ymax | --index shapefile | --cache-path path | --cache-type type | --purge] file.earth

DESCRIPTION

osgearth_cache can be used to manage osgEarth's cache. The most common usage of osgearth_cache is to populate a cache in a non-interactive manner using the \*(T<--seed\*(T> argument. See \$2 \(la\$1\(ra\$3 for more information on caching.

OPTIONS

\*(T<--list\*(T>

Lists info about the cache in a .earth file

\*(T<--seed\*(T>

Seeds the cache in a .earth file

\*(T<--estimate\*(T>

Print out an estimation of the number of tiles, disk space and time it will take to perform this seed operation

\*(T<--threads\*(T>

The number of threads to use for the seed operation (default=1)

\*(T<--min-level\*(T> level

Lowest LOD level to seed (default=0)

\*(T<--max-level\*(T> level

Highest LOD level to seed (default=highest available)

\*(T<--bounds\*(T> xmin ymin xmax ymax

Geospatial bounding box to seed (in map coordinates; default=entire map)

\*(T<--index\*(T> shapefile

Loads a shapefile (.shp) and uses the feature extents to set the cache seeding bounding box(es). For each feature in the shapefile, adds a bounding box (similar to \*(T<--bounds\*(T>) to constrain the region you wish to cache.

\*(T<--cache-path\*(T> path

Overrides the cache path in the .earth file

\*(T<--cache-type\*(T> type

Overrides the cache type in the .earth file

\*(T<--purge\*(T>

Purges a layer cache in a .earth file

file.earth

Path to the earth file