export function for GPX format