Documentation ¶
Overview ¶
Package pixel implements a command to get the a pixel location in a pixelation based on an equal area partitioning.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &command.Command{
Usage: "pixel [-e|--equator <value>] [--id] [<value>...]",
Short: "get pixel location",
Long: `
Command pixel retrieves a pixel location in a pixelation based on an equal
area partitioning of a sphere for one or more values given as arguments.
Values to be retrieved will be read as arguments. If no argument is given then
values will be read from the standard input, one value per line, ignoring lines
starting with '#' character.
By default the values are reads as coordinates, with the first argument being
the latitude and the second the latitude. Note that they must be separated
arguments. If the first latitude is negative use "--" before the value
(otherwise the value will be interpreted as a flag). For coordinates the pixel
ID in the equal area pixelation will be retrieved. If the flag --id is
defined, then values will be read as pixel IDs in the pixelation, and the
geographic coordinates of the central point of the pixel will be retrieved.
By default the pixelation will be of 360 pixels at the equator. Use the flag
--equator, or -e, to define a different pixelation.
`,
SetFlags: setFlags,
Run: run,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.