Skip to main content

Module cli

Module cli 

Source
Expand description

Top-level command dispatch.

The tile pipeline predates subcommands and is invoked as bare flags (geolith --data … --output …). Introducing terrain and splat-tiles as clap subcommands on the same parser would make those flags ambiguous, so dispatch keys off the first argument: a recognised verb selects a subcommand, anything else parses as the original flat tile config.

Structs§

AreasArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset areas.
AreasDownloadArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset downloads areas.
BuildArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset build.
CheckDownloadArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset downloads check.
DatasetArgs
The dataset command tree; the module owns its own args. Build a raster dataset: district areas, normals and per-period files.
DownloadsArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset downloads.
InspectArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset inspect.
KeysArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset keys.
NormalsArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset normals.
NoticesArgs
Print the notices of the third-party code and data geolith builds on.
NumbersDownloadArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset downloads numbers.
RasterArgs
Archive raster tiles from an XYZ/WMTS endpoint into PMTiles.
ReconstructArgs
Drone video → OGC 3D Tiles via ffmpeg → COLMAP → brush → splat-tiles.
SplatTilesArgs
Build an OGC 3D Tiles tileset from a trained Gaussian splat PLY.
StageArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset stage.
StatusArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset status.
TerrainArgs
Build Terrain-RGB raster-dem PMTiles from a GeoTIFF DEM.
ValuesArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset values.
VerifyArgs
The dataset command tree; the module owns its own args. Flags of geolith dataset verify.

Enums§

Command
A parsed top-level command.
DatasetAction
The dataset command tree; the module owns its own args. A step of the raster dataset builder.
DownloadsAction
The dataset command tree; the module owns its own args. A step of geolith dataset downloads.

Constants§

LONG_VERSION
What geolith --version prints after the version number.
NOTICE
The notices of the code and data geolith builds on, printed by geolith notices.

Functions§

is_subcommand
Whether argument names a subcommand rather than a flag.
parse_args
Parse the process arguments, exiting with clap’s diagnostics on failure.
parse_from
Parse a full argv into a Command.