Nasal can handle pretty general problems (you can run a whole weather system in it...).
> 3) Finally, what seems most general would be to write some code in > nasal that can read in a csv file, and then to display objects in those > locations. Is this feasible? Can nasal import a csv file or other > general file format that could contain points? I don't know about reading general file formats, but what is certainly possible is to have a file of your waypoints in xml format, such that it appears in the property tree. Nasal can then read out the waypoints from the tree, place object markers at the given positions, compute the connecting lines and compute regularly spaced positions to indicate the lines. All this is rather straightforward. To see how xml creates property nodes, see preferences.xml. To see how to read properties into Nasal, read the FgWiki on Nasal. To see how to make Nasal display objects at given (lat, lon, alt), study the tanker.nas script. To see how to do the trigonometry calculating your course lines, see the documentation of geo.nas. Cheers, * Thorsten ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel