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";
320 public struct StyleOptions
337 public const string DO_POINTS =
"do_points";
338 public const string TRUE =
"true";
339 public const string FALSE =
"false";
355 public const string DO_SHAPES =
"do_shapes";
371 public const string DO_TRACKS =
"do_tracks";
374 public const string POINTCOLORS =
"pointcolors";
377 public const string POINTSIZES =
"pointsizes";
415 public const string POINTSHAPES =
"pointshapes";
416 public const string NONE =
"none";
417 public const string CIRCLE =
"circle";
418 public const string SQUARE =
"square";
419 public const string DIAMOND =
"diamond";
420 public const string HOLLOWCIRCLE =
"hollowcircle";
421 public const string HOLLOWSQUARE =
"hollowsquare";
422 public const string HOLLOWDIAMOND =
"hollowdiamond";
423 public const string SYMBOLCODE =
"SYMBOLCODE";
426 public const string SHAPELINEWIDTHS =
"shapelinewidths";
429 public const string SHAPELINECOLORS =
"shapelinecolors";
432 public const string SHAPEFILLCOLORS =
"shapefillcolors";
435 public const string TRACKLINEWIDTHS =
"tracklinewidths";
438 public const string TRACKLINECOLORS =
"tracklinecolors";
441 public const string TRACKMARKERSIZES =
"trackmarkersizes";
444 public const string TRACKMARKERCOLORS =
"trackmarkercolors";
484 public const string TRACKMARKERSHAPES =
"trackmarkershapes";
487 public const string TRACKHEADCOLORS =
"trackheadcolors";
490 public const string TRACKHEADSIZES =
"trackheadsizes";
530 public const string TRACKHEADSHAPES =
"trackheadshapes";
533 public IList<string> table_names {
get; set; } =
new List<string>();
534 public IList<string> world_table_names {
get; set; } =
new List<string>();
535 public IList<IList<string>> track_ids {
get; set; } =
new List<IList<string>>();
536 public string x_column_name {
get; set; }
537 public string y_column_name {
get; set; }
538 public string geometry_column_name {
get; set; }
539 public double min_x {
get; set; }
540 public double max_x {
get; set; }
541 public double min_y {
get; set; }
542 public double max_y {
get; set; }
543 public int width {
get; set; }
544 public int height {
get; set; }
588 public string projection {
get; set; } = Projection.PLATE_CARREE;
589 public long bg_color {
get; set; }
590 public IList<IList<double>> time_intervals {
get; set; } =
new List<IList<double>>();
591 public string video_style {
get; set; }
592 public string session_key {
get; set; }
832 public IDictionary<string, IList<string>> style_options {
get; set; } =
new Dictionary<string, IList<string>>();
833 public IDictionary<string, string> options {
get; set; } =
new Dictionary<string, string>();
838 public VisualizeVideoRequest() { }
1141 public VisualizeVideoRequest( IList<string> table_names,
1142 IList<string> world_table_names,
1143 IList<IList<string>> track_ids,
1144 string x_column_name,
1145 string y_column_name,
1146 string geometry_column_name,
1155 IList<IList<double>> time_intervals,
1158 IDictionary<
string, IList<string>> style_options,
1159 IDictionary<string, string> options = null)
1161 this.table_names = table_names ??
new List<string>();
1162 this.world_table_names = world_table_names ??
new List<string>();
1163 this.track_ids = track_ids ??
new List<IList<string>>();
1164 this.x_column_name = x_column_name ??
"";
1165 this.y_column_name = y_column_name ??
"";
1166 this.geometry_column_name = geometry_column_name ??
"";
1172 this.height = height;
1173 this.projection = projection ?? Projection.PLATE_CARREE;
1174 this.bg_color = bg_color;
1175 this.time_intervals = time_intervals ??
new List<IList<double>>();
1176 this.video_style = video_style ??
"";
1177 this.session_key = session_key ??
"";
1178 this.style_options = style_options ??
new Dictionary<string, IList<string>>();
1179 this.options = options ??
new Dictionary<string, string>();
1191 public class VisualizeVideoResponse : KineticaData
1193 public double width {
get; set; }
1194 public double height {
get; set; }
1195 public long bg_color {
get; set; }
1196 public int num_frames {
get; set; }
1197 public string session_key {
get; set; }
1198 public IList<byte[]> data {
get; set; } =
new List<byte[]>();
1199 public IDictionary<string, string> info {
get; set; } =
new Dictionary<string, string>();