pub struct VisualizeIsochroneRequest
pub graph_name: String,
pub source_node: String,
pub max_solution_radius: f64,
pub weights_on_edges: Vec<String>,
pub restrictions: Vec<String>,
pub num_levels: i32,
pub generate_image: bool,
pub levels_table: String,
pub style_options: HashMap<String, String>,
pub solve_options: HashMap<String, String>,
pub contour_options: HashMap<String, String>,
pub options: HashMap<String, String>,
The request payload for the /visualize/isochrone endpoint.
Draw isolines for travel results.
Fields
graph_name: StringName of the graph on which the isochrone is to be computed.
source_node: StringStarting vertex on the underlying graph from/to which the isochrones are created.
max_solution_radius: f64Extent of the search radius around source_node. Set to ‘-1.0’ for unrestricted search radius.
weights_on_edges: Vec<String>Additional weights to apply to the edges of an existing graph. Weights must be specified using identifiers; identifiers are grouped as combinations. Identifiers can be used with existing column names, e.g., ‘table.column AS WEIGHTS_EDGE_ID’, or expressions, e.g., ‘ST_LENGTH(wkt) AS WEIGHTS_VALUESPECIFIED’. Any provided weights will be added (in the case of ‘WEIGHTS_VALUESPECIFIED’) to or multiplied with (in the case of ‘WEIGHTS_FACTORSPECIFIED’) the existing weight(s).
restrictions: Vec<String>Additional restrictions to apply to the nodes/edges of an existing graph. Restrictions must be specified using identifiers; identifiers are grouped as combinations. Identifiers can be used with existing column names, e.g., ‘table.column AS RESTRICTIONS_EDGE_ID’, or expressions, e.g., ‘column/2 AS RESTRICTIONS_VALUECOMPARED’. If remove_previous_restrictions is set to true, any provided restrictions will replace the existing restrictions. If remove_previous_restrictions is set to false, any provided restrictions will be added (in the case of ‘RESTRICTIONS_VALUECOMPARED’) to or replaced (in the case of ‘RESTRICTIONS_ONOFFCOMPARED’).
num_levels: i32Number of equally-separated isochrones to compute.
generate_image: boolIf set to true, generates a PNG image of the isochrones in the response.
levels_table: StringName of the table to output the isochrones to, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. The table will contain levels and their corresponding WKT geometry. If no value is provided, the table is not generated.
style_options: HashMap<String, String>Various style related options of the isochrone image.
solve_options: HashMap<String, String>Solver specific parameters.
contour_options: HashMap<String, String>Contour specific parameters.
options: HashMap<String, String>Additional parameters.
Trait Implementations
impl Clone for VisualizeIsochroneRequest
fn clone(&self) -> VisualizeIsochroneRequest
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Debug for VisualizeIsochroneRequest
impl Default for VisualizeIsochroneRequest
impl<‘de> Deserialize<‘de> for VisualizeIsochroneRequest
fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,
fn avro_schema(&self) -> &‘static str
fn use_compression() -> bool
KineticaOptions::use_snappy enabled. Read more