7 using System.Collections.Generic;
19 public class VisualizeImageHeatmapRequest : 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";
160 public struct StyleOptions
213 public const string COLORMAP =
"colormap";
214 public const string JET =
"jet";
215 public const string HOT =
"hot";
216 public const string HSV =
"hsv";
217 public const string GRAY =
"gray";
218 public const string BLUES =
"blues";
219 public const string GREENS =
"greens";
220 public const string GREYS =
"greys";
221 public const string ORANGES =
"oranges";
222 public const string PURPLES =
"purples";
223 public const string REDS =
"reds";
224 public const string VIRIDIS =
"viridis";
225 public const string BLUR_RADIUS =
"blur_radius";
226 public const string BG_COLOR =
"bg_color";
227 public const string GRADIENT_START_COLOR =
"gradient_start_color";
228 public const string GRADIENT_END_COLOR =
"gradient_end_color";
231 public IList<string> table_names {
get;
set; } =
new List<string>();
232 public string x_column_name {
get;
set; }
233 public string y_column_name {
get;
set; }
234 public string value_column_name {
get;
set; }
235 public string geometry_column_name {
get;
set; }
236 public double min_x {
get;
set; }
237 public double max_x {
get;
set; }
238 public double min_y {
get;
set; }
239 public double max_y {
get;
set; }
240 public int width {
get;
set; }
241 public int height {
get;
set; }
285 public string projection {
get;
set; } = Projection.PLATE_CARREE;
365 public IDictionary<string, string> style_options {
get;
set; } =
new Dictionary<string, string>();
366 public IDictionary<string, string> options {
get;
set; } =
new Dictionary<string, string>();
371 public VisualizeImageHeatmapRequest() { }
509 public VisualizeImageHeatmapRequest( IList<string> table_names,
510 string x_column_name,
511 string y_column_name,
512 string value_column_name,
513 string geometry_column_name,
521 IDictionary<string, string> style_options,
522 IDictionary<string, string> options = null)
524 this.table_names = table_names ??
new List<string>();
525 this.x_column_name = x_column_name ??
"";
526 this.y_column_name = y_column_name ??
"";
527 this.value_column_name = value_column_name ??
"";
528 this.geometry_column_name = geometry_column_name ??
"";
534 this.height = height;
535 this.projection = projection ?? Projection.PLATE_CARREE;
536 this.style_options = style_options ??
new Dictionary<string, string>();
537 this.options = options ??
new Dictionary<string, string>();
549 public class VisualizeImageHeatmapResponse : KineticaData
551 public int width {
get;
set; }
552 public int height {
get;
set; }
553 public long bg_color {
get;
set; }
554 public byte[] image_data {
get;
set; }