Define image size variables from the given bounding box coordinates.

define_image_size(bbox, major_dim = 400)

Arguments

bbox

bounding box coordinates (list of 2 points with long/lat values)

major_dim

major image dimension, in pixels. Default is 400 (meaning larger dimension will be 400 pixels)

Value

list with items "width", "height", and "size" (string of format "<width>,<height>")