Top | ![]() |
![]() |
![]() |
![]() |
#define | VIK_WAYPOINT() |
VikWaypoint * | vik_waypoint_new () |
void | vik_waypoint_set_name () |
void | vik_waypoint_set_comment () |
void | vik_waypoint_set_description () |
void | vik_waypoint_set_url () |
void | vik_waypoint_set_image () |
void | vik_waypoint_set_symbol () |
void | vik_waypoint_free () |
VikWaypoint * | vik_waypoint_copy () |
void | vik_waypoint_set_comment_no_copy () |
gboolean | vik_waypoint_apply_dem_data () |
void | vik_waypoint_marshall () |
VikWaypoint * | vik_waypoint_unmarshall () |
void vik_waypoint_set_description (VikWaypoint *wp
,const gchar *description
);
void vik_waypoint_set_comment_no_copy (VikWaypoint *wp
,gchar *comment
);
gboolean vik_waypoint_apply_dem_data (VikWaypoint *wp
,gboolean skip_existing
);
Set elevation data for a waypoint using available DEM information
VikWaypoint * vik_waypoint_unmarshall (const guint8 *data_in
,guint datalen
);
struct VikWaypoint { VikCoord coord; gboolean visible; gdouble timestamp; /* NAN if data unavailable */ gdouble altitude; gdouble course; /* NAN if data unavailable */ gdouble speed; /* NAN if data unavailable */ gdouble magvar; /* NAN if data unavailable */ gdouble geoidheight; /* NAN if data unavailable */ gboolean hide_name; gchar *name; gchar *comment; gchar *description; gchar *source; gchar *url; gchar *url_name; gchar *type; guint fix_mode; /* VIK_GPS_MODE_NOT_SEEN if data unavailable */ guint nsats; /* number of satellites used. 0 if data unavailable */ gdouble hdop; /* NAN if data unavailable */ gdouble vdop; /* NAN if data unavailable */ gdouble pdop; /* NAN if data unavailable */ gdouble ageofdgpsdata; /* NAN if data unavailable */ guint dgpsid; /* 0 .. 1023 */ gchar *image; // NB Only really applicable if geotagging(exif info) is being used gdouble image_direction; /* NAN if data unavailable */ VikWaypointImageDirectionRef image_direction_ref; /* a rather misleading, ugly hack needed for trwlayer's click image. * these are the height at which the thumbnail is being drawn, not the * dimensions of the original image. */ guint8 image_width; guint8 image_height; gchar *symbol; gchar *extensions; // GPX 1.1 // Only for GUI display GdkPixbuf *symbol_pixbuf; };