A set of parameters for Kinetica.visualizeIsochrone. More…
Classes | |
| struct | ContourOptions |
| A set of string constants for the parameter VisualizeIsochroneRequest.contour_options. More… | |
| struct | GenerateImage |
| A set of string constants for the parameter VisualizeIsochroneRequest.generate_image. More… | |
| struct | Options |
| A set of string constants for the parameter VisualizeIsochroneRequest.options. More… | |
| struct | SolveOptions |
| A set of string constants for the parameter VisualizeIsochroneRequest.solve_options. More… | |
| struct | StyleOptions |
| A set of string constants for the parameter VisualizeIsochroneRequest.style_options. More… | |
Public Member Functions | |
| VisualizeIsochroneRequest () | |
| Constructs a VisualizeIsochroneRequest object with default parameters. | |
| VisualizeIsochroneRequest (string graph_name, string source_node, double? max_solution_radius, IList< string > weights_on_edges, IList< string > restrictions, int? num_levels, bool? generate_image, string levels_table, IDictionary< string, string > style_options, IDictionary< string, string > solve_options=null, IDictionary< string, string > contour_options=null, IDictionary< string, string > options=null) | |
| Constructs a VisualizeIsochroneRequest object with the specified parameters. | |
| VisualizeIsochroneRequest () | |
| Constructs a VisualizeIsochroneRequest object with default parameters. | |
| VisualizeIsochroneRequest (string graph_name, string source_node, double? max_solution_radius, IList< string > weights_on_edges, IList< string > restrictions, int? num_levels, bool? generate_image, string levels_table, IDictionary< string, string > style_options, IDictionary< string, string > solve_options=null, IDictionary< string, string > contour_options=null, IDictionary< string, string > options=null) | |
| Constructs a VisualizeIsochroneRequest object with the specified parameters. | |
| Public Member Functions inherited from kinetica.KineticaData | |
| KineticaData (KineticaType type) | |
| Constructor from Kinetica Type. | |
| KineticaData (System.Type type=null) | |
| Default constructor, with optional System.Type. | |
| object | Get (int fieldPos) |
| Retrieve a specific property from this object. | |
| void | Put (int fieldPos, object fieldValue) |
| Write a specific property to this object. | |
| KineticaData (KineticaType type) | |
| Constructor from Kinetica Type. | |
| KineticaData (System.Type type=null) | |
| Default constructor, with optional System.Type. | |
| object | Get (int fieldPos) |
| Retrieve a specific property from this object. | |
| void | Put (int fieldPos, object fieldValue) |
| Write a specific property to this object. | |
Properties | |
| string | graph_name [get, set] |
| Name of the graph on which the isochrone is to be computed. | |
| string | source_node [get, set] |
| Starting vertex on the underlying graph from/to which the isochrones are created. | |
| double | max_solution_radius = -1.0 [get, set] |
| Extent of the search radius around VisualizeIsochroneRequest.source_node. | |
| IList< string > | weights_on_edges = new List<string>() [get, set] |
| Additional weights to apply to the edges of an existing graph. | |
| IList< string > | restrictions = new List<string>() [get, set] |
| Additional restrictions to apply to the nodes/edges of an existing graph. | |
| int | num_levels = 1 [get, set] |
| Number of equally-separated isochrones to compute. | |
| bool | generate_image = true [get, set] |
| If set to TRUE, generates a PNG image of the isochrones in the response. | |
| string | levels_table = "" [get, set] |
| Name of the table to output the isochrones to, in [schema_name. | |
| IDictionary< string, string > | style_options = new Dictionary<string, string>() [get, set] |
| Various style related options of the isochrone image. | |
| IDictionary< string, string > | solve_options = new Dictionary<string, string>() [get, set] |
| Solver specific parameters. | |
| IDictionary< string, string > | contour_options = new Dictionary<string, string>() [get, set] |
| Contour specific parameters. | |
| IDictionary< string, string > | options = new Dictionary<string, string>() [get, set] |
| Additional parameters. | |
| Properties inherited from kinetica.KineticaData | |
| Schema | Schema [get] |
| Avro Schema for this class. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from kinetica.KineticaData | |
| static ? RecordSchema | SchemaFromType (System.Type t, KineticaType? ktype=null) |
| Create an Avro Schema from a System.Type and a KineticaType. | |
| static ? RecordSchema | SchemaFromType (System.Type t, KineticaType? ktype=null) |
| Create an Avro Schema from a System.Type and a KineticaType. | |
Detailed Description
A set of parameters for Kinetica.visualizeIsochrone.
Generate an image containing isolines for travel results using an existing graph. Isolines represent curves of equal cost, with cost typically referring to the time or distance assigned as the weights of the underlying graph. See Graphs and Solvers for more information on graphs.
Definition at line 20 of file VisualizeIsochrone.cs.
Constructor & Destructor Documentation
◆ VisualizeIsochroneRequest() [1/4]
| inline |
Constructs a VisualizeIsochroneRequest object with default parameters.
Definition at line 2143 of file VisualizeIsochrone.cs.
◆ VisualizeIsochroneRequest() [2/4]
| inline |
Constructs a VisualizeIsochroneRequest object with the specified parameters.
| graph_name | Name of the graph on which the isochrone is to be computed. |
| source_node | Starting vertex on the underlying graph from/to which the isochrones are created. |
| max_solution_radius | Extent of the search radius around source_node . Set to ‘-1.0’ for unrestricted search radius. The default value is -1.0. |
| weights_on_edges | 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). The default value is an empty List. |
| restrictions | 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’). The default value is an empty List. |
| num_levels | Number of equally-separated isochrones to compute. The default value is 1. |
| generate_image | If set to TRUE, generates a PNG image of the isochrones in the response. Supported values:
|
| levels_table | Name 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. The default value is ”. |
| style_options | Various style related options of the isochrone image.
|
| solve_options | Solver specific parameters.
|
| contour_options | Contour specific parameters.
|
| options | Additional parameters.
|
Definition at line 3059 of file VisualizeIsochrone.cs.
◆ VisualizeIsochroneRequest() [3/4]
| inline |
Constructs a VisualizeIsochroneRequest object with default parameters.
Definition at line 2143 of file VisualizeIsochrone.cs.
◆ VisualizeIsochroneRequest() [4/4]
| inline |
Constructs a VisualizeIsochroneRequest object with the specified parameters.
| graph_name | Name of the graph on which the isochrone is to be computed. |
| source_node | Starting vertex on the underlying graph from/to which the isochrones are created. |
| max_solution_radius | Extent of the search radius around source_node . Set to ‘-1.0’ for unrestricted search radius. The default value is -1.0. |
| weights_on_edges | 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). The default value is an empty List. |
| restrictions | 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’). The default value is an empty List. |
| num_levels | Number of equally-separated isochrones to compute. The default value is 1. |
| generate_image | If set to TRUE, generates a PNG image of the isochrones in the response. Supported values:
|
| levels_table | Name 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. The default value is ”. |
| style_options | Various style related options of the isochrone image.
|
| solve_options | Solver specific parameters.
|
| contour_options | Contour specific parameters.
|
| options | Additional parameters.
|
Definition at line 3059 of file VisualizeIsochrone.cs.
Property Documentation
◆ contour_options
| getset |
Contour specific parameters.
- PROJECTION: Spatial Reference System (i.e. EPSG Code). Supported values:The default value is PLATE_CARREE.
- WIDTH: When VisualizeIsochroneRequest.generate_image is set to TRUE, width of the generated image. The default value is ‘512’.
- HEIGHT: When VisualizeIsochroneRequest.generate_image is set to TRUE, height of the generated image. If the default value is used, the HEIGHT is set to the value resulting from multiplying the aspect ratio by the WIDTH. The default value is ‘-1’.
- SEARCH_RADIUS: When interpolating the graph solution to generate the isochrone, neighborhood of influence of sample data (in percent of the image/grid). The default value is ‘20’.
- GRID_SIZE: When interpolating the graph solution to generate the isochrone, number of subdivisions along the x axis when building the grid (the y is computed using the aspect ratio of the output image). The default value is ‘100’.
- COLOR_ISOLINES: Color each isoline according to the colormap; otherwise, use the foreground color. Supported values:The default value is TRUE.
- ADD_LABELS: If set to TRUE, add labels to the isolines. Supported values:The default value is FALSE.
- LABELS_FONT_SIZE: When ADD_LABELS is set to TRUE, size of the font (in pixels) to use for labels. The default value is ‘12’.
- LABELS_FONT_FAMILY: When ADD_LABELS is set to TRUE, font name to be used when adding labels. The default value is ‘arial’.
- LABELS_SEARCH_WINDOW: When ADD_LABELS is set to TRUE, a search window is used to rate the local quality of each isoline. Smooth, continuous, long stretches with relatively flat angles are favored. The provided value is multiplied by the LABELS_FONT_SIZE to calculate the final window size. The default value is ‘4’.
- LABELS_INTRALEVEL_SEPARATION: When ADD_LABELS is set to TRUE, this value determines the distance (in multiples of the LABELS_FONT_SIZE) to use when separating labels of different values. The default value is ‘4’.
- LABELS_INTERLEVEL_SEPARATION: When ADD_LABELS is set to TRUE, this value determines the distance (in percent of the total window size) to use when separating labels of the same value. The default value is ‘20’.
- LABELS_MAX_ANGLE: When ADD_LABELS is set to TRUE, maximum angle (in degrees) from the vertical to use when adding labels. The default value is ‘60’.
The default value is an empty Dictionary.
Definition at line 1993 of file VisualizeIsochrone.cs.
◆ generate_image
| getset |
If set to TRUE, generates a PNG image of the isochrones in the response.
Supported values:
- true
- false
The default value is true.
Definition at line 1266 of file VisualizeIsochrone.cs.
◆ graph_name
| getset |
Name of the graph on which the isochrone is to be computed.
Definition at line 1201 of file VisualizeIsochrone.cs.
◆ levels_table
| getset |
Name 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. The default value is ”.
Definition at line 1277 of file VisualizeIsochrone.cs.
◆ max_solution_radius
| getset |
Extent of the search radius around VisualizeIsochroneRequest.source_node.
Set to ‘-1.0’ for unrestricted search radius. The default value is -1.0.
Definition at line 1211 of file VisualizeIsochrone.cs.
◆ num_levels
| getset |
Number of equally-separated isochrones to compute.
The default value is 1.
Definition at line 1251 of file VisualizeIsochrone.cs.
◆ options
| getset |
Additional parameters.
- SOLVE_TABLE: Name of the table to host intermediate solve results, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. This table will contain the position and cost for each vertex in the graph. If the default value is used, a temporary table is created and deleted once the solution is calculated. The default value is ”.
- IS_REPLICATED: If set to TRUE, replicate the SOLVE_TABLE. Supported values:The default value is TRUE.
- DATA_MIN_X: Lower bound for the x values. If not provided, it will be computed from the bounds of the input data.
- DATA_MAX_X: Upper bound for the x values. If not provided, it will be computed from the bounds of the input data.
- DATA_MIN_Y: Lower bound for the y values. If not provided, it will be computed from the bounds of the input data.
- DATA_MAX_Y: Upper bound for the y values. If not provided, it will be computed from the bounds of the input data.
- CONCAVITY_LEVEL: Factor to qualify the concavity of the isochrone curves. The lower the value, the more convex (with ‘0’ being completely convex and ‘1’ being the most concave). The default value is ‘0.5’. The minimum allowed value is ‘0’. The maximum allowed value is ‘1’.
- USE_PRIORITY_QUEUE_SOLVERS: Sets the solver methods explicitly if true. Supported values:
- TRUE: Uses the solvers scheduled for ‘shortest_path’ and ‘inverse_shortest_path’ based on SOLVE_DIRECTION.
- FALSE: Uses the solvers ‘priority_queue’ and ‘inverse_priority_queue’ based on SOLVE_DIRECTION.
- SOLVE_DIRECTION: Specify whether we are going to the source node, or starting from it. Supported values:
- FROM_SOURCE: Shortest path to get to the source (inverse Dijkstra).
- TO_SOURCE: Shortest path to source (Dijkstra).
The default value is an empty Dictionary.
Definition at line 2139 of file VisualizeIsochrone.cs.
◆ restrictions
| getset |
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’). The default value is an empty List.
Definition at line 1247 of file VisualizeIsochrone.cs.
◆ solve_options
| getset |
Solver specific parameters.
- REMOVE_PREVIOUS_RESTRICTIONS: Ignore the restrictions applied to the graph during the creation stage and only use the restrictions specified in this request if set to TRUE. Supported values:The default value is FALSE.
- RESTRICTION_THRESHOLD_VALUE: Value-based restriction comparison. Any node or edge with a ‘RESTRICTIONS_VALUECOMPARED’ value greater than the RESTRICTION_THRESHOLD_VALUE will not be included in the solution.
- UNIFORM_WEIGHTS: When specified, assigns the given value to all the edges in the graph. Note that weights provided in VisualizeIsochroneRequest.weights_on_edges will override this value.
The default value is an empty Dictionary.
Definition at line 1764 of file VisualizeIsochrone.cs.
◆ source_node
| getset |
Starting vertex on the underlying graph from/to which the isochrones are created.
Definition at line 1205 of file VisualizeIsochrone.cs.
◆ style_options
| getset |
Various style related options of the isochrone image.
- LINE_SIZE: The width of the contour lines in pixels. The default value is ‘3’. The minimum allowed value is ‘0’. The maximum allowed value is ‘20’.
- COLOR: Color of generated isolines. All color values must be in the format RRGGBB or AARRGGBB (to specify the alpha value). If alpha is specified and flooded contours are enabled, it will be used for as the transparency of the latter. The default value is ‘FF696969’.
- BG_COLOR: When VisualizeIsochroneRequest.generate_image is set to TRUE, background color of the generated image. All color values must be in the format RRGGBB or AARRGGBB (to specify the alpha value). The default value is ‘00000000’.
- TEXT_COLOR: When ADD_LABELS is set to TRUE, color for the labels. All color values must be in the format RRGGBB or AARRGGBB (to specify the alpha value). The default value is ‘FF000000’.
- COLORMAP: Colormap for contours or fill-in regions when applicable. All color values must be in the format RRGGBB or AARRGGBB (to specify the alpha value). Supported values:
- JET
- ACCENT
- AFMHOT
- AUTUMN
- BINARY
- BLUES
- BONE
- BRBG
- BRG
- BUGN
- BUPU
- BWR
- CMRMAP
- COOL
- COOLWARM
- COPPER
- CUBEHELIX
- DARK2
- FLAG
- GIST_EARTH
- GIST_GRAY
- GIST_HEAT
- GIST_NCAR
- GIST_RAINBOW
- GIST_STERN
- GIST_YARG
- GNBU
- GNUPLOT2
- GNUPLOT
- GRAY
- GREENS
- GREYS
- HOT
- HSV
- INFERNO
- MAGMA
- NIPY_SPECTRAL
- OCEAN
- ORANGES
- ORRD
- PAIRED
- PASTEL1
- PASTEL2
- PINK
- PIYG
- PLASMA
- PRGN
- PRISM
- PUBU
- PUBUGN
- PUOR
- PURD
- PURPLES
- RAINBOW
- RDBU
- RDGY
- RDPU
- RDYLBU
- RDYLGN
- REDS
- SEISMIC
- SET1
- SET2
- SET3
- SPECTRAL
- SPRING
- SUMMER
- TERRAIN
- VIRIDIS
- WINTER
- WISTIA
- YLGN
- YLGNBU
- YLORBR
- YLORRD
Definition at line 1714 of file VisualizeIsochrone.cs.
◆ weights_on_edges
| getset |
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). The default value is an empty List.
Definition at line 1225 of file VisualizeIsochrone.cs.
The documentation for this class was generated from the following files:
- _build/public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0/install/Kinetica/Protocol/VisualizeIsochrone.cs
- Kinetica/Protocol/VisualizeIsochrone.cs