Skip to main content
pub struct VisualizeImageContourRequestOptions 

    pub min_level: String,
    pub max_level: String,
    pub num_levels: String,
    pub adjust_levels: String,
    pub search_radius: String,
    pub max_search_cells: String,
    pub gridding_method: String,
    pub smoothing_factor: String,
    pub grid_size: String,
    pub adjust_grid: String,
    pub adjust_grid_neigh: String,
    pub adjust_grid_size: String,
    pub max_grid_size: String,
    pub min_grid_size: String,
    pub render_output_grid: String,
    pub color_isolines: String,
    pub add_labels: String,
    pub labels_font_size: String,
    pub labels_font_family: String,
    pub labels_search_window: String,
    pub labels_intralevel_separation: String,
    pub labels_interlevel_separation: String,
    pub labels_max_angle: String,
    pub isochrone_concavity: String,
    pub isochrone_output_table: String,
    pub isochrone_image: String,

Optional parameters for the /visualize/image/contour endpoint.

Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.

Fields

min_level: String

Minimum isoline value to be shown.

max_level: String

Maximum isoline value to be shown.

num_levels: String

Number of equally separated isolines to be shown. Server default: 10.

adjust_levels: String

Recompute the minimum and maximum level based on the data of the viewport. Specifying this will ignore the values for ‘min_level’ and ‘max_level’. Server default: true.

search_radius: String

Neighborhood of influence of sample data (in percent of the image/grid). Server default: 20.

max_search_cells: String

Advanced: Maximum number of cells to use once the search radius has been converted from percentage to cells. Server default: 100.

gridding_method: String

Methods produce a to regularly spaced, rectangular array of values from potentially irregularly spaced XY-val data. Server default: INV_DST_POW.

smoothing_factor: String

Inverse Distance to a Power gridding method: Amount of smoothing of the contribution of neighboring points. Server default: 10.

grid_size: String

Number of subdivisions alongs the x axis when building the grid (the y is computed using the aspect ratio of the output image). Server default: 100.

adjust_grid: String

Auto-adjust: Allows the grid size and search radius to be varied based on data in the viewport. Server default: false.

adjust_grid_neigh: String

Advanced: k-means parameters used to estimate the clustering of the data when auto-adjust is enabled. Server default: 1.

adjust_grid_size: String

Advanced: Size of the sampling grid used to compute the fill and clustering ratios when auto-adjust is enabled. Server default: 1.

max_grid_size: String

Advanced: Upper limit of the grid size when auto-adjust is enabled. Server default: 500.

min_grid_size: String

Advanced: Lower limit of the grid size when auto-adjust is enabled. Server default: 10.

render_output_grid: String

Add the grid used to build the contour in the response. Server default: false.

color_isolines: String

Color each isoline according to the colormap; otherwise, use the foreground color. This should not be used with flooded contours. Server default: true.

add_labels: String

Labels the isolines in the image. Server default: false.

labels_font_size: String

Font size to be unsed when adding labels, in pixels. Server default: 12.

labels_font_family: String

Font name to be unsed when adding labels. Server default: sans.

labels_search_window: String

When placing labels on isolines, a search window is used to rate the local quality of each isoline. Smooth, continuous, long stretches with relatively flat angles are favored. The given number multiplied by the font size to get the final window size to use. Server default: 4.

labels_intralevel_separation: String

When labels are enabled, labels are separated to avoid overlap: This specifies the distance certain distance (in multiples of the font size) to use when separating labels of different values. Server default: 4.

labels_interlevel_separation: String

When labels are enabled, more than one label can placed on the same isoline: This specifies the distance certain distance (in percent of the total window size) to use when separating labels of the same value. Server default: 20.

labels_max_angle: String

Maximum angle from the vertical to use when adding labels, in degrees. Server default: 60.

isochrone_concavity: String

Used when the contours are supposed to be isochrones: Factor to qualify the concavity of the isocrhone curves, 0 for completely convex, 1 to maximize concavity. A negative value means this is not a an isochrone curve. Server default: -1.

isochrone_output_table: String

Used when the contours are supposed to be isochrones: Name of the table which would contain the isochrones as one WKT per level. Skipped if empty.

isochrone_image: String

Used when the contours are supposed to be isochrones: Returns the image of isochrones in the response when true. Server default: false.

Implementations

Source

pub fn to_map(&self) -> HashMap<String, String>

Converts the set (non-empty) options into the wire-format string map.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more