you are working on a new trackdesigner
? very cool. this java trackeditor is a nice tool indeed, but it has some issues being really annoying, and as it is not continued, these will never be corrected...
i don't need other info than lenght (as for curves, this is only implicit, arc and start/end-radius are needed). But as unused columns can easily be deleted (or just remain unused), it might be wise to export z values, profil tangents (and/or grade) and banking as well, as they could also be useful... but i don't think, side/curb/barrier will be needed..?
But maybe you could also implement this height-stuff directly;
tangent creation (or smoothing):
set profil end tangent to the average of current and subsequent segment's grade (personally, i don't use grade, but it can be calculated from length and z values)
z end modification (for short segments only; so it might be better to do this for single segments than for a whole track):
set z end so that current and subsequent segment have the same grade
another idea is to fit a track to a given heightmap; i tried it myself and i think it should not be a big thing for experienced programmers, as nessecary functions are already available (GetElevation in elevation.cpp for heightmap processing and something inside track4.cpp to get x and y of segments) , but it's a difficulty for me to cope with such large object oriented projects, so i failed