◆ visualizeIsochrone() [1/4]
| VisualizeIsochroneResponse gpudb::GPUdb::visualizeIsochrone | ( | const std::string & | graphName, |
| const std::string & | sourceNode, | ||
| const double | maxSolutionRadius, | ||
| const std::vector< std::string > & | weightsOnEdges, | ||
| const std::vector< std::string > & | restrictions, | ||
| const int32_t | numLevels, | ||
| const bool | generateImage, | ||
| const std::string & | levelsTable, | ||
| const std::map< std::string, std::string > & | styleOptions, | ||
| const std::map< std::string, std::string > & | solveOptions, | ||
| const std::map< std::string, std::string > & | contourOptions, | ||
| const std::map< std::string, std::string > & | options ) const |
Generate an image containing isolines for travel results using an existing graph.
Isolines represent curves of equal cost, with cost typically referring to the time or distance assigned as the weights of the underlying graph. See Graphs and Solvers for more information on graphs.
| [in] | graphName | Name of the graph on which the isochrone is to be computed. |
| [in] | sourceNode | Starting vertex on the underlying graph from/to which the isochrones are created. |
| [in] | maxSolutionRadius | Extent of the search radius around sourceNode. Set to ‘-1.0’ for unrestricted search radius. The default value is -1.0. |
| [in] | weightsOnEdges | Additional weights to apply to the edges of an existing graph. Weights must be specified using identifiers; identifiers are grouped as combinations. Identifiers can be used with existing column names, e.g., ‘table.column AS WEIGHTS_EDGE_ID’, or expressions, e.g., ‘ST_LENGTH(wkt) AS WEIGHTS_VALUESPECIFIED’. Any provided weights will be added (in the case of ‘WEIGHTS_VALUESPECIFIED’) to or multiplied with (in the case of ‘WEIGHTS_FACTORSPECIFIED’) the existing weight(s). The default value is an empty vector. |
| [in] | restrictions | Additional restrictions to apply to the nodes/edges of an existing graph. Restrictions must be specified using identifiers; identifiers are grouped as combinations. Identifiers can be used with existing column names, e.g., ‘table.column AS RESTRICTIONS_EDGE_ID’, or expressions, e.g., ‘column/2 AS RESTRICTIONS_VALUECOMPARED’. If remove_previous_restrictions is set to true, any provided restrictions will replace the existing restrictions. If remove_previous_restrictions is set to false, any provided restrictions will be added (in the case of ‘RESTRICTIONS_VALUECOMPARED’) to or replaced (in the case of ‘RESTRICTIONS_ONOFFCOMPARED’). The default value is an empty vector. |
| [in] | numLevels | Number of equally-separated isochrones to compute. The default value is 1. |
| [in] | generateImage | If set to true, generates a PNG image of the isochrones in the response. Supported values:
|
| [in] | levelsTable | Name of the table to output the isochrones to, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. The table will contain levels and their corresponding WKT geometry. If no value is provided, the table is not generated. The default value is ”. |
| [in] | styleOptions | Various style related options of the isochrone image.
|
| [in] | solveOptions | Solver specific parameters.
|
| [in] | contourOptions | Contour specific parameters.
|
| [in] | options | Additional parameters.
|
◆ visualizeIsochrone() [2/4]
| VisualizeIsochroneResponse & gpudb::GPUdb::visualizeIsochrone | ( | const std::string & | graphName, |
| const std::string & | sourceNode, | ||
| const double | maxSolutionRadius, | ||
| const std::vector< std::string > & | weightsOnEdges, | ||
| const std::vector< std::string > & | restrictions, | ||
| const int32_t | numLevels, | ||
| const bool | generateImage, | ||
| const std::string & | levelsTable, | ||
| const std::map< std::string, std::string > & | styleOptions, | ||
| const std::map< std::string, std::string > & | solveOptions, | ||
| const std::map< std::string, std::string > & | contourOptions, | ||
| const std::map< std::string, std::string > & | options, | ||
| VisualizeIsochroneResponse & | response_ ) const |
Generate an image containing isolines for travel results using an existing graph.
Isolines represent curves of equal cost, with cost typically referring to the time or distance assigned as the weights of the underlying graph. See Graphs and Solvers for more information on graphs.
| [in] | graphName | Name of the graph on which the isochrone is to be computed. |
| [in] | sourceNode | Starting vertex on the underlying graph from/to which the isochrones are created. |
| [in] | maxSolutionRadius | Extent of the search radius around sourceNode. Set to ‘-1.0’ for unrestricted search radius. The default value is -1.0. |
| [in] | weightsOnEdges | Additional weights to apply to the edges of an existing graph. Weights must be specified using identifiers; identifiers are grouped as combinations. Identifiers can be used with existing column names, e.g., ‘table.column AS WEIGHTS_EDGE_ID’, or expressions, e.g., ‘ST_LENGTH(wkt) AS WEIGHTS_VALUESPECIFIED’. Any provided weights will be added (in the case of ‘WEIGHTS_VALUESPECIFIED’) to or multiplied with (in the case of ‘WEIGHTS_FACTORSPECIFIED’) the existing weight(s). The default value is an empty vector. |
| [in] | restrictions | Additional restrictions to apply to the nodes/edges of an existing graph. Restrictions must be specified using identifiers; identifiers are grouped as combinations. Identifiers can be used with existing column names, e.g., ‘table.column AS RESTRICTIONS_EDGE_ID’, or expressions, e.g., ‘column/2 AS RESTRICTIONS_VALUECOMPARED’. If remove_previous_restrictions is set to true, any provided restrictions will replace the existing restrictions. If remove_previous_restrictions is set to false, any provided restrictions will be added (in the case of ‘RESTRICTIONS_VALUECOMPARED’) to or replaced (in the case of ‘RESTRICTIONS_ONOFFCOMPARED’). The default value is an empty vector. |
| [in] | numLevels | Number of equally-separated isochrones to compute. The default value is 1. |
| [in] | generateImage | If set to true, generates a PNG image of the isochrones in the response. Supported values:
|
| [in] | levelsTable | Name of the table to output the isochrones to, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. The table will contain levels and their corresponding WKT geometry. If no value is provided, the table is not generated. The default value is ”. |
| [in] | styleOptions | Various style related options of the isochrone image.
|
| [in] | solveOptions | Solver specific parameters.
|
| [in] | contourOptions | Contour specific parameters.
|
| [in] | options | Additional parameters.
|
| [out] | response_ | Response object containing the results of the operation. |
◆ visualizeIsochrone() [3/4]
| VisualizeIsochroneResponse gpudb::GPUdb::visualizeIsochrone | ( | const VisualizeIsochroneRequest & | request_ | ) | const |
Generate an image containing isolines for travel results using an existing graph.
Isolines represent curves of equal cost, with cost typically referring to the time or distance assigned as the weights of the underlying graph. See Graphs and Solvers for more information on graphs.
| [in] | request_ | Request object containing the parameters for the operation. |
◆ visualizeIsochrone() [4/4]
| VisualizeIsochroneResponse & gpudb::GPUdb::visualizeIsochrone | ( | const VisualizeIsochroneRequest & | request_, |
| VisualizeIsochroneResponse & | response_ ) const |
Generate an image containing isolines for travel results using an existing graph.
Isolines represent curves of equal cost, with cost typically referring to the time or distance assigned as the weights of the underlying graph. See Graphs and Solvers for more information on graphs.