Hi Tom,

On Mon, Sep 9, 2013 at 8:24 PM, Thomas Albrecht wrote:
> Hi,
>
> can someone (Mathias?) please enlighten me about fgelev usage? Skimming 
> through the source, I understand that I need to provide --fg-root and 
> --fg-scenery, but how do I specify which location to probe?

I had a quick look at a perl script I wrote a while back to use fgelev:

my $elev = `echo 1 -$lon $lat | fgelev --fg-scenery
/home/stuart/FlightGear/Scenery/TerraSync --fg-root
/home/stuart/FlightGear/data`;

I did a quick test, and the first element appears to be an label so
the input format is

<label> <lon> <lat>\n

Then the output is

<label>: <elevation>

You can enter multiple entries on separate lines, and then finish with a Ctrl-D.

Hope that helps.

-Stuart

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to