Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
VisualizeImage.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 
10 
11 namespace kinetica
12 {
13 
19  {
20 
27  public struct Projection
28  {
29 
32  public const string EPSG_4326 = "EPSG:4326";
33 
36  public const string PLATE_CARREE = "PLATE_CARREE";
37 
40  public const string _900913 = "900913";
41 
44  public const string EPSG_900913 = "EPSG:900913";
45 
48  public const string _102100 = "102100";
49 
52  public const string EPSG_102100 = "EPSG:102100";
53 
56  public const string _3857 = "3857";
57 
60  public const string EPSG_3857 = "EPSG:3857";
61 
64  public const string WEB_MERCATOR = "WEB_MERCATOR";
65 
68  } // end struct Projection
69 
70 
160  public struct StyleOptions
161  {
162 
166  public const string DO_POINTS = "do_points";
167 
170  public const string TRUE = "true";
171 
174  public const string FALSE = "false";
175 
179  public const string DO_SHAPES = "do_shapes";
180 
184  public const string DO_TRACKS = "do_tracks";
185 
189  public const string DO_SYMBOLOGY = "do_symbology";
190 
193  public const string POINTCOLORS = "pointcolors";
194 
197  public const string POINTSIZES = "pointsizes";
198 
203  public const string POINTSHAPES = "pointshapes";
204 
207  public const string NONE = "none";
208 
211  public const string CIRCLE = "circle";
212 
215  public const string SQUARE = "square";
216 
219  public const string DIAMOND = "diamond";
220 
223  public const string HOLLOWCIRCLE = "hollowcircle";
224 
227  public const string HOLLOWSQUARE = "hollowsquare";
228 
231  public const string HOLLOWDIAMOND = "hollowdiamond";
232 
235  public const string SYMBOLCODE = "SYMBOLCODE";
236 
239  public const string SHAPELINEWIDTHS = "shapelinewidths";
240 
243  public const string SHAPELINECOLORS = "shapelinecolors";
244 
247  public const string SHAPEFILLCOLORS = "shapefillcolors";
248 
251  public const string TRACKLINEWIDTHS = "tracklinewidths";
252 
255  public const string TRACKLINECOLORS = "tracklinecolors";
256 
259  public const string TRACKMARKERSIZES = "trackmarkersizes";
260 
263  public const string TRACKMARKERCOLORS = "trackmarkercolors";
264 
269  public const string TRACKMARKERSHAPES = "trackmarkershapes";
270 
273  public const string TRACKHEADCOLORS = "trackheadcolors";
274 
277  public const string TRACKHEADSIZES = "trackheadsizes";
278 
283  public const string TRACKHEADSHAPES = "trackheadshapes";
284 
287  } // end struct StyleOptions
288 
289 
292 
295  public IList<string> table_names { get; set; } = new List<string>();
296 
299  public IList<string> world_table_names { get; set; } = new List<string>();
300 
303  public string x_column_name { get; set; }
304 
307  public string y_column_name { get; set; }
308 
311  public IList<IList<string>> track_ids { get; set; } = new List<IList<string>>();
312 
315  public double min_x { get; set; }
316 
319  public double max_x { get; set; }
320 
323  public double min_y { get; set; }
324 
327  public double max_y { get; set; }
328 
331  public int width { get; set; }
332 
335  public int height { get; set; }
336 
341  public string projection { get; set; } = Projection.PLATE_CARREE;
342 
345  public long bg_color { get; set; }
346 
434  public IDictionary<string, IList<string>> style_options { get; set; } = new Dictionary<string, IList<string>>();
435 
438  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
439 
440 
445 
553  public VisualizeImageRequest( IList<string> table_names,
554  IList<string> world_table_names,
555  string x_column_name,
556  string y_column_name,
557  IList<IList<string>> track_ids,
558  double min_x,
559  double max_x,
560  double min_y,
561  double max_y,
562  int width,
563  int height,
564  string projection,
565  long bg_color,
566  IDictionary<string, IList<string>> style_options,
567  IDictionary<string, string> options = null)
568  {
569  this.table_names = table_names ?? new List<string>();
570  this.world_table_names = world_table_names ?? new List<string>();
571  this.x_column_name = x_column_name ?? "";
572  this.y_column_name = y_column_name ?? "";
573  this.track_ids = track_ids ?? new List<IList<string>>();
574  this.min_x = min_x;
575  this.max_x = max_x;
576  this.min_y = min_y;
577  this.max_y = max_y;
578  this.width = width;
579  this.height = height;
580  this.projection = projection ?? Projection.PLATE_CARREE;
581  this.bg_color = bg_color;
582  this.style_options = style_options ?? new Dictionary<string, IList<string>>();
583  this.options = options ?? new Dictionary<string, string>();
584  } // end constructor
585 
586 
589  } // end class VisualizeImageRequest
590 
591 
592 
596  {
597 
600 
603  public double width { get; set; }
604 
607  public double height { get; set; }
608 
611  public long bg_color { get; set; }
612 
615  public byte[] image_data { get; set; }
616 
617 
620  } // end class VisualizeImageResponse
621 
622 
623 
624 
625 } // end namespace kinetica
const string DO_POINTS
Values: true, false.
Values: EPSG:4326, PLATE_CARREE, 900913, EPSG:900913, 102100, EPSG:102100, 3857, EPSG:3857, WEB_MERCATOR.
const string POINTSHAPES
Values: none, circle, square, diamond, hollowcircle, hollowsquare, hollowdiamond, SYMBOLCODE...
A set of results returned by /visualize/image.
const string TRACKMARKERSHAPES
Values: none, circle, square, diamond, hollowcircle, hollowsquare, hollowdiamond, SYMBOLCODE...
IDictionary< string, string > options
const string DO_SHAPES
Values: true, false.
A set of parameters for /visualize/image.
VisualizeImageRequest()
Constructs a VisualizeImageRequest object with default parameters.
string projection
Values: EPSG:4326, PLATE_CARREE, 900913, EPSG:900913, 102100, EPSG:102100, 3857, EPSG:3857, WEB_MERCATOR.
const string DO_SYMBOLOGY
Values: true, false.
const string TRACKHEADSHAPES
Values: none, circle, square, diamond, hollowcircle, hollowsquare, hollowdiamond, SYMBOLCODE...
IList< IList< string > > track_ids
do_points Values: true, false.
const string DO_TRACKS
Values: true, false.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
VisualizeImageRequest(IList< string > table_names, IList< string > world_table_names, string x_column_name, string y_column_name, IList< IList< string >> track_ids, double min_x, double max_x, double min_y, double max_y, int width, int height, string projection, long bg_color, IDictionary< string, IList< string >> style_options, IDictionary< string, string > options=null)
Constructs a VisualizeImageRequest object with the specified parameters.
IDictionary< string, IList< string > > style_options
do_points Values: true, false.