GPUdb C++ API
Version 7.0.19.0
|
A set of input parameters for const. More...
#include <gpudb/protocol/insert_symbol.h>
Public Member Functions | |
InsertSymbolRequest () | |
Constructs an InsertSymbolRequest object with default parameter values. More... | |
InsertSymbolRequest (const std::string &symbolId_, const std::string &symbolFormat_, const std::vector< uint8_t > &symbolData_, const std::map< std::string, std::string > &options_) | |
Constructs an InsertSymbolRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | symbolId |
std::string | symbolFormat |
std::vector< uint8_t > | symbolData |
std::map< std::string, std::string > | options |
A set of input parameters for const.
Adds a symbol or icon (i.e. an image) to represent data points when data is rendered visually. Users must provide the symbol identifier (string), a format (currently supported: 'svg' and 'svg_path'), the data for the symbol, and any additional optional parameter (e.g. color). To have a symbol used for rendering create a table with a string column named 'SYMBOLCODE' (along with 'x' or 'y' for example). Then when the table is rendered (via WMS) if the 'dosymbology' parameter is 'true' then the value of the 'SYMBOLCODE' column is used to pick the symbol displayed for each point.
Definition at line 27 of file insert_symbol.h.
|
inline |
Constructs an InsertSymbolRequest object with default parameter values.
Definition at line 34 of file insert_symbol.h.
|
inline |
Constructs an InsertSymbolRequest object with the specified parameters.
[in] | symbolId_ | The id of the symbol being added. This is the same id that should be in the 'SYMBOLCODE' column for objects using this symbol |
[in] | symbolFormat_ | Specifies the symbol format. Must be either 'svg' or 'svg_path'. |
[in] | symbolData_ | The actual symbol data. If symbolFormat is 'svg' then this should be the raw bytes representing an svg file. If symbolFormat is svg path then this should be an svg path string, for example: 'M25.979,12.896,5.979,12.896,5.979,19.562,25.979,19.562z' |
[in] | options_ | Optional parameters.
|
Definition at line 74 of file insert_symbol.h.
std::map<std::string, std::string> gpudb::InsertSymbolRequest::options |
Definition at line 85 of file insert_symbol.h.
std::vector<uint8_t> gpudb::InsertSymbolRequest::symbolData |
Definition at line 84 of file insert_symbol.h.
std::string gpudb::InsertSymbolRequest::symbolFormat |
Definition at line 83 of file insert_symbol.h.
std::string gpudb::InsertSymbolRequest::symbolId |
Definition at line 82 of file insert_symbol.h.