◆ insertSymbol() [1/4]
| InsertSymbolResponse gpudb::GPUdb::insertSymbol | ( | const InsertSymbolRequest & | request_ | ) | 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.
| [in] | request_ | Request object containing the parameters for the operation. |
◆ insertSymbol() [2/4]
| InsertSymbolResponse & gpudb::GPUdb::insertSymbol | ( | const InsertSymbolRequest & | request_, |
| InsertSymbolResponse & | response_ ) 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.
◆ insertSymbol() [3/4]
| InsertSymbolResponse gpudb::GPUdb::insertSymbol | ( | const std::string & | symbolId, |
| const std::string & | symbolFormat, | ||
| const std::vector< uint8_t > & | symbolData, | ||
| const std::map< std::string, std::string > & | options ) 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.
| [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’. Supported values: |
| [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.
|
◆ insertSymbol() [4/4]
| InsertSymbolResponse & gpudb::GPUdb::insertSymbol | ( | const std::string & | symbolId, |
| const std::string & | symbolFormat, | ||
| const std::vector< uint8_t > & | symbolData, | ||
| const std::map< std::string, std::string > & | options, | ||
| InsertSymbolResponse & | response_ ) 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.
| [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’. Supported values: |
| [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.
|
| [out] | response_ | Response object containing the results of the operation. |