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 symbol_column_name {
get; set; }
674 public string geometry_column_name {
get; set; }
675 public IList<IList<string>> track_ids {
get; set; } =
new List<IList<string>>();
676 public double min_x {
get; set; }
677 public double max_x {
get; set; }
678 public double min_y {
get; set; }
679 public double max_y {
get; set; }
680 public int width {
get; set; }
681 public int height {
get; set; }
725 public string projection {
get; set; } = Projection.PLATE_CARREE;
726 public long bg_color {
get; set; }
1045 public IDictionary<string, IList<string>> style_options {
get; set; } =
new Dictionary<string, IList<string>>();
1046 public IDictionary<string, string> options {
get; set; } =
new Dictionary<string, string>();
1051 public VisualizeImageRequest() { }
1431 public VisualizeImageRequest( IList<string> table_names,
1432 IList<string> world_table_names,
1433 string x_column_name,
1434 string y_column_name,
1435 string symbol_column_name,
1436 string geometry_column_name,
1437 IList<IList<string>> track_ids,
1446 IDictionary<
string, IList<string>> style_options,
1447 IDictionary<string, string> options = null)
1449 this.table_names = table_names ??
new List<string>();
1450 this.world_table_names = world_table_names ??
new List<string>();
1451 this.x_column_name = x_column_name ??
"";
1452 this.y_column_name = y_column_name ??
"";
1453 this.symbol_column_name = symbol_column_name ??
"";
1454 this.geometry_column_name = geometry_column_name ??
"";
1455 this.track_ids = track_ids ??
new List<IList<string>>();
1461 this.height = height;
1462 this.projection = projection ?? Projection.PLATE_CARREE;
1463 this.bg_color = bg_color;
1464 this.style_options = style_options ??
new Dictionary<string, IList<string>>();
1465 this.options = options ??
new Dictionary<string, string>();
1477 public class VisualizeImageResponse : KineticaData
1479 public double width {
get; set; }
1480 public double height {
get; set; }
1481 public long bg_color {
get; set; }
1482 public byte[] image_data {
get; set; }
1483 public IDictionary<string, string> info {
get; set; } =
new Dictionary<string, string>();