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: StringMinimum isoline value to be shown.
max_level: StringMaximum isoline value to be shown.
num_levels: StringNumber of equally separated isolines to be shown. Server default: 10.
adjust_levels: StringRecompute 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: StringNeighborhood of influence of sample data (in percent of the image/grid). Server default: 20.
max_search_cells: StringAdvanced: Maximum number of cells to use once the search radius has been converted from percentage to cells. Server default: 100.
gridding_method: StringMethods produce a to regularly spaced, rectangular array of values from potentially irregularly spaced XY-val data. Server default: INV_DST_POW.
smoothing_factor: StringInverse Distance to a Power gridding method: Amount of smoothing of the contribution of neighboring points. Server default: 10.
grid_size: StringNumber 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: StringAuto-adjust: Allows the grid size and search radius to be varied based on data in the viewport. Server default: false.
adjust_grid_neigh: StringAdvanced: k-means parameters used to estimate the clustering of the data when auto-adjust is enabled. Server default: 1.
adjust_grid_size: StringAdvanced: Size of the sampling grid used to compute the fill and clustering ratios when auto-adjust is enabled. Server default: 1.
max_grid_size: StringAdvanced: Upper limit of the grid size when auto-adjust is enabled. Server default: 500.
min_grid_size: StringAdvanced: Lower limit of the grid size when auto-adjust is enabled. Server default: 10.
render_output_grid: StringAdd the grid used to build the contour in the response. Server default: false.
color_isolines: StringColor each isoline according to the colormap; otherwise, use the foreground color. This should not be used with flooded contours. Server default: true.
add_labels: StringLabels the isolines in the image. Server default: false.
labels_font_size: StringFont size to be unsed when adding labels, in pixels. Server default: 12.
labels_font_family: StringFont name to be unsed when adding labels. Server default: sans.
labels_search_window: StringWhen 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: StringWhen 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: StringWhen 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: StringMaximum angle from the vertical to use when adding labels, in degrees. Server default: 60.
isochrone_concavity: StringUsed 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: StringUsed 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: StringUsed when the contours are supposed to be isochrones: Returns the image of isochrones in the response when true. Server default: false.
Implementations
Trait Implementations
fn clone(&self) -> VisualizeImageContourRequestOptions
fn clone_from(&mut self, source: &Self)
source. Read more