Re: [Flightgear-devel] various databases +- ground truth ;

2011-09-18 Thread Martin Spott
John Denker wrote:

  FWIW I have a prog that reads apt.dat and writes kml, which
  can then be imported into your favorite GIS such as GRASS or
  google-earth.  The idea is to make it easy to compare apt.dat 
  to the ground truth.

Like this  ?

  
http://mapserver.flightgear.org/map/?lon=-122.3749lat=37.61897zoom=15layers=B00TT

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] too many scenery objects

2011-09-18 Thread Michael Sgier
Hi
 After converting Suisse04 fgfs hangs while loading lszg. But I can position 
aircraft on ground and it seems to load 
objects only after looking at. Therefore i suspect too many objects and is also 
the same for other big airports alike TNCM etc.

Qtcreator gets slower and slower before and stops completely before outputting 
any infos. So how should i approach this?
Thanks--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Shutting server down for maintenance

2011-09-18 Thread Sabin Densmore
It should be back up in a day or two. I need to configure some things on 
the box itself.

Thanks,
- sabin

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGData New Structure

2011-09-18 Thread Citronnier - Alexis Bory
Le 17/09/2011 20:26, Vivian Meazza a écrit :
 Cedric wrote

 I hope this is the last time we will have to discuss this topic, since
 over the last months it seemed that everyone agreed with that FGDATA

 - has to be split sometime
 - should be split a.s.a.p.

 We agreed that after the current release of 2.4 would be a good point to
 get the project on the way. As I offered and it still stands, I will
 take care of writing the bash script which splits the current FGDATA
 repository into multiple repositories and leaves an FGDATA repository
 which holds merely the bare essentials which supplement the core binary
 of fgfs. One could classify the contents of the new FGDATA by saying
 that it's data which provides the technical backbone - the common
 denominator everything is based upon.

 I'd like to cease this opportunity to give everyone the chance to utter
 their possible disagreement with the project or their respective
 opinions and discuss the very details of the split, which have not yet
 been determined.

 The general boundary conditions of the splitting process are the
 following:

 - FGDATA shall consist of everything which is essential for the binary
to run and shall not hold any data which is specific to certain
airports or airplanes. Those should be provided in separate
repositories the structure of which is not of current interest and
might possibly be chosen by the respective authors.

 - The change shall not require restructuring of the architecture,
including the directory structure. Solely the repositories in which
the data is contained shall change.

 Informatively, I'd like to supply a sensible suggestion for how a final
 structure might look and how, either as a developer or user might use
 it. Particularily, because some of you might wonder how we can strip
 FGDATA of KSFO and the 172p, leaving nothing to fly with - isn't that a
 bad decision?

 Definitly not. One has to distinguish between a proper, dedicated
 development structure which is aligned to and substructred into
 independent development units and a way of deployment.

 As a developer, you will clone the base fgfs SC repository and you will
 clone the FGDATA repository. Then, depending on your field of interest
 you will clone the aircrafts, airports etc. you are planning to work on.

 You can do so with the git submodule, which will integrate the specific
 aircraft/airport/etc repository into the existing FGDATA repository,
 while keeping the commits separate.

 For deployment, you either manually or programatically git-submodule all
 data required for shipping into a branch for deployment. This includes,
 for instance, the KSFO tile and the c172p. It's apparent that one, among
 many advantages of that approach is, that the confusing redundancy
 between the default KSFO and the scenery KSFO, as it currently
 exists, will go.

 While the planes are the primary concern of the splitting and will bring
 a relief of a tremendous 4.5 Gigabytes to every user of FGDATA and
 rectify a lot of redundancies and confusion, other things might also be
 considered, say, ./Traffic (just a lucky guess).

 Practically everything which is orthogonal to the core and without which
 FG (assuming a plane and a tile) can properly run, should migrate.

 I think this is an offer we can't refuse. I think these proposals are as
 good as any, and are in line with what Tim Moore was doing. Perhaps we
 should go for a phased approach. In the fist phase, we could split out the
 aircraft, then further restructuring could form subsequent phases.

 Cedric might like to start work on his script as soon as possible.

 Vivian

Yup !


 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 http://p.sf.net/sfu/rim-devcon-copy2
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel



--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Cmake

2011-09-18 Thread Vadym Kukhtin
I'm uninstall OSG-3.0.1, SG-git and FG-git.
Then make fresh folder for each of them, succesfully compile OSG and SG with
~[OSG/SG]/build$ ccmake ..
configure,
generate,
~[OSG/SG]/build$ make install

but FG, with same commands, fails: http://pastebin.com/2V0AL0nY

-- 
---
WBR, Vadym.
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGData New Structure

2011-09-18 Thread Cedric Sodhi
Hello everybody, I'll keep this message as short as I can for some reason:

We have built a script which will extract all Aircraft/* apart from
Generic, Instruments and Instruments-3d into separate, cleaned up
repositories and also extract the clean fgdata.

The script is attached.

Now we need to ask you the following:

The problem we have is that this script cannot be ran on Gitorious
directly. For one, because we don't have the required shell access there
and second, because the operations required to perform the split put a
tremendous load on I/O and CPU. With the size of FGDATA it would be
impossible to perform the operation on the Gitorious servers.

We need someone to run this script locally and then clone the result(s)
onto gitorious. For that you require

- Linux and root access (in order to mount a tmpfs)
- A good amount of RAM (at least 6 Gigabytes)
- A decent CPU
- Patience
- A stable PC
- and finally a stable internet connection to be able to clone the
  results into Gitorious

- And possibly patience if the script fails to have me make the
  necessary adjustments.

The script does not perform any irreversible operations and will
certainly not cause any damage (it is very simple and linear, you might
look at it yourself), however, I can of course make no guarantee for
anything so you best don't run it on a repository which has pending
commits to be pushed.

If you are willing to do this (I cannot do this for I fall short of a
stable inet connection), you must read the following.

Some preps are in place:

You need to mount /tmp/fgsplit as a tmpfs with at least 6 gigabytes ram.
This is not strictly required but otherwise you would have to straing
your HDD with an enourmous amount of IO.

After you mounted that, navigate to your fgdata directory (as user, you
only need root for mounting the tmpfs) and run the script from there.
possibly press Ctrl-C on the first run to read the message that comes
up. Make sure you run the script on a fully committed working copy.

If everything succeeds as planned, which could take many hours, the
results can be found one directory up (as described in the message) and
your current fgdata will have a bunch of new branches which you can
delete, which will return your repo to the old state.

You may eventually delete your old (then untouched) fgdata and clone the
results to gitorious.

The script itsself uses just basic git commands to extract the various
parts into the target directories and leaves master of your current
FGDATA unaffected.

any questions feel free to ask or join on IRC (I'be there arround
1800 GMT)

The principle of the script has been tested on a small scale repository
and it should therefore work. Failure is absolutly possible, if not
likely, but the worst thing that may happen is that it doesnt start
properly for one or another reason.


best thing you can do is look at the script yourself and see what it
does.

I'd be glad if we could eventually get this done.


Thank you,

regards,
ManDay

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGData New Structure

2011-09-18 Thread Cedric Sodhi
... And here is the script
#!/bin/bash

echo 'Splitting FGDATA in 10 Seconds - Press Ctrl-C to cancel!'
echo '  WARNING '
echo 'Make _ABSOLUTELY SURE_ that you are in the right repository'
echo 'Running this script in a wrong repository will have unpredictable'
echo 'results!'
echo '  NOTE '
echo '_NO_ irreversible changes will be made to your local repository'
echo 'The resulting split repositories after the spit can be found in'
echo '  ../split_fgdata_result/'
echo 'and'
echo '  ../split_airplanes_result/'
echo 'If satisfied with the results you can then delete this very repo'
echo 'Which will, of course, seal the deal and make it irreversible'
sleep 10;

if ! git status ; then
echo ERROR - Please navigate into the root of the FGDATA repository
exit
fi

final_ac=../split_airplanes_result/
final_fg=../split_fgdata_result/

mkdir $final_ac
mkdir $final_fg

origin=$(pwd)

sleep 1

echo Bringing up to date
git pull
echo Going onto canonical master
git checkout origin/master
echo Creating branches for all aircrafts, hang on

for acf in ./Aircraft/* ; do
ac=${acf#./Aircraft/}

if [[ $ac == Generic || $ac == Instruments || $ac == 
Instruments-3d ]] ; then
continue ;
fi

echo Going onto canonical master
#git checkout origin/master
echo Branching for $ac ;
acbn=SPLIT-$ac
git branch $acbn
echo Switching...;
git checkout $acbn
echo Isolating...;
git filter-branch --subdirectory-filter /Aircraft/$ac
(
echo Creating new (bare) repository for $ac...
cd $final_ac
mkdir $ac
cd $ac
git init --bare
echo Extracting...
git fetch $origin $acbn
git branch master FETCH_HEAD
)
done

echo Going onto canonical master
git checkout origin/master

echo Branching for reduced FGDATA
git branch SPLIT-CORE

echo Reducing...
git filter-branch --index-filter 'git rm --cached --ignore-unmatch /Aircraft/*'

(
cd $final_fg
echo Creating new (bare) repository for fgdata
git init --bare
echo Extracting...
git fetch $origin SPLIT-CORE
git branch master FETCH_HEAD
)

echo DONE
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGData New Structure

2011-09-18 Thread Cedric Sodhi
I'm afraid I attached the wrong version, here is the correct one.
#!/bin/bash

iodir=/tmp/fgsplit

echo 'Splitting FGDATA in 10 Seconds - Press Ctrl-C to cancel!'
echo '  WARNING '
echo 'Make _ABSOLUTELY SURE_ that you are in the right repository'
echo 'Running this script in a wrong repository will have unpredictable'
echo 'results! FURTHERMORE make sure to have'
echo   $iodir
echo 'mounted as tmpfs with all the storage that you can spare'
echo '  NOTE '
echo '_NO_ irreversible changes will be made to your local repository'
echo 'The resulting split repositories after the spit can be found in'
echo '  ../split_fgdata_result/'
echo 'and'
echo '  ../split_airplanes_result/'
echo 'If satisfied with the results you can then delete this very repo'
echo 'Which will, of course, seal the deal and make it irreversible'
sleep 10;

if ! git status ; then
echo ERROR - Please navigate into the root of the FGDATA repository
exit
fi

final_ac=../split_airplanes_result/
final_fg=../split_fgdata_result/

mkdir $final_ac
mkdir $final_fg

origin=$(pwd)

sleep 1

echo Bringing up to date
git pull
echo Going onto canonical master
git checkout origin/master
echo Creating branches for all aircrafts, hang on

for acf in ./Aircraft/* ; do
ac=${acf#./Aircraft/}

if [[ $ac == Generic || $ac == Instruments || $ac == 
Instruments-3d ]] ; then
continue ;
fi

echo Going onto canonical master
#git checkout origin/master
echo Branching for $ac ;
acbn=SPLIT-$ac
git branch $acbn
echo Switching...;
git checkout $acbn
echo Isolating...;
git filter-branch --subdirectory-filter /Aircraft/$ac
(
echo Creating new (bare) repository for $ac...
cd $final_ac
mkdir $ac
cd $ac
git init --bare
echo Extracting...
git fetch $origin $acbn
git branch master FETCH_HEAD
)
done

echo Going onto canonical master
git checkout origin/master

echo Branching for reduced FGDATA
git branch SPLIT-CORE

echo Reducing...
git filter-branch --index-filter 'git rm --cached --ignore-unmatch /Aircraft/*'

(
cd $final_fg
echo Creating new (bare) repository for fgdata
git init --bare
echo Extracting...
git fetch $origin SPLIT-CORE
git branch master FETCH_HEAD
)

echo DONE
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGData New Structure

2011-09-18 Thread Cedric Sodhi
Hopefully the right version now. Had to add something.
#!/bin/bash

iodir=/tmp/fgsplit

echo 'Splitting FGDATA in 10 Seconds - Press Ctrl-C to cancel!'
echo '  WARNING '
echo 'Make _ABSOLUTELY SURE_ that you are in the right repository'
echo 'Running this script in a wrong repository will have unpredictable'
echo 'results! FURTHERMORE make sure to have'
echo   $iodir
echo 'mounted as tmpfs with all the storage that you can spare'
echo '  NOTE '
echo '_NO_ irreversible changes will be made to your local repository'
echo 'The resulting split repositories after the spit can be found in'
echo '  ../split_fgdata_result/'
echo 'and'
echo '  ../split_airplanes_result/'
echo 'If satisfied with the results you can then delete this very repo'
echo 'Which will, of course, seal the deal and make it irreversible'
sleep 10;

if ! git status ; then
echo ERROR - Please navigate into the root of the FGDATA repository
exit
fi

final_ac=../split_airplanes_result/
final_fg=../split_fgdata_result/

mkdir $final_ac
mkdir $final_fg

origin=$(pwd)

sleep 1

echo Bringing up to date
git pull
echo Going onto canonical master
git checkout origin/master
echo Creating branches for all aircrafts, hang on

for acf in ./Aircraft/* ; do
ac=${acf#./Aircraft/}

if [[ $ac == Generic || $ac == Instruments || $ac == 
Instruments-3d ]] ; then
continue ;
fi

echo Going onto canonical master
#git checkout origin/master
echo Branching for $ac ;
acbn=SPLIT-$ac
git branch $acbn
echo Switching...;
git checkout $acbn
echo Isolating...;
git filter-branch -d $iodir --subdirectory-filter /Aircraft/$ac
(
echo Creating new (bare) repository for $ac...
cd $final_ac
mkdir $ac
cd $ac
git init --bare
echo Extracting...
git fetch $origin $acbn
git branch master FETCH_HEAD
)
done

echo Going onto canonical master
git checkout origin/master

echo Branching for reduced FGDATA
git branch SPLIT-CORE

echo Reducing...
git filter-branch -d $iodir --index-filter 'git rm --cached --ignore-unmatch 
/Aircraft/*'

(
cd $final_fg
echo Creating new (bare) repository for fgdata
git init --bare
echo Extracting...
git fetch $origin SPLIT-CORE
git branch master FETCH_HEAD
)

echo DONE
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] An extension to --parkpos

2011-09-18 Thread Arnt Karlsen
On Sat, 17 Sep 2011 22:23:57 +0200, Durk wrote in message 
f2886125-96b7-40ff-a334-f92932287...@gmail.com:

 Hi Stuart,
 
 On 17 Sep 2011, at 21:45, Stuart Buchanan wrote:
  
  However, I think that the properties  you've defined have a use
  beyond just ATC, so hiding them under /sim/atc and only loading
  them as additional config feels like a bit of a wasted opportunity
  to me.
  
 Thanks for your comments. Just to expand a little on my previous mail:
 Your quote is exactly the reason why I wrote in my commit log that
 I'm only providing two sample preset files. I expect things to change
 considerably, but just provided these two presets as a test case. 
 
 I also think that radius should get into the aircraft file, because
 it essentially is a physical property. 

..that can also be calculated from e.g. each aircraft's minimum 
taxiing turn radius.

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] [OT] A day at the museum

2011-09-18 Thread Durk Talsma
Hi all,

Today, by way of celebrating my father's 85th birhday, we spend an afternoon at 
the Aviodrome aviation musuem at Lelystad Airport (EHLE). The museum that is 
known in the FlightGear community as the location were FSWeekend is taking 
place. I came from Belgium, and my father, my sister and her husband all live 
in the Northern parts of the netherlands,  so we decided to organize something 
halfway, and settled on the aviodrome, which was actually my sister's idea. 

Arriving just before noon, we were in for a big chunk of rain as a rather big 
thunderstorm was passing close by, but we managed to stay dry for the better 
part. Despite the rain, the conditions for flying were pretty good, so there 
was quite a lot of activity at the airport itself, and the museum had two 
Dakota flights scheduled for the day. We watched the departure of one of them, 
which was a little delayed by the rain. After spending about 4 hours in the 
museum, both indoors and outdoors, we decided to go out for dinner in nearby 
flatuna's restaurant, a place that is also famous among the FSWeekend booth 
staff. 

This little restaurant is located along the runway, and we were in for a 
another few surprises. One of them was the take-off of a fouga-magister, for 
which you can apparently book a short flight @2000 euros per 20 minutes. But, 
the highlight of the day was undoubtedly the arrival of second Dakota. not 
expecting, it I noticed it arrive, as we were finishing dinner. The aircraft 
was given an escort of ground vehicles back to the museum, and was given a 
water salute by the fire brigade. By that time, the wether had cleared and the 
sun was already reaching for the horizon. As the DC-3 was nearing the end of 
the taxiway, a rainbow seemed to touch it. As it turned out, this was the final 
flight of the captain, before retiring. All in all a very nice ending of a 
great day. 

Some pictures are here: 

http://www.dropbox.com/gallery/7455889/1/A-Day-At-the-Museum?h=d9972f

Cheers,
Durk
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGData New Structure

2011-09-18 Thread Arnt Karlsen
On Sun, 18 Sep 2011 23:07:48 +0200, Cedric wrote in message 
20110918210742.GA11631@engine:

 We need someone to run this script locally and then clone the
 result(s) onto gitorious. For that you require
 
 - Linux and root access (in order to mount a tmpfs)

..some of your script echo statements are unquoted, some 
single quoted and some double quoted.  Probably works ok 
on GNU/Linux, (I'm on the road with a wee ass eeepc looking 
for a new home for my gasifier and my FG igloo) but I dunno 
about the other platforms, maybe play it safe and use double 
quoted echo statements?

 - A good amount of RAM (at least 6 Gigabytes)
 - A decent CPU
 - Patience
 - A stable PC
 - and finally a stable internet connection to be able to clone the
   results into Gitorious

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGData New Structure

2011-09-18 Thread Cedric Sodhi
Right. I've been a bit sloppy when I wrote this yesterday. I'll rewrite
it in a more proper and failsafe manner today. You might want to want to
wait until then.

On Mon, Sep 19, 2011 at 12:21:40AM +0200, Arnt Karlsen wrote:
 On Sun, 18 Sep 2011 23:07:48 +0200, Cedric wrote in message 
 20110918210742.GA11631@engine:
 
  We need someone to run this script locally and then clone the
  result(s) onto gitorious. For that you require
  
  - Linux and root access (in order to mount a tmpfs)
 
 ..some of your script echo statements are unquoted, some 
 single quoted and some double quoted.  Probably works ok 
 on GNU/Linux, (I'm on the road with a wee ass eeepc looking 
 for a new home for my gasifier and my FG igloo) but I dunno 
 about the other platforms, maybe play it safe and use double 
 quoted echo statements?
 
  - A good amount of RAM (at least 6 Gigabytes)
  - A decent CPU
  - Patience
  - A stable PC
  - and finally a stable internet connection to be able to clone the
results into Gitorious
 
 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 http://p.sf.net/sfu/rim-devcon-copy2
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel