gpx

gpx

Functions

Types and Values

Description

Functions

a_gpx_read_file ()

gboolean
a_gpx_read_file (VikTrwLayer *trw,
                 FILE *f,
                 const gchar *dirpath,
                 gboolean append);

a_gpx_write_file ()

void
a_gpx_write_file (VikTrwLayer *trw,
                  FILE *f,
                  GpxWritingOptions *options,
                  const gchar *dirpath);

a_gpx_write_track_file ()

void
a_gpx_write_track_file (VikTrack *trk,
                        FILE *f,
                        GpxWritingOptions *options);

a_gpx_write_tmp_file ()

gchar *
a_gpx_write_tmp_file (VikTrwLayer *vtl,
                      GpxWritingOptions *options);

a_gpx_write_track_tmp_file ()

gchar *
a_gpx_write_track_tmp_file (VikTrack *trk,
                            GpxWritingOptions *options);

Types and Values

GpxWritingOptions

typedef struct {
	// NB force options only apply to trackpoints
	gboolean force_ele; /// Force ele field
	gboolean force_time; /// Force time field
	gboolean hidden; /// Write invisible tracks/waypoints (default is yes)
	gboolean is_route; /// For internal convenience
	gpx_version_t version;  /// For internal convenience
} GpxWritingOptions;