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";
399 public struct StyleOptions
416 public const string DO_POINTS =
"do_points";
417 public const string TRUE =
"true";
418 public const string FALSE =
"false";
434 public const string DO_SHAPES =
"do_shapes";
450 public const string DO_TRACKS =
"do_tracks";
466 public const string DO_SYMBOLOGY =
"do_symbology";
467 public const string POINTCOLORS =
"pointcolors";
470 public const string POINTSIZES =
"pointsizes";
473 public const string POINTOFFSET_X =
"pointoffset_x";
476 public const string POINTOFFSET_Y =
"pointoffset_y";
516 public const string POINTSHAPES =
"pointshapes";
517 public const string NONE =
"none";
518 public const string CIRCLE =
"circle";
519 public const string SQUARE =
"square";
520 public const string DIAMOND =
"diamond";
521 public const string HOLLOWCIRCLE =
"hollowcircle";
522 public const string HOLLOWSQUARE =
"hollowsquare";
523 public const string HOLLOWDIAMOND =
"hollowdiamond";
524 public const string SYMBOLCODE =
"SYMBOLCODE";
527 public const string SYMBOLROTATIONS =
"symbolrotations";
530 public const string SHAPELINEWIDTHS =
"shapelinewidths";
533 public const string SHAPELINECOLORS =
"shapelinecolors";
536 public const string SHAPELINEPATTERNS =
"shapelinepatterns";
539 public const string SHAPELINEPATTERNLEN =
"shapelinepatternlen";
542 public const string SHAPEFILLCOLORS =
"shapefillcolors";
545 public const string HASHLINEINTERVALS =
"hashlineintervals";
549 public const string HASHLINECOLORS =
"hashlinecolors";
552 public const string HASHLINEANGLES =
"hashlineangles";
555 public const string HASHLINELENS =
"hashlinelens";
558 public const string HASHLINEWIDTHS =
"hashlinewidths";
561 public const string TRACKLINEWIDTHS =
"tracklinewidths";
564 public const string TRACKLINECOLORS =
"tracklinecolors";
567 public const string TRACKMARKERSIZES =
"trackmarkersizes";
570 public const string TRACKMARKERCOLORS =
"trackmarkercolors";
618 public const string TRACKMARKERSHAPES =
"trackmarkershapes";
619 public const string ORIENTED_ARROW =
"oriented_arrow";
620 public const string ORIENTED_TRIANGLE =
"oriented_triangle";
623 public const string TRACKHEADCOLORS =
"trackheadcolors";
626 public const string TRACKHEADSIZES =
"trackheadsizes";
666 public const string TRACKHEADSHAPES =
"trackheadshapes";
669 public IList<string> table_names {
get;
set; } =
new List<string>();
670 public IList<string> world_table_names {
get;
set; } =
new List<string>();
671 public string x_column_name {
get;
set; }
672 public string y_column_name {
get;
set; }
673 public string geometry_column_name {
get;
set; }
674 public IList<IList<string>> track_ids {
get;
set; } =
new List<IList<string>>();
675 public double min_x {
get;
set; }
676 public double max_x {
get;
set; }
677 public double min_y {
get;
set; }
678 public double max_y {
get;
set; }
679 public int width {
get;
set; }
680 public int height {
get;
set; }
724 public string projection {
get;
set; } = Projection.PLATE_CARREE;
725 public long bg_color {
get;
set; }
1044 public IDictionary<string, IList<string>> style_options {
get;
set; } =
new Dictionary<string, IList<string>>();
1045 public IDictionary<string, string> options {
get;
set; } =
new Dictionary<string, string>();
1050 public VisualizeImageRequest() { }
1429 public VisualizeImageRequest( IList<string> table_names,
1430 IList<string> world_table_names,
1431 string x_column_name,
1432 string y_column_name,
1433 string geometry_column_name,
1434 IList<IList<string>> track_ids,
1443 IDictionary<
string, IList<string>> style_options,
1444 IDictionary<string, string> options = null)
1446 this.table_names = table_names ??
new List<string>();
1447 this.world_table_names = world_table_names ??
new List<string>();
1448 this.x_column_name = x_column_name ??
"";
1449 this.y_column_name = y_column_name ??
"";
1450 this.geometry_column_name = geometry_column_name ??
"";
1451 this.track_ids = track_ids ??
new List<IList<string>>();
1457 this.height = height;
1458 this.projection = projection ?? Projection.PLATE_CARREE;
1459 this.bg_color = bg_color;
1460 this.style_options = style_options ??
new Dictionary<string, IList<string>>();
1461 this.options = options ??
new Dictionary<string, string>();
1473 public class VisualizeImageResponse : KineticaData
1475 public double width {
get;
set; }
1476 public double height {
get;
set; }
1477 public long bg_color {
get;
set; }
1478 public byte[] image_data {
get;
set; }