navit  0.5.3-trunk
traffic_point Struct Reference

A point on the road. More...

#include <traffic.h>

Data Fields

struct coord_geo coord
 
char * junction_name
 
char * junction_ref
 
char * tmc_id
 

Detailed Description

A point on the road.

This can either be a point location or an endpoint of a linear location. It specifies a coordinate pair and can optionally be supplemented with a junction name and/or number where applicable.

Field Documentation

◆ coord

struct coord_geo traffic_point::coord

The coordinates of this point, as supplied by the source. These may deviate somewhat from the coordinates on the map.

Referenced by request_navit_traffic_export_gpx(), traffic_dump_messages_to_xml(), traffic_location_get_point_triple(), traffic_message_dump_to_stderr(), traffic_point_equals(), and traffic_point_new().

◆ junction_name

char* traffic_point::junction_name

◆ junction_ref

char* traffic_point::junction_ref

The reference number of the motorway junction this point refers to.

Referenced by traffic_message_dump_to_stderr(), traffic_point_destroy(), traffic_point_match_attributes(), and traffic_point_new().

◆ tmc_id

char* traffic_point::tmc_id

The TMC identifier of the point, if the location was obtained via TMC. This can be an LCID (12345) or a combination of an LCID and an offset (12345+2, i.e. an offset of 2 points in positive direction from 12345). The offset is typically used with the secondary location in TMC.

Referenced by traffic_message_dump_to_stderr(), traffic_point_destroy(), and traffic_point_new().


The documentation for this struct was generated from the following file: