mapcmd

package
v0.0.0-...-29b4d2c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: BSD-2-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package mapcmd implements a command to draw the geographic range of taxon in a map.

Index

Constants

This section is empty.

Variables

View Source
var Command = &command.Command{
	Usage: `map [-c|--columns] [-t|--taxon <name>]
	[--bg <image>]
	[--timepix <time-pixelation>] [--gray] [--key <key-file>]
	-o|--output <out-img-file> [<rng-file>...]`,
	Short: "draw a map of a taxon geographic range",
	Long: `
Package map draws the geographic range of the indicated taxon using a plate
carrée (equirectangular) projection.

One or more range files can be given as arguments. If no file is given, the
ranges will be read from the standard input.

Flag --output, or -o, is required and sets the name of the output image. If
multiple taxa are used, the taxon name, taxon age and type of range will be
append to the name of the image. By default the background image will be empty,
if the flag --bg is given, the indicated image will be used as the background,
or if the flag --timepix is defined, the indicated time pixelation will be used
as background. This alternative is useful if the taxa have different ages. Keys
for the time pixelation values can be defined with the flag --key, and flag
--gray uses gray colors (so ranges will be easier to see). By default the
output image will be 3600 pixels wide, use the flag --columns, or -c, to define
a different number of image columns.

By default maps for all taxa will be produced. Use the flag -taxon to define a
particular taxon to be mapped.
	`,
	SetFlags: setFlags,
	Run:      run,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL