Re: [Flightgear-devel] fgelev

2013-09-22 Thread Thomas Albrecht
 the first element appears to be an label so
 the input format is

 label lon lat\n

Thanks Stuart, that works!
Tom

--
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/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] fgelev

2013-09-17 Thread Stuart Buchanan
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=58041151iu=/4140/ostg.clktrk
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] fgelev

2013-09-09 Thread Thomas Albrecht
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? 

fgelev --fg-root $FG_ROOT --fg-scenery $FG_SCENERY  EOF
13.0 
51.0
EOF

doesn't seem to work.

Tom

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel