7 using System.Collections.Generic;
19 public class VisualizeVideoRequest : KineticaData
66 public struct Projection
68 public const string EPSG_4326 =
"EPSG:4326";
69 public const string PLATE_CARREE =
"PLATE_CARREE";
70 public const string _900913 =
"900913";
71 public const string EPSG_900913 =
"EPSG:900913";
72 public const string _102100 =
"102100";
73 public const string EPSG_102100 =
"EPSG:102100";
74 public const string _3857 =
"3857";
75 public const string EPSG_3857 =
"EPSG:3857";
76 public const string WEB_MERCATOR =
"WEB_MERCATOR";
319 public struct StyleOptions
336 public const string DO_POINTS =
"do_points";
337 public const string TRUE =
"true";
338 public const string FALSE =
"false";
354 public const string DO_SHAPES =
"do_shapes";
370 public const string DO_TRACKS =
"do_tracks";
371 public const string POINTCOLORS =
"pointcolors";
372 public const string POINTSIZES =
"pointsizes";
410 public const string POINTSHAPES =
"pointshapes";
411 public const string NONE =
"none";
412 public const string CIRCLE =
"circle";
413 public const string SQUARE =
"square";
414 public const string DIAMOND =
"diamond";
415 public const string HOLLOWCIRCLE =
"hollowcircle";
416 public const string HOLLOWSQUARE =
"hollowsquare";
417 public const string HOLLOWDIAMOND =
"hollowdiamond";
418 public const string SYMBOLCODE =
"SYMBOLCODE";
419 public const string SHAPELINEWIDTHS =
"shapelinewidths";
420 public const string SHAPELINECOLORS =
"shapelinecolors";
421 public const string SHAPEFILLCOLORS =
"shapefillcolors";
422 public const string TRACKLINEWIDTHS =
"tracklinewidths";
423 public const string TRACKLINECOLORS =
"tracklinecolors";
424 public const string TRACKMARKERSIZES =
"trackmarkersizes";
425 public const string TRACKMARKERCOLORS =
"trackmarkercolors";
465 public const string TRACKMARKERSHAPES =
"trackmarkershapes";
466 public const string TRACKHEADCOLORS =
"trackheadcolors";
467 public const string TRACKHEADSIZES =
"trackheadsizes";
507 public const string TRACKHEADSHAPES =
"trackheadshapes";
510 public IList<string> table_names {
get;
set; } =
new List<string>();
511 public IList<string> world_table_names {
get;
set; } =
new List<string>();
512 public IList<IList<string>> track_ids {
get;
set; } =
new List<IList<string>>();
513 public string x_column_name {
get;
set; }
514 public string y_column_name {
get;
set; }
515 public string geometry_column_name {
get;
set; }
516 public double min_x {
get;
set; }
517 public double max_x {
get;
set; }
518 public double min_y {
get;
set; }
519 public double max_y {
get;
set; }
520 public int width {
get;
set; }
521 public int height {
get;
set; }
565 public string projection {
get;
set; } = Projection.PLATE_CARREE;
566 public long bg_color {
get;
set; }
567 public IList<IList<double>> time_intervals {
get;
set; } =
new List<IList<double>>();
568 public string video_style {
get;
set; }
569 public string session_key {
get;
set; }
808 public IDictionary<string, IList<string>> style_options {
get;
set; } =
new Dictionary<string, IList<string>>();
809 public IDictionary<string, string> options {
get;
set; } =
new Dictionary<string, string>();
814 public VisualizeVideoRequest() { }
1116 public VisualizeVideoRequest( IList<string> table_names,
1117 IList<string> world_table_names,
1118 IList<IList<string>> track_ids,
1119 string x_column_name,
1120 string y_column_name,
1121 string geometry_column_name,
1130 IList<IList<double>> time_intervals,
1133 IDictionary<
string, IList<string>> style_options,
1134 IDictionary<string, string> options = null)
1136 this.table_names = table_names ??
new List<string>();
1137 this.world_table_names = world_table_names ??
new List<string>();
1138 this.track_ids = track_ids ??
new List<IList<string>>();
1139 this.x_column_name = x_column_name ??
"";
1140 this.y_column_name = y_column_name ??
"";
1141 this.geometry_column_name = geometry_column_name ??
"";
1147 this.height = height;
1148 this.projection = projection ?? Projection.PLATE_CARREE;
1149 this.bg_color = bg_color;
1150 this.time_intervals = time_intervals ??
new List<IList<double>>();
1151 this.video_style = video_style ??
"";
1152 this.session_key = session_key ??
"";
1153 this.style_options = style_options ??
new Dictionary<string, IList<string>>();
1154 this.options = options ??
new Dictionary<string, string>();
1166 public class VisualizeVideoResponse : KineticaData
1168 public double width {
get;
set; }
1169 public double height {
get;
set; }
1170 public long bg_color {
get;
set; }
1171 public int num_frames {
get;
set; }
1172 public string session_key {
get;
set; }
1173 public IList<byte[]> data {
get;
set; } =
new List<byte[]>();