pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
drivedist.c File Reference
#include "postgres.h"
#include "executor/spi.h"
#include "funcapi.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 "./boost_interface_drivedist.h"

Go to the source code of this file.


static void compute_driving_distance (char *sql, int64_t start_vertex, float8 distance, bool directed, General_path_element_t **path, size_t *path_count)
PGDLLEXPORT Datum driving_distance (PG_FUNCTION_ARGS)
 PG_FUNCTION_INFO_V1 (driving_distance)

Function Documentation

static void compute_driving_distance ( char *  sql,
int64_t  start_vertex,
float8  distance,
bool  directed,
General_path_element_t **  path,
size_t *  path_count 
PGDLLEXPORT Datum driving_distance ( PG_FUNCTION_ARGS  )

Definition at line 91 of file drivedist.c.

References compute_driving_distance(), path_count, PGR_DBG, and pgr_text2char().

PG_FUNCTION_INFO_V1 ( driving_distance  )