PlotMapLayer

Defines the content of a map of PlotMap. Multiple layers are are plotted sequentially.

GriddedData

Creates a regular grid of yxz values. The standard dataVariables are available to select the data column of inputfileGriddedData. Empty grid cells are not plotted. Cells with more than one value will be set to the mean value. The grid spacing can be determined automatically for regular rectangular grids otherwise it must be set with increment. To get a better display together with some projections the grid should be internally resampled to higher resolution. It is assumed that the points of inputfileGriddedData represents centers of grid cells. This assumption can be changed with gridlineRegistered (e.g if the data starts at the north pole).

NameTypeAnnotation
inputfileGriddedData
filename
value
expressionexpression to compute values (input columns are named data0, data1, ...)
increment
anglethe grid spacing [degrees]
illuminate
booleanilluminate grid
resample
sequence
intermediateDpi
doubleoversample grid for a smoother visual effect
interpolationMethod
choiceinterpolation method for oversampling
bspline
B-Spline interpolation
bicubic
bicubic interpolation
bilinear
bilinear interpolation
nearest
nearest neighbour interpolation
threshold
doubleA threshold of 1.0 requires all (4 or 16) nodes involved in interpolation to be non-NaN. 0.5 will interpolate about half way from a non-NaN value; 0.1 will go about 90% of the way.
gridlineRegistered
booleantreat input as point values instead of cell means

Points

Draws points (symbol) and/or lines between the points. If no color of the symbol is given a colorbar is required and the color is determined by the value expression. The standard dataVariables are available to select the data column of inputfileGriddedData.

NameTypeAnnotation
inputfileGriddedData
filename
value
expressionexpression to compute color (input columns are named data0, data1, ...)
symbol
plotSymbol
line
plotLinestyle of connecting lines
drawLineAsGreatCircle
booleandraw connecting lines as great circles (otherwise, a straight line is drawn instead)

Arrows

Draws an arrow for each point in inputfileGriddedData. The arrows are defined by the expressions valueNorth/East. The standard dataVariables are available to select the correspondent data columns of inputfileGriddedData. The scale factor converts the input units to cm in the plot. If no color is given a colorbar is required and the color is determined by the value expression. With scaleArrow a reference arrow as legend can be plotted inside or outside the map.

NameTypeAnnotation
inputfileGriddedData
filenamegrid file with north and east values for arrows
valueNorth
expressionexpression to compute north values (input columns are named data0, data1, ...)
valueEast
expressionexpression to compute east values (input columns are named data0, data1, ...)
value
expressionexpression to compute arrow color (input columns are named data0, data1, ...)
scale
double[cm per input unit] length scale factor
penSize
double[pt] width of arrow shaft
headSize
double[pt] size of arrow head, 0: no head, negative: reverse head
color
plotColorempty: from value
scaleArrow
sequencedraw an arrow for scale reference
originX
double[0-1] 0: left, 1: right
originY
double[0-1] 0: bottom, 1: top
length
doublein same unit as valueNorth and valueEast
unit
stringdisplayed unit text (e.g. 1 cm)
label
stringdescription of the arrows

Polygon

Draws a inputfilePolygon. If fillColor is not set and a value is given the fill color is taken from a colorbar.

NameTypeAnnotation
inputfilePolygon
filename
line
plotLinestyle of border lines
fillColor
plotColorpolygon fill color (no fill color: determine from value if given, else: no fill)
value
doublevalue to compute fill color from a colorbar (ignored if a fillColor is given)
drawLineAsGreatCircle
booleandraw connecting lines as great circles (otherwise, a straight line is drawn instead)

Coast

Plots coastlines. GMT provides them in different resolutions. Features with an area smaller than minArea in $km^2$ will not be plotted.

NameTypeAnnotation
resolution
choice
crude
low
medium
high
full
line
plotLineline style for coastlines
landColor
plotColorfill land area
oceanColor
plotColorfill ocean area
minArea
uint[km^2] features with a smaller area than this are dropped

Rivers

Plots rivers and lakes. GMT provides different classes (https://docs.generic-mapping-tools.org/latest/coast.html).

NameTypeAnnotation
class
choice
riversCanalsLakes
riversCanals
permanentRiversLakes
permanentRivers
intermittentRivers
canals
singleClass
sequence
class
uint0-10. See GMT documentation
line
plotLine

PoliticalBoundary

Plots national boundaries. GMT provides them in different resolutions.

NameTypeAnnotation
resolution
choice
crude
low
medium
high
full
line
plotLine

BlueMarble

An image of the Earth's surface as seen from outer space - the image is known as blue marble. The directory of inputfileChannels contains several files in different resolutions representing the Earth's surface each month throughout a year.

blueMarble
Figure: The blue marble.

NameTypeAnnotation
inputfileImage
filenameBlue Marble image file
brightness
doublebrightness of bitmap [-1, 1]
illuminate
sequenceadd hillshade based on topography
inputfileTopography
filenameGMT grid file containing topography.
azimuth
angledirection of lighting source [deg]
elevation
angledirection of lighting source [deg]
ambient
doubleambient lighting
diffuse
doublediffuse lighting
specular
doublespecular reflection
shine
doublesurface shine
amplitude
doublescale gradient by factor

Text

Writes a text at originLongitude and originLatitude position in the map. With clip the text is cutted at the boundaries of the plotting area.

NameTypeAnnotation
text
string
originLongitude
angle[deg]
originLatitude
angle[deg]
offsetX
double[cm] x-offset from origin
offsetY
double[cm] y-offset from origin
alignment
stringL, C, R (left, center, right) and T, M, B (top, middle, bottom)
fontSize
double
fontColor
plotColor
clip
booleanclip at boundaries