Documentation ¶
Overview ¶
Package imppoints implements a command to import taxon distribution ranges from a list of specimen records.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &command.Command{
Usage: `imp.points [-e|--equator <value>] [--age <age>]
[-f|--format <format>] [-o|--output <file>] [<input-file>...]`,
Short: "import a list of specimen records",
Long: `
Command imp.points reads one or more files with specimen records, and import
them into a range map into a isolatitude pixelation.
One or more input files can be given as arguments for the command. If no file
is given, the input will be read from the standard input. By default the files
will be simple text files, delimited by tab character and with the following
fields: "species", "latitude", and "longitude". Using the flag --format, or -f,
an alternative format can be defined. Valid formats are:
darwin DarwinCore format using tab characters as delimiters (i.e. as
files download from GBIF). Key fields are: "species",
"decimalLatitude", and "decimalLongitude".
pbdb Tab-delimited files downloaded from PaleoBiology DataBase, the
following fields are required: "accepted_name", "lat", and
"lng".
csv Darwin core files, but using commas as delimiters.
text The default value, a simple tab-delimited file, with the
following fields: "species", "latitude", and "longitude".
By default the output will be printed in the standard output. If the flag
--output, or -o, is defined the indicated file will be used as output. If the
file exists, points will be added to the indicated file.
By default the pixelation will of 360 pixels at the equator. This can be
changed with the flag --equator, or -e. If an output file is defined, and the
file exists, then the pixelation will be read from that file.
By default points will be set at present time. Use flag --age to set a
different time. Take into account that this command does not make any rotation,
so the locations will be set at the given age, assuming that the indicated
coordinates are real paleo-coordinates. The age is set in million years.
`,
SetFlags: setFlags,
Run: run,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.