PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
points_input.h File Reference
#include "./pgr_types.h"

Go to the source code of this file.

Functions

void pgr_get_points (char *points_sql, Point_on_edge_t **points, size_t *total_points)
 pgr_get_points More...
 

Function Documentation

void pgr_get_points ( char *  points_sql,
Point_on_edge_t **  points,
size_t *  total_points 
)

pgr_get_points

For queries of the type:

SELECT pid, edge_id, fraction, [side]
FROM edge_table;
Parameters
[in]points_sql
[out]points
[out]total_points

Definition at line 62 of file points_input.c.

References ANY_INTEGER, ANY_NUMERICAL, CHAR1, Column_info_t::colNumber, Column_info_t::eType, fetch_point(), Column_info_t::name, PGR_DBG, pgr_fetch_column_info(), pgr_SPI_cursor_open(), pgr_SPI_prepare(), Column_info_t::strict, and Column_info_t::type.

Referenced by process().