7 using System.Collections.Generic;
12 public class VisualizeGetFeatureInfoRequest : KineticaData
14 public struct Projection
16 public const string PLATE_CARREE =
"plate_carree";
17 public const string WEB_MERCATOR =
"web_mercator";
20 public struct Encoding
22 public const string BINARY =
"binary";
23 public const string JSON =
"json";
24 public const string GEOJSON =
"geojson";
25 public const string HTML =
"html";
30 public const string AUTO_COLUMN_SELECTION =
"auto_column_selection";
31 public const string FALSE =
"false";
32 public const string TRUE =
"true";
35 public IList<string> table_names {
get;
set; } =
new List<string>();
36 public IList<string> x_column_names {
get;
set; } =
new List<string>();
37 public IList<string> y_column_names {
get;
set; } =
new List<string>();
38 public IList<string> geometry_column_names {
get;
set; } =
new List<string>();
39 public IList<IList<string>> query_column_names {
get;
set; } =
new List<IList<string>>();
40 public string projection {
get;
set; }
41 public double min_x {
get;
set; }
42 public double max_x {
get;
set; }
43 public double min_y {
get;
set; }
44 public double max_y {
get;
set; }
45 public int width {
get;
set; }
46 public int height {
get;
set; }
47 public int x {
get;
set; }
48 public int y {
get;
set; }
49 public int radius {
get;
set; }
50 public long limit {
get;
set; }
51 public string encoding {
get;
set; }
52 public IDictionary<string, string> options {
get;
set; } =
new Dictionary<string, string>();
54 public VisualizeGetFeatureInfoRequest() { }
56 public VisualizeGetFeatureInfoRequest( IList<string> table_names,
57 IList<string> x_column_names,
58 IList<string> y_column_names,
59 IList<string> geometry_column_names,
60 IList<IList<string>> query_column_names,
73 IDictionary<string, string> options =
null)
75 this.table_names = table_names ??
new List<string>();
76 this.x_column_names = x_column_names ??
new List<string>();
77 this.y_column_names = y_column_names ??
new List<string>();
78 this.geometry_column_names = geometry_column_names ??
new List<string>();
79 this.query_column_names = query_column_names ??
new List<IList<string>>();
80 this.projection = projection ??
"";
91 this.encoding = encoding ??
"";
92 this.options = options ??
new Dictionary<string, string>();
98 public class VisualizeGetFeatureInfoResponse : KineticaData
100 public IList<string> table_names {
get;
set; } =
new List<string>();
101 public IList<string> type_schemas {
get;
set; } =
new List<string>();
102 public IList<byte[]> records_binary {
get;
set; } =
new List<byte[]>();
103 public IList<string> records_json {
get;
set; } =
new List<string>();
104 public string geojson_encoded_response {
get;
set; }
105 public string text_encoded_response {
get;
set; }
106 public IDictionary<string, string> info {
get;
set; } =
new Dictionary<string, string>();