7 using System.Collections.Generic;
48 public const string TRUE =
"true";
49 public const string FALSE =
"false";
415 public const string COLOR =
"color";
738 public const string JET =
"jet";
743 public const string BLUES =
"blues";
744 public const string BONE =
"bone";
745 public const string BRBG =
"brbg";
746 public const string BRG =
"brg";
747 public const string BUGN =
"bugn";
748 public const string BUPU =
"bupu";
749 public const string BWR =
"bwr";
751 public const string COOL =
"cool";
755 public const string DARK2 =
"dark2";
756 public const string FLAG =
"flag";
764 public const string GNBU =
"gnbu";
767 public const string GRAY =
"gray";
769 public const string GREYS =
"greys";
770 public const string HOT =
"hot";
771 public const string HSV =
"hsv";
773 public const string MAGMA =
"magma";
775 public const string OCEAN =
"ocean";
777 public const string ORRD =
"orrd";
781 public const string PINK =
"pink";
782 public const string PIYG =
"piyg";
784 public const string PRGN =
"prgn";
785 public const string PRISM =
"prism";
786 public const string PUBU =
"pubu";
788 public const string PUOR =
"puor";
789 public const string PURD =
"purd";
792 public const string RDBU =
"rdbu";
793 public const string RDGY =
"rdgy";
794 public const string RDPU =
"rdpu";
797 public const string REDS =
"reds";
799 public const string SET1 =
"set1";
800 public const string SET2 =
"set2";
801 public const string SET3 =
"set3";
809 public const string YLGN =
"ylgn";
878 public const string TRUE =
"true";
879 public const string FALSE =
"false";
1859 public IDictionary<string, string>
style_options {
get; set; } =
new Dictionary<string, string>();
1901 public IDictionary<string, string>
solve_options {
get; set; } =
new Dictionary<string, string>();
2072 public IDictionary<string, string>
contour_options {
get; set; } =
new Dictionary<string, string>();
2187 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
2938 IDictionary<string, string>
options = null)
2940 this.graph_name = graph_name ??
"";
2941 this.source_node = source_node ??
"";
2942 this.max_solution_radius = max_solution_radius ?? -1.0;
2943 this.weights_on_edges = weights_on_edges ??
new List<string>();
2944 this.restrictions = restrictions ??
new List<string>();
2945 this.num_levels = num_levels ?? 1;
2946 this.generate_image = generate_image ??
true;
2947 this.levels_table = levels_table ??
"";
2948 this.style_options = style_options ??
new Dictionary<string, string>();
2949 this.solve_options =
solve_options ??
new Dictionary<string, string>();
2950 this.contour_options =
contour_options ??
new Dictionary<string, string>();
2951 this.options =
options ??
new Dictionary<string, string>();
2980 public IDictionary<string, string>
info {
get; set; } =
new Dictionary<string, string>();
2983 public IDictionary<string, string>
solve_info {
get; set; } =
new Dictionary<string, string>();
2986 public IDictionary<string, string>
contour_info {
get; set; } =
new Dictionary<string, string>();
const string DATA_MAX_Y
Upper bound for the y values.
IDictionary< string, string > info
Additional information.
byte[] image_data
Generated contour image data.
const string GIST_RAINBOW
bool generate_image
If set to true, generates a PNG image of the isochrones in the response.
int height
Height of the image as provided in height.
const string GRID_SIZE
When interpolating the graph solution to generate the isochrone, number of subdivisions along the x a...
string graph_name
Name of the graph on which the isochrone is to be computed.
const string REMOVE_PREVIOUS_RESTRICTIONS
Ignore the restrictions applied to the graph during the creation stage and only use the restrictions ...
IDictionary< string, string > options
Additional parameters SOLVE_TABLE: Name of the table to host intermediate solve results containing th...
int num_levels
Number of equally-separated isochrones to compute.
IList< string > weights_on_edges
Additional weights to apply to the edges of an existing graph.
string levels_table
Name of the table to output the isochrones, containing levels and their corresponding WKT geometry...
const string NIPY_SPECTRAL
const string SOLVE_DIRECTION
Specify whether we are going to the source node, or starting from it.
long bg_color
Background color of the image as provided in bg_color.
IDictionary< string, string > contour_info
Additional information.
IDictionary< string, string > solve_info
Additional information.
const string LABELS_MAX_ANGLE
When add_labels is set to true, maximum angle (in degrees) from the vertical to use when adding label...
const string FALSE
uses the solvers 'priority_queue' and 'inverse_priority_queue' based on solve_direction
const string RESTRICTION_THRESHOLD_VALUE
Value-based restriction comparison.
IList< string > restrictions
Additional restrictions to apply to the nodes/edges of an existing graph.
const string PROJECTION
Spatial Reference System (i.e.
IDictionary< string, string > style_options
Various style related options of the isochrone image.
const string COLOR_ISOLINES
Color each isoline according to the colormap; otherwise, use the foreground color.
const string ADD_LABELS
If set to true, add labels to the isolines.
const string WIDTH
When generate_image is set to true, width of the generated image.
const string DATA_MIN_Y
Lower bound for the y values.
const string SEARCH_RADIUS
When interpolating the graph solution to generate the isochrone, neighborhood of influence of sample ...
const string COLORMAP
Colormap for contours or fill-in regions when applicable.
const string TO_SOURCE
Shortest path to source (Dijkstra)
IDictionary< string, string > contour_options
Solver specific parameters PROJECTION: Spatial Reference System (i.e.
const string IS_REPLICATED
If set to true, replicate the solve_table.
const string LABELS_SEARCH_WINDOW
When add_labels is set to true, a search window is used to rate the local quality of each isoline...
const string LINE_SIZE
The width of the contour lines in pixels.
If set to true, generates a PNG image of the isochrones in the response.
const string HEIGHT
When generate_image is set to true, height of the generated image.
Additional parameters SOLVE_TABLE: Name of the table to host intermediate solve results containing th...
const string CONCAVITY_LEVEL
Factor to qualify the concavity of the isochrone curves.
const string DATA_MIN_X
Lower bound for the x values.
const string WEB_MERCATOR
string source_node
Starting vertex on the underlying graph from/to which the isochrones are created. ...
VisualizeIsochroneRequest()
Constructs a VisualizeIsochroneRequest object with default parameters.
A set of parameters for Kinetica.visualizeIsochrone(string,string,double,IList{string},IList{string},int,bool,string,IDictionary{string, string},IDictionary{string, string},IDictionary{string, string},IDictionary{string, string}).
IDictionary< string, string > solve_options
Solver specific parameters REMOVE_PREVIOUS_RESTRICTIONS: Ignore the restrictions applied to the graph...
Various style related options of the isochrone image.
const string LABELS_INTRALEVEL_SEPARATION
When add_labels is set to true, this value determines the distance (in multiples of the labels_font_s...
A set of results returned by Kinetica.visualizeIsochrone(string,string,double,IList{string},IList{string},int,bool,string,IDictionary{string, string},IDictionary{string, string},IDictionary{string, string},IDictionary{string, string}).
const string LABELS_FONT_SIZE
When add_labels is set to true, size of the font (in pixels) to use for labels.
const string TRUE
uses the solvers scheduled for 'shortest_path' and 'inverse_shortest_path' based on solve_direction...
double max_solution_radius
Extent of the search radius around .
const string BG_COLOR
When generate_image is set to true, background color of the generated image.
int width
Width of the image as provided in width.
Solver specific parameters PROJECTION: Spatial Reference System (i.e.
const string USE_PRIORITY_QUEUE_SOLVERS
sets the solver methods explicitly if true Supported values: TRUE: uses the solvers scheduled for 'sh...
const string LABELS_INTERLEVEL_SEPARATION
When add_labels is set to true, this value determines the distance (in percent of the total window si...
KineticaData - class to help with Avro Encoding for Kinetica
const string TEXT_COLOR
When add_labels is set to true, color for the labels.
const string SOLVE_TABLE
Name of the table to host intermediate solve results containing the position and cost for each vertex...
const string UNIFORM_WEIGHTS
When specified, assigns the given value to all the edges in the graph.
const string PLATE_CARREE
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.
const string DATA_MAX_X
Upper bound for the x values.
const string FROM_SOURCE
Shortest path to get to the source (inverse Dijkstra)
const string LABELS_FONT_FAMILY
When add_labels is set to true, font name to be used when adding labels.
Solver specific parameters REMOVE_PREVIOUS_RESTRICTIONS: Ignore the restrictions applied to the graph...
const string COLOR
Color of generated isolines.