Skip to main content

Constants for the fields of the /visualize/image/heatmap request.

Option fields

projection

Constants for projection.

pub const EPSG_3857: &str = “EPSG:3857”;
pub const EPSG_4326: &str = “EPSG:4326”;
pub const EPSG_102100: &str = “EPSG:102100”;
pub const EPSG_900913: &str = “EPSG:900913”;
pub const PLATE_CARREE: &str = “PLATE_CARREE”;
pub const WEB_MERCATOR: &str = “WEB_MERCATOR”;
pub const _3857: &str = “3857”;
pub const _102100: &str = “102100”;
pub const _900913: &str = “900913”;

style_options

Constants for style_options.

pub const ACCENT: &str = “accent”;
pub const AFMHOT: &str = “afmhot”;
pub const AUTUMN: &str = “autumn”;
pub const BG_COLOR: &str = “bg_color”;

Background color of the generated image.

pub const BINARY: &str = “binary”;
pub const BLUES: &str = “blues”;
pub const BLUR_RADIUS: &str = “blur_radius”;

Blurring radius for the heat map.

pub const BONE: &str = “bone”;
pub const BRBG: &str = “brbg”;
pub const BRG: &str = “brg”;
pub const BUGN: &str = “bugn”;
pub const BUPU: &str = “bupu”;
pub const BWR: &str = “bwr”;
pub const CMRMAP: &str = “cmrmap”;
pub const COLORMAP: &str = “colormap”;

Colormap for the heat map.

pub const COOL: &str = “cool”;
pub const COOLWARM: &str = “coolwarm”;
pub const COPPER: &str = “copper”;
pub const CUBEHELIX: &str = “cubehelix”;
pub const DARK2: &str = “dark2”;
pub const FLAG: &str = “flag”;
pub const GIST_EARTH: &str = “gist_earth”;
pub const GIST_GRAY: &str = “gist_gray”;
pub const GIST_HEAT: &str = “gist_heat”;
pub const GIST_NCAR: &str = “gist_ncar”;
pub const GIST_RAINBOW: &str = “gist_rainbow”;
pub const GIST_STERN: &str = “gist_stern”;
pub const GIST_YARG: &str = “gist_yarg”;
pub const GNBU: &str = “gnbu”;
pub const GNUPLOT: &str = “gnuplot”;
pub const GNUPLOT2: &str = “gnuplot2”;
pub const GRADIENT_END_COLOR: &str = “gradient_end_color”;

User defined gradient end color for the heat map.

pub const GRADIENT_START_COLOR: &str = “gradient_start_color”;

User defined gradient start color for the heat map.

pub const GRAY: &str = “gray”;
pub const GREENS: &str = “greens”;
pub const GREYS: &str = “greys”;
pub const HOT: &str = “hot”;
pub const HSV: &str = “hsv”;
pub const INFERNO: &str = “inferno”;
pub const JET: &str = “jet”;
pub const MAGMA: &str = “magma”;
pub const NIPY_SPECTRAL: &str = “nipy_spectral”;
pub const OCEAN: &str = “ocean”;
pub const ORANGES: &str = “oranges”;
pub const ORRD: &str = “orrd”;
pub const PAIRED: &str = “paired”;
pub const PASTEL1: &str = “pastel1”;
pub const PASTEL2: &str = “pastel2”;
pub const PINK: &str = “pink”;
pub const PIYG: &str = “piyg”;
pub const PLASMA: &str = “plasma”;
pub const PRGN: &str = “prgn”;
pub const PRISM: &str = “prism”;
pub const PUBU: &str = “pubu”;
pub const PUBUGN: &str = “pubugn”;
pub const PUOR: &str = “puor”;
pub const PURD: &str = “purd”;
pub const PURPLES: &str = “purples”;
pub const RAINBOW: &str = “rainbow”;
pub const RDBU: &str = “rdbu”;
pub const RDGY: &str = “rdgy”;
pub const RDPU: &str = “rdpu”;
pub const RDYLBU: &str = “rdylbu”;
pub const RDYLGN: &str = “rdylgn”;
pub const REDS: &str = “reds”;
pub const SEISMIC: &str = “seismic”;
pub const SET1: &str = “set1”;
pub const SET2: &str = “set2”;
pub const SET3: &str = “set3”;
pub const SPECTRAL: &str = “spectral”;
pub const SPRING: &str = “spring”;
pub const SUMMER: &str = “summer”;
pub const TERRAIN: &str = “terrain”;
pub const VIRIDIS: &str = “viridis”;
pub const WINTER: &str = “winter”;
pub const WISTIA: &str = “wistia”;
pub const YLGN: &str = “ylgn”;
pub const YLGNBU: &str = “ylgnbu”;
pub const YLORBR: &str = “ylorbr”;
pub const YLORRD: &str = “ylorrd”;