CLI Reference
The following reference covers all subcommands and options you can pass to the cassini program.
cassini process
Generate a map from a single LiDAR (an acronym of “light detection and ranging” or “laser imaging, detection, and ranging”) is a method for determining ranges by targeting an object or a surface with a laser and measuring the time for the reflected light to return to the receiver. LiDAR (an acronym of “light detection and ranging” or “laser imaging, detection, and ranging”) is a method for determining ranges by targeting an object or a surface with a laser and measuring the time for the reflected light to return to the receiver.process subcommand takes the path to the
cassini process path\to\my\tile.lazcassini process ./path/to/my/tile.lazcassini process ./path/to/my/tile.lazOptions
--output-dir or -o
Type: string
Default: tile
The output directory for the processed LiDAR file.
This subcommand also accepts the common rendering options.
cassini lidar
Run only the LiDAR processing step for a single tile. The LiDAR (an acronym of “light detection and ranging” or “laser imaging, detection, and ranging”) is a method for determining ranges by targeting an object or a surface with a laser and measuring the time for the reflected light to return to the receiver.lidar subcommand takes the path to the
cassini lidar path\to\my\tile.lazcassini lidar ./path/to/my/tile.lazcassini lidar ./path/to/my/tile.lazOptions
--output-dir or -o
Type: string
Default: lidar
The output directory for the processed LiDAR (an acronym of “light detection and ranging” or “laser imaging, detection, and ranging”) is a method for determining ranges by targeting an object or a surface with a laser and measuring the time for the reflected light to return to the receiver.
cassini render
Run only the map rendering step for a single tile. The LiDAR (an acronym of “light detection and ranging” or “laser imaging, detection, and ranging”) is a method for determining ranges by targeting an object or a surface with a laser and measuring the time for the reflected light to return to the receiver.render subcommand takes the path to the directory containing the output of the
cassini render path\lidar\step\output\directorycassini render ./path/to/lidar/step/output/directorycassini render ./path/to/lidar/step/output/directoryOptions
--output-dir or -o
Type: string
Default: tile
The output directory for the processed tile.
--neighbors or -n
Type: string[]
A list of directories containing the output of the LiDAR (an acronym of “light detection and ranging” or “laser imaging, detection, and ranging”) is a method for determining ranges by targeting an object or a surface with a laser and measuring the time for the reflected light to return to the receiver.
This subcommand also accepts the common rendering options.
cassini batch
Process multiple LiDAR (an acronym of “light detection and ranging” or “laser imaging, detection, and ranging”) is a method for determining ranges by targeting an object or a surface with a laser and measuring the time for the reflected light to return to the receiver. LiDAR (an acronym of “light detection and ranging” or “laser imaging, detection, and ranging”) is a method for determining ranges by targeting an object or a surface with a laser and measuring the time for the reflected light to return to the receiver.batch subcommand takes the path to the directory containing the in:
cassini batchOptions
--output-dir or -o
Type: string
Default: out
The output directory for the processed LiDAR files.
--threads or -t
Type: number
Default: 3
In batch mode, you can specify the number of In computer science, a thread is the smallest unit of execution within a process, allowing tasks to run concurrently within the same program. Threads share the same memory space and resources of the process they belong to, enabling efficient multitasking and parallelism. They are commonly used to perform multiple operations simultaneously, improving the performance and responsiveness of applications.
cassini batch --threads 6--skip-lidar
Type: boolean
The LiDAR (an acronym of “light detection and ranging” or “laser imaging, detection, and ranging”) is a method for determining ranges by targeting an object or a surface with a laser and measuring the time for the reflected light to return to the receiver.--skip-lidar option will skip the cassini once with the same input files, as it will reuse some temp files.
This subcommand also accepts the common rendering options.
cassini config
Output a default config.json file, that you can edit to modify the map rendering parameters.
cassini config{ "yellow_threshold": 0.5, "green_threshold_1": 0.2, "green_threshold_2": 1.0, "green_threshold_3": 2.0, "cliff_threshold_1": 45.0, "cliff_threshold_2": 55.0, "dpi_resolution": 600.0}cassini help
Print a help message:
A software that generates highly accurate topographic maps from LiDAR data. See documentation: https://cassini-map.com. GDAL and PDAL must be installed on the system for this program to work.
Usage: cassini [COMMAND]
Commands: process Generate a map from a single LiDAR file lidar Run only the LiDAR processing step for a single tile render Run only the map generation step for a single tile batch Process multiple LiDAR files at once config Output a default config.json file help Print this message or the help of the given subcommand(s)
Options: -h, --help Print help (see more with '--help') -V, --version Print versionThe help message is olso printed if cassini is called without any arguments.
Common rendering options
The following options are available for the process, render and batch subcommands.
--skip-vector
Type: boolean
The The OpenStreetMap project is a collaborative, open-source initiative that creates and provides free geographic data and mapping to anyone who wants to use it. Built and maintained by a global community of volunteers, it offers detailed and editable maps, which are used in various applications, from navigation to urban planning. OpenStreetMap emphasizes openness and accessibility, allowing users to contribute and access data freely.--skip-vector option will skip the vector processing stage of the pipeline. No file will be downloaded from
--skip-520
Type: boolean
The --skip-520 option will prevent the vector renderer to draw the 520 area that shall not be entered symbol.
--undergrowth
Type: none | merge | 406 | 409
Default: merge
The undergrowth rendering mode. The possible values are:
none: No undergrowth is rendered.merge: Undergrowth is merged with the vegetation rendering (default mode).406: Undergrowth is rendered as the 406 vegetation: slow running symbol.409: Undergrowth is rendered as the 409 vegetation: walk, good visibility symbol.
Common options
--help or -h
Same than cassini help or cassini
--version or -V
Print the cassini version
cassini 0.4.0