Posted 09 May 2011 - 10:46 AM
2)- I open the txt with Excel
3)- I change the altitudes I want
4)- I save the new values as .csv
5)- I open the .csv with notepad
6)- I save what I have in notepad, that looks very well, in a .txt
7)- I read the txt with txt2gtk
8)- I save a .gtk with txt2gtk
9)- I read the last gtk I made using txt2gtk with txt2gtk and save a txt
Result: the txt is full of zeros!! :-(
Posted 09 May 2011 - 11:48 AM
Edited by Border Reiver, 09 May 2011 - 11:50 AM.
Posted 09 May 2011 - 12:33 PM
Thanks Border, but it seems not the case. txt2gtk couldn´t read a txt tab separated :-(
BTW, do you know wich is the meaning of the 5th value for each trace in the txt that txt2gtk generates? The 1st is the start altitud of the trace; the followings are the 1st; 2nd and 3rd coefficient, but the 5th?
Regards.... I will continue to fight with it.
1)-I pick the gtk and make a txt
2)-I pick the txt that I just save and make a gtk
Result: the track was flated!
Edited by Luis Babboni, 09 May 2011 - 12:40 PM.
Posted 09 May 2011 - 02:17 PM
I am not surprised by your most recent experiment. I am certain that the export and import formats are different for txt2gtk and that one uses commas and the other uses tabs.
The import back to the gtk definately requires tab separated values. I have attached the file that I exported from my current gtk and also the file which I used to import the final altitudes for that gtk for my latest track. These will not be of great help to you (as they relate to my track), except that the numbers themselves should be the same in both of my files if you compare them, but the file format in terms of commas and tabs are what are required for import and export. When txt2gtk exports a file the numbers are comma separated. For txt2gtk to import data from a file and put it into the gtk the data must be tab separated. This option exists in Excel in the saving options [File -> Save As, then Save as type: Text (Tab delimited)(*.txt)].
Posted 11 May 2011 - 04:40 AM
Too buzy day today for me :-)