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";
459 public struct StyleOptions
476 public const string DO_POINTS =
"do_points";
477 public const string TRUE =
"true";
478 public const string FALSE =
"false";
494 public const string DO_SHAPES =
"do_shapes";
510 public const string DO_TRACKS =
"do_tracks";
526 public const string DO_SYMBOLOGY =
"do_symbology";
527 public const string POINTCOLORS =
"pointcolors";
530 public const string POINTSIZES =
"pointsizes";
533 public const string POINTOFFSET_X =
"pointoffset_x";
536 public const string POINTOFFSET_Y =
"pointoffset_y";
596 public const string POINTSHAPES =
"pointshapes";
597 public const string NONE =
"none";
598 public const string CIRCLE =
"circle";
599 public const string SQUARE =
"square";
600 public const string DIAMOND =
"diamond";
601 public const string HOLLOWCIRCLE =
"hollowcircle";
602 public const string HOLLOWSQUARE =
"hollowsquare";
603 public const string HOLLOWDIAMOND =
"hollowdiamond";
604 public const string SYMBOLCODE =
"symbolcode";
605 public const string DASH =
"dash";
606 public const string PIPE =
"pipe";
607 public const string PLUS =
"plus";
608 public const string HOLLOWSQUAREWITHPLUS =
"hollowsquarewithplus";
609 public const string DOT =
"dot";
612 public const string SYMBOLROTATIONS =
"symbolrotations";
615 public const string SHAPELINEWIDTHS =
"shapelinewidths";
618 public const string SHAPELINECOLORS =
"shapelinecolors";
621 public const string SHAPELINEPATTERNS =
"shapelinepatterns";
624 public const string SHAPELINEPATTERNLEN =
"shapelinepatternlen";
627 public const string SHAPEFILLCOLORS =
"shapefillcolors";
630 public const string HASHLINEINTERVALS =
"hashlineintervals";
634 public const string HASHLINECOLORS =
"hashlinecolors";
637 public const string HASHLINEANGLES =
"hashlineangles";
640 public const string HASHLINELENS =
"hashlinelens";
643 public const string HASHLINEWIDTHS =
"hashlinewidths";
646 public const string TRACKLINEWIDTHS =
"tracklinewidths";
649 public const string TRACKLINECOLORS =
"tracklinecolors";
652 public const string TRACKMARKERSIZES =
"trackmarkersizes";
655 public const string TRACKMARKERCOLORS =
"trackmarkercolors";
723 public const string TRACKMARKERSHAPES =
"trackmarkershapes";
724 public const string ORIENTED_ARROW =
"oriented_arrow";
725 public const string ORIENTED_TRIANGLE =
"oriented_triangle";
728 public const string TRACKHEADCOLORS =
"trackheadcolors";
731 public const string TRACKHEADSIZES =
"trackheadsizes";
791 public const string TRACKHEADSHAPES =
"trackheadshapes";
821 public struct Options
823 public const string POINTCOLOR_ATTR =
"pointcolor_attr";
824 public const string SHAPEFILLCOLOR_ATTR =
"shapefillcolor_attr";
825 public const string TRACK_ID_COLUMN_NAME =
"track_id_column_name";
826 public const string TRACK_ORDER_COLUMN_NAME =
"track_order_column_name";
829 public IList<string> table_names {
get; set; } =
new List<string>();
830 public IList<string> world_table_names {
get; set; } =
new List<string>();
831 public string x_column_name {
get; set; }
832 public string y_column_name {
get; set; }
833 public string symbol_column_name {
get; set; }
834 public string geometry_column_name {
get; set; }
835 public IList<IList<string>> track_ids {
get; set; } =
new List<IList<string>>();
836 public double min_x {
get; set; }
837 public double max_x {
get; set; }
838 public double min_y {
get; set; }
839 public double max_y {
get; set; }
840 public int width {
get; set; }
841 public int height {
get; set; }
885 public string projection {
get; set; } = Projection.PLATE_CARREE;
886 public long bg_color {
get; set; }
1265 public IDictionary<string, IList<string>> style_options {
get; set; } =
new Dictionary<string, IList<string>>();
1291 public IDictionary<string, string> options {
get; set; } =
new Dictionary<string, string>();
1296 public VisualizeImageRequest() { }
1759 public VisualizeImageRequest( IList<string> table_names,
1760 IList<string> world_table_names,
1761 string x_column_name,
1762 string y_column_name,
1763 string symbol_column_name,
1764 string geometry_column_name,
1765 IList<IList<string>> track_ids,
1774 IDictionary<
string, IList<string>> style_options,
1775 IDictionary<string, string> options = null)
1777 this.table_names = table_names ??
new List<string>();
1778 this.world_table_names = world_table_names ??
new List<string>();
1779 this.x_column_name = x_column_name ??
"";
1780 this.y_column_name = y_column_name ??
"";
1781 this.symbol_column_name = symbol_column_name ??
"";
1782 this.geometry_column_name = geometry_column_name ??
"";
1783 this.track_ids = track_ids ??
new List<IList<string>>();
1789 this.height = height;
1790 this.projection = projection ?? Projection.PLATE_CARREE;
1791 this.bg_color = bg_color;
1792 this.style_options = style_options ??
new Dictionary<string, IList<string>>();
1793 this.options = options ??
new Dictionary<string, string>();
1805 public class VisualizeImageResponse : KineticaData
1807 public double width {
get; set; }
1808 public double height {
get; set; }
1809 public long bg_color {
get; set; }
1810 public byte[] image_data {
get; set; }
1811 public IDictionary<string, string> info {
get; set; } =
new Dictionary<string, string>();