Skip to main content

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

Option fields

options

Constants for options.

pub const ALPHA_BLENDING: &str = “alpha_blending”;
pub const ANTIALIASING: &str = “antialiasing”;
pub const FEATHER: &str = “feather”;
pub const ORDER_CLASSES: &str = “order_classes”;
pub const ORDER_LAYERS: &str = “order_layers”;
pub const POINTCOLOR_ATTR: &str = “pointcolor_attr”;
pub const SHAPEFILLCOLOR_ATTR: &str = “shapefillcolor_attr”;
pub const SHAPE_RENDERER: &str = “shape_renderer”;
pub const TRACK_ID_COLUMN_NAME: &str = “track_id_column_name”;

The name of the column in which tracks should be grouped.

pub const TRACK_ORDER_COLUMN_NAME: &str = “track_order_column_name”;

The name of the column by which tracks should be ordered.

pub const TRACK_SIMPLIFICATION_THRESHOLD: &str = “track_simplification_threshold”;
pub const USE_POINT_RENDERER: &str = “use_point_renderer”;

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 CIRCLE: &str = “circle”;
pub const DASH: &str = “dash”;
pub const DIAMOND: &str = “diamond”;
pub const DOT: &str = “dot”;
pub const DO_POINTS: &str = “do_points”;

Rasterize point data toggle.

pub const DO_SHAPES: &str = “do_shapes”;

Rasterize shapes toggle.

pub const DO_SYMBOLOGY: &str = “do_symbology”;

Rasterize symbols toggle.

pub const DO_TRACKS: &str = “do_tracks”;

Rasterize tracks toggle.

pub const FALSE: &str = “false”;
pub const HASHLINEANGLES: &str = “hashlineangles”;

Clockwise rotation angle from a perpendicular hash line to hash lines in degree.

pub const HASHLINECOLORS: &str = “hashlinecolors”;

RGB color values in hex for the hash lines.

pub const HASHLINEINTERVALS: &str = “hashlineintervals”;

Distance between the center points of hash lines in pixels.

pub const HASHLINELENS: &str = “hashlinelens”;

Length of hash lines in pixels.

pub const HASHLINEWIDTHS: &str = “hashlinewidths”;

Width of hash lines in pixels.

pub const HOLLOWCIRCLE: &str = “hollowcircle”;
pub const HOLLOWDIAMOND: &str = “hollowdiamond”;
pub const HOLLOWSQUARE: &str = “hollowsquare”;
pub const HOLLOWSQUAREWITHPLUS: &str = “hollowsquarewithplus”;
pub const NONE: &str = “none”;
pub const ORIENTED_ARROW: &str = “oriented_arrow”;
pub const ORIENTED_TRIANGLE: &str = “oriented_triangle”;
pub const PIPE: &str = “pipe”;
pub const PLUS: &str = “plus”;
pub const POINTCOLORS: &str = “pointcolors”;

RGB color value in hex for the points.

pub const POINTOFFSET_X: &str = “pointoffset_x”;

Points’ X coordinate offset in pixels.

pub const POINTOFFSET_Y: &str = “pointoffset_y”;

Points’ Y coordinate offset in pixels.

pub const POINTSHAPES: &str = “pointshapes”;

Shape of the point.

pub const POINTSIZES: &str = “pointsizes”;

Size of points.

pub const SHAPEFILLCOLORS: &str = “shapefillcolors”;

RGB color values in hex for the fill color of the shapes. Use ‘-1’ for no fill.

pub const SHAPELINECOLORS: &str = “shapelinecolors”;

RGB color values in hex for the line.

pub const SHAPELINEPATTERNLEN: &str = “shapelinepatternlen”;

Length of the dashed line pattern in number of bits.

pub const SHAPELINEPATTERNS: &str = “shapelinepatterns”;

Dashed line pattern represented as a 64bit bitmap.

pub const SHAPELINEWIDTHS: &str = “shapelinewidths”;

Width of the lines.

pub const SQUARE: &str = “square”;
pub const SYMBOLCODE: &str = “symbolcode”;
pub const SYMBOLROTATIONS: &str = “symbolrotations”;

An expression to specify the rotation angle to be applied to symbol rendering.

pub const TRACKHEADCOLORS: &str = “trackheadcolors”;

Color of track head markers.

pub const TRACKHEADSHAPES: &str = “trackheadshapes”;

Shape of track head markers.

pub const TRACKHEADSIZES: &str = “trackheadsizes”;

Size of track head markers.

pub const TRACKLINECOLORS: &str = “tracklinecolors”;

RGB color values for the track lines.

pub const TRACKLINEWIDTHS: &str = “tracklinewidths”;

Width of the track lines. ‘0’ implies do not draw track lines.

pub const TRACKMARKERCOLORS: &str = “trackmarkercolors”;

Color of the track point markers.

pub const TRACKMARKERSHAPES: &str = “trackmarkershapes”;

Shape of track point markers.

pub const TRACKMARKERSIZES: &str = “trackmarkersizes”;

Size of the track point markers.

pub const TRUE: &str = “true”;