pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
many_to_one_withPoints.c File Reference
#include "postgres.h"
#include "executor/spi.h"
#include "funcapi.h"
#include "utils/array.h"
#include "catalog/pg_type.h"
#include "fmgr.h"
#include "./../../common/src/debug_macro.h"
#include "./../../common/src/time_msg.h"
#include "./../../common/src/pgr_types.h"
#include "./../../common/src/postgres_connection.h"
#include "./../../common/src/edges_input.h"
#include "./../../common/src/arrays_input.h"
#include "./../../common/src/points_input.h"
#include "./get_new_queries.h"
#include "./many_to_one_withPoints_driver.h"

Go to the source code of this file.


PGDLLEXPORT Datum many_to_one_withPoints (PG_FUNCTION_ARGS)
 PG_FUNCTION_INFO_V1 (many_to_one_withPoints)
static void process (char *edges_sql, char *points_sql, int64_t *start_pidsArr, size_t size_start_pidsArr, int64_t end_pid, bool directed, char *driving_side, bool details, bool only_cost, General_path_element_t **result_tuples, size_t *result_count)

Function Documentation

PGDLLEXPORT Datum many_to_one_withPoints ( PG_FUNCTION_ARGS  )

Definition at line 142 of file many_to_one_withPoints.c.

References pgr_get_bigIntArray(), pgr_text2char(), and process().

PG_FUNCTION_INFO_V1 ( many_to_one_withPoints  )
static void process ( char *  edges_sql,
char *  points_sql,
int64_t *  start_pidsArr,
size_t  size_start_pidsArr,
int64_t  end_pid,
bool  directed,
char *  driving_side,
bool  details,
bool  only_cost,
General_path_element_t **  result_tuples,
size_t *  result_count