Re: [Gpsbabel-misc] from universal CSV format to GPX
Brought to you by:
robertl
From: Gary T. <g...@el...> - 2015-09-28 21:09:34
|
Perhaps by splitting your csv file automatically at a trajectory boundary using some scripting language? If the trajectories are in order, it should be very easy to find and split at point 0/1, and reinject the header onto each file. On 29/09/15 07:27, Robert Lipe wrote: > If "trajectory" means "track" or "track segments" and you're asking if > you can represent multiples in one unicsv file, the answer is "no". > > Alternatives are to split into multiple files and then read all in one > shot or merge later or just to hand-edit the GPX to add trkseg/trk > closing and opening tags manually. > > On Mon, Sep 28, 2015 at 7:42 AM, Alessandro Attanasi > <ale...@si... > <mailto:ale...@si...>> wrote: > > Hi all, > I'm starting palying with GPSBabel. I have a file in CSV format > with a lot of trajectory inside. I was not able to find a way with > GPSBabel to convert this file into GPX format properly. What I was > able to do is to create a file containing just one trajectory with > the points of all trajectory together. It seam s that I was not > able to tell to GPSBabel how to manage the fact that into the CSV > file there are many trajectories. > > My input file header is: > > Trajectory ID, point ordinal number, Lat, Lon, Time > > And into the UCSV header I wrote > > Name,No,Lat,Lon,Date > > producing just one single track. > > Is there a way to have a GPX file with multiple <trk>? > > The documentation on the we page says: > > > Universal csv with field structure in first line (unicsv) > > This format can... > > * > > read and write waypoints > > * > > read and write tracks > > * > > read and write routes > > but I failed doing that. > > Thanks > Regards > Alessandro > > > -- > > PhD Alessandro Attanasi > > SISTeMA Srl - PTV Group > > Phone +39 0644585150 <tel:%2B39%200644585150> > Mobile +39 3297140567 <tel:%2B39%203297140567> > Fax +39 06 993 34872 > Via Eudossiana, 18 - 00184 Roma > > ale...@si... > <mailto:ale...@si...> > www.sistemaits.com <http://www.sistemaits.com/> > > facebook.com/sistemaits <http://facebook.com/sistemaits> > linkedin.com/ <http://linkedin.com/sistema>SISTeMA > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org > Gps...@li... > <mailto:Gps...@li...> > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc |