7 using System.Collections.Generic;
19 public class VisualizeImageRequest : 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";
397 public struct StyleOptions
414 public const string DO_POINTS =
"do_points";
415 public const string TRUE =
"true";
416 public const string FALSE =
"false";
432 public const string DO_SHAPES =
"do_shapes";
448 public const string DO_TRACKS =
"do_tracks";
464 public const string DO_SYMBOLOGY =
"do_symbology";
465 public const string POINTCOLORS =
"pointcolors";
466 public const string POINTSIZES =
"pointsizes";
467 public const string POINTOFFSET_X =
"pointoffset_x";
468 public const string POINTOFFSET_Y =
"pointoffset_y";
508 public const string POINTSHAPES =
"pointshapes";
509 public const string NONE =
"none";
510 public const string CIRCLE =
"circle";
511 public const string SQUARE =
"square";
512 public const string DIAMOND =
"diamond";
513 public const string HOLLOWCIRCLE =
"hollowcircle";
514 public const string HOLLOWSQUARE =
"hollowsquare";
515 public const string HOLLOWDIAMOND =
"hollowdiamond";
516 public const string SYMBOLCODE =
"SYMBOLCODE";
517 public const string SYMBOLROTATIONS =
"symbolrotations";
518 public const string SHAPELINEWIDTHS =
"shapelinewidths";
519 public const string SHAPELINECOLORS =
"shapelinecolors";
520 public const string SHAPELINEPATTERNS =
"shapelinepatterns";
521 public const string SHAPELINEPATTERNLEN =
"shapelinepatternlen";
522 public const string SHAPEFILLCOLORS =
"shapefillcolors";
523 public const string HASHLINEINTERVALS =
"hashlineintervals";
524 public const string HASHLINECOLORS =
"hashlinecolors";
525 public const string HASHLINEANGLES =
"hashlineangles";
526 public const string HASHLINELENS =
"hashlinelens";
527 public const string HASHLINEWIDTHS =
"hashlinewidths";
528 public const string TRACKLINEWIDTHS =
"tracklinewidths";
529 public const string TRACKLINECOLORS =
"tracklinecolors";
530 public const string TRACKMARKERSIZES =
"trackmarkersizes";
531 public const string TRACKMARKERCOLORS =
"trackmarkercolors";
579 public const string TRACKMARKERSHAPES =
"trackmarkershapes";
580 public const string ORIENTED_ARROW =
"oriented_arrow";
581 public const string ORIENTED_TRIANGLE =
"oriented_triangle";
582 public const string TRACKHEADCOLORS =
"trackheadcolors";
583 public const string TRACKHEADSIZES =
"trackheadsizes";
623 public const string TRACKHEADSHAPES =
"trackheadshapes";
626 public IList<string> table_names {
get;
set; } =
new List<string>();
627 public IList<string> world_table_names {
get;
set; } =
new List<string>();
628 public string x_column_name {
get;
set; }
629 public string y_column_name {
get;
set; }
630 public string geometry_column_name {
get;
set; }
631 public IList<IList<string>> track_ids {
get;
set; } =
new List<IList<string>>();
632 public double min_x {
get;
set; }
633 public double max_x {
get;
set; }
634 public double min_y {
get;
set; }
635 public double max_y {
get;
set; }
636 public int width {
get;
set; }
637 public int height {
get;
set; }
681 public string projection {
get;
set; } = Projection.PLATE_CARREE;
682 public long bg_color {
get;
set; }
999 public IDictionary<string, IList<string>> style_options {
get;
set; } =
new Dictionary<string, IList<string>>();
1000 public IDictionary<string, string> options {
get;
set; } =
new Dictionary<string, string>();
1005 public VisualizeImageRequest() { }
1382 public VisualizeImageRequest( IList<string> table_names,
1383 IList<string> world_table_names,
1384 string x_column_name,
1385 string y_column_name,
1386 string geometry_column_name,
1387 IList<IList<string>> track_ids,
1396 IDictionary<
string, IList<string>> style_options,
1397 IDictionary<string, string> options = null)
1399 this.table_names = table_names ??
new List<string>();
1400 this.world_table_names = world_table_names ??
new List<string>();
1401 this.x_column_name = x_column_name ??
"";
1402 this.y_column_name = y_column_name ??
"";
1403 this.geometry_column_name = geometry_column_name ??
"";
1404 this.track_ids = track_ids ??
new List<IList<string>>();
1410 this.height = height;
1411 this.projection = projection ?? Projection.PLATE_CARREE;
1412 this.bg_color = bg_color;
1413 this.style_options = style_options ??
new Dictionary<string, IList<string>>();
1414 this.options = options ??
new Dictionary<string, string>();
1426 public class VisualizeImageResponse : KineticaData
1428 public double width {
get;
set; }
1429 public double height {
get;
set; }
1430 public long bg_color {
get;
set; }
1431 public byte[] image_data {
get;
set; }