MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions | Variables
ways.c File Reference

Network-based static point and segment types. More...

#include "npoint/tnpoint.h"
#include <assert.h>
#include <float.h>
#include <limits.h>
#include <postgres.h>
#include <libpq/pqformat.h>
#include <executor/spi.h>
#include <utils/memutils.h>
#include <liblwgeom.h>
#include <meos.h>
#include "temporal/type_inout.h"
#include "geo/postgis_funcs.h"
#include "geo/tgeo_spatialfuncs.h"

Macros

#define SQL_MAXLEN   1024
 
#define SQL_ROUTE_MAXLEN   64
 
#define SQL_ROUTE_MAXLEN   64
 

Functions

Npointgeompoint_to_npoint (const GSERIALIZED *gs)
 Transform a geometry into a network point. More...
 
int32_t get_srid_ways ()
 Return the SRID of the routes in the ways table. More...
 
bool route_exists (int64 rid)
 Return true if the edge table contains a route with the route identifier. More...
 
GSERIALIZEDroute_geom (int64 rid)
 Access the edge table to get the route geometry from corresponding route identifier. More...
 
double route_length (int64 rid)
 Access the edge table to return the route length from the corresponding route identifier. More...
 

Variables

static int32_t SRID_WAYS = SRID_INVALID
 

Detailed Description

Network-based static point and segment types.