7 using System.Collections.Generic;
19 public class VisualizeImageLabelsRequest : 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";
79 public string table_name {
get; set; }
80 public string x_column_name {
get; set; }
81 public string y_column_name {
get; set; }
82 public string x_offset {
get; set; } =
"";
83 public string y_offset {
get; set; } =
"";
84 public string text_string {
get; set; }
85 public string font {
get; set; } =
"";
86 public string text_color {
get; set; } =
"";
87 public string text_angle {
get; set; } =
"";
88 public string text_scale {
get; set; } =
"";
89 public string draw_box {
get; set; } =
"";
90 public string draw_leader {
get; set; } =
"";
91 public string line_width {
get; set; } =
"";
92 public string line_color {
get; set; } =
"";
93 public string fill_color {
get; set; } =
"";
94 public string leader_x_column_name {
get; set; } =
"";
95 public string leader_y_column_name {
get; set; } =
"";
96 public string filter {
get; set; } =
"";
97 public double min_x {
get; set; }
98 public double max_x {
get; set; }
99 public double min_y {
get; set; }
100 public double max_y {
get; set; }
101 public int width {
get; set; }
102 public int height {
get; set; }
146 public string projection {
get; set; } = Projection.PLATE_CARREE;
147 public IDictionary<string, string> options {
get; set; } =
new Dictionary<string, string>();
152 public VisualizeImageLabelsRequest() { }
225 public VisualizeImageLabelsRequest(
string table_name,
226 string x_column_name,
227 string y_column_name,
240 string leader_x_column_name,
241 string leader_y_column_name,
249 string projection = null,
250 IDictionary<string, string> options = null)
252 this.table_name = table_name ??
"";
253 this.x_column_name = x_column_name ??
"";
254 this.y_column_name = y_column_name ??
"";
255 this.x_offset = x_offset ??
"";
256 this.y_offset = y_offset ??
"";
257 this.text_string = text_string ??
"";
258 this.font = font ??
"";
259 this.text_color = text_color ??
"";
260 this.text_angle = text_angle ??
"";
261 this.text_scale = text_scale ??
"";
262 this.draw_box = draw_box ??
"";
263 this.draw_leader = draw_leader ??
"";
264 this.line_width = line_width ??
"";
265 this.line_color = line_color ??
"";
266 this.fill_color = fill_color ??
"";
267 this.leader_x_column_name = leader_x_column_name ??
"";
268 this.leader_y_column_name = leader_y_column_name ??
"";
269 this.filter = filter ??
"";
275 this.height = height;
276 this.projection = projection ?? Projection.PLATE_CARREE;
277 this.options = options ??
new Dictionary<string, string>();
289 public class VisualizeImageLabelsResponse : KineticaData
291 public double width {
get; set; }
292 public double height {
get; set; }
293 public long bg_color {
get; set; }
294 public byte[] image_data {
get; set; }
295 public IDictionary<string, string> info {
get; set; } =
new Dictionary<string, string>();