7 using System.Collections.Generic;
19 public class VisualizeGetFeatureInfoRequest : KineticaData
36 public struct Projection
38 public const string PLATE_CARREE =
"plate_carree";
39 public const string WEB_MERCATOR =
"web_mercator";
65 public struct Encoding
67 public const string BINARY =
"binary";
68 public const string JSON =
"json";
69 public const string GEOJSON =
"geojson";
70 public const string HTML =
"html";
115 public const string AUTO_COLUMN_SELECTION =
"auto_column_selection";
116 public const string FALSE =
"false";
117 public const string TRUE =
"true";
120 public IList<string> table_names {
get; set; } =
new List<string>();
121 public IList<string> x_column_names {
get; set; } =
new List<string>();
122 public IList<string> y_column_names {
get; set; } =
new List<string>();
123 public IList<string> geometry_column_names {
get; set; } =
new List<string>();
124 public IList<IList<string>> query_column_names {
get; set; } =
new List<IList<string>>();
138 public string projection {
get; set; }
139 public double min_x {
get; set; }
140 public double max_x {
get; set; }
141 public double min_y {
get; set; }
142 public double max_y {
get; set; }
143 public int width {
get; set; }
144 public int height {
get; set; }
145 public int x {
get; set; }
146 public int y {
get; set; }
147 public int radius {
get; set; }
148 public long limit {
get; set; }
170 public string encoding {
get; set; }
194 public IDictionary<string, string> options {
get; set; } =
new Dictionary<string, string>();
199 public VisualizeGetFeatureInfoRequest() { }
274 public VisualizeGetFeatureInfoRequest( IList<string> table_names,
275 IList<string> x_column_names,
276 IList<string> y_column_names,
277 IList<string> geometry_column_names,
278 IList<IList<string>> query_column_names,
291 IDictionary<string, string> options = null)
293 this.table_names = table_names ??
new List<string>();
294 this.x_column_names = x_column_names ??
new List<string>();
295 this.y_column_names = y_column_names ??
new List<string>();
296 this.geometry_column_names = geometry_column_names ??
new List<string>();
297 this.query_column_names = query_column_names ??
new List<IList<string>>();
298 this.projection = projection ??
"";
304 this.height = height;
307 this.radius = radius;
309 this.encoding = encoding ??
"";
310 this.options = options ??
new Dictionary<string, string>();
322 public class VisualizeGetFeatureInfoResponse : KineticaData
324 public IList<string> table_names {
get; set; } =
new List<string>();
325 public IList<string> type_schemas {
get; set; } =
new List<string>();
326 public IList<byte[]> records_binary {
get; set; } =
new List<byte[]>();
327 public IList<string> records_json {
get; set; } =
new List<string>();
328 public string geojson_encoded_response {
get; set; }
329 public string text_encoded_response {
get; set; }
330 public IDictionary<string, string> info {
get; set; } =
new Dictionary<string, string>();