Re: [Flightgear-devel] Locating an airport control tower

2004-11-02 Thread Martin Spott
David Luff wrote:

 [...] The trouble with these
 float-int rounding bugs is that they seem to be OS or compiler specific,
 so I can't always reproduce them.

I'm gonna reproduce any error you like for you  ;-)
I think I'll add some more feature requests along the way  :-)

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

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Locating an airport control tower

2004-11-01 Thread Martin Spott
Hello,
I'm modelling an airfield and I know the exact location of the control
tower. Unfortunately I forgot to take pictures of the building but at
least I'd like to place the FlightGear default control tower building,
as it is present at KHAF for example, at the correct location.

I know there has been discussion on this topic in the past but I don't
manage to find the places (discussion thread) from where to pick the
relevant information. Apparently the airport definition doesn't provide
a field to enter the location - does it ? Could please someone give me
a hint ?

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

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Locating an airport control tower

2004-11-01 Thread Curtis L. Olson
Martin Spott wrote:
Hello,
I'm modelling an airfield and I know the exact location of the control
tower. Unfortunately I forgot to take pictures of the building but at
least I'd like to place the FlightGear default control tower building,
as it is present at KHAF for example, at the correct location.
I know there has been discussion on this topic in the past but I don't
manage to find the places (discussion thread) from where to pick the
relevant information. Apparently the airport definition doesn't provide
a field to enter the location - does it ? Could please someone give me
a hint ?
 

Yes, the apt.dat file specifies the location of the tower (well sort of):
http://x-plane.org/users/robinp/AptNavFAQ.htm
I am using the code #14 entry to place the towers.  This ultimately 
get's translated into a .stg file entry.

Curt.
--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Locating an airport control tower

2004-11-01 Thread David Luff


On 11/1/04 at 1:37 PM Martin Spott wrote:

Hello,
I'm modelling an airfield and I know the exact location of the control
tower. Unfortunately I forgot to take pictures of the building but at
least I'd like to place the FlightGear default control tower building,
as it is present at KHAF for example, at the correct location.

I know there has been discussion on this topic in the past but I don't
manage to find the places (discussion thread) from where to pick the
relevant information. Apparently the airport definition doesn't provide
a field to enter the location - does it ? Could please someone give me
a hint ?


Look in the .stg file with the right bucket id in the scenery tree.  Best
way to find the right file is to grep the scenery tree for the airport
code, since the airport object is also referenced in the .stg file.

Cheers - Dave



This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Locating an airport control tower

2004-11-01 Thread Martin Spott
Curtis L. Olson wrote:

 Yes, the apt.dat file specifies the location of the tower (well sort of):
 
 http://x-plane.org/users/robinp/AptNavFAQ.htm

Aaaah, fine, thanks - I looked into the copy that is contained in the
FG base package, but apparently that one is pretty outdated 

 I am using the code #14 entry to place the towers.  This ultimately 
 get's translated into a .stg file entry.

I assume we currently don't have this feature in TaxiDraw, because
TaxiDraw internally still operates with the FlightGear format - do we ?
At least the TaxiDraw 'project' files look pretty similar to the
FlightGear format,

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

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Locating an airport control tower

2004-11-01 Thread David Luff


On 11/1/04 at 3:58 PM Martin Spott wrote:

Curtis L. Olson wrote:

 I am using the code #14 entry to place the towers.  This ultimately 
 get's translated into a .stg file entry.

I assume we currently don't have this feature in TaxiDraw, because
TaxiDraw internally still operates with the FlightGear format - do we ?
At least the TaxiDraw 'project' files look pretty similar to the
FlightGear format,


The core part of TaxiDraw's project files gets written out in whichever
data format you originally loaded the data from - either X-Plane or
FlightGear.  If towers/beacons/windsocks are found in the data, then they
will be stored internally in TaxiDraw.  Currently only the beacons get
displayed and can be moved, but this could easily be changed to include
tower and windsocks as well.

It's possible in the current version to export moved beacon locations to
FlightGear's .stg file.  This allows instant viewing of the change, with no
need to rebuild the scenery.  This could easily be extended to encompass
tower and windsock positions as well.  The problem is that TaxiDraw has no
knowledge of ground elevation, so unless the airport is relatively flat the
beacon/tower/windsock may end up either partially submerged or floating.  

Cheers - Dave



This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Locating an airport control tower

2004-11-01 Thread Martin Spott
David Luff wrote:

 The core part of TaxiDraw's project files gets written out in whichever
 data format you originally loaded the data from - either X-Plane or
 FlightGear.

Ah, then I'll try to 'port' my project file over to X-Plane format.
It's been easier to define the runway in FG format, that's why I
started there,

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

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Locating an airport control tower

2004-11-01 Thread Martin Spott
David Luff wrote:

 The core part of TaxiDraw's project files gets written out in whichever
 data format you originally loaded the data from - either X-Plane or
 FlightGear.

O.k., I moved my airport over to X-Plane format. For this purpose I
modified the current but inaccurate definition in my copy of Robin's
recent data set to the following:

10  49.03  5.888922 05x  48.35   785860.0553  902.0902  148 11 01 0 2 0.25 
1


Now i start TaxiDraw, load this as a 'new' airport and save it into a
project file. The runway definition now looks like this:

10  49.03  005.888922 05x  48.35   7858   60.0553  902.0901  148 11 01 0 2 
0.25 1
 ^^^

TaxiDraw always shortens the blast strip by one foot. This is not
really harmful but a bit irritating 

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

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Locating an airport control tower

2004-11-01 Thread David Luff


On 11/1/04 at 6:45 PM Martin Spott wrote:


O.k., I moved my airport over to X-Plane format. For this purpose I
modified the current but inaccurate definition in my copy of Robin's
recent data set to the following:

10  49.03  5.888922 05x  48.35   785860.0553  902.0902  148 11
01 0 2 0.25 1


Now i start TaxiDraw, load this as a 'new' airport and save it into a
project file. The runway definition now looks like this:

10  49.03  005.888922 05x  48.35   7858   60.0553  902.0901  148
11 01 0 2 0.25 1
 ^^^

TaxiDraw always shortens the blast strip by one foot. This is not
really harmful but a bit irritating 


Urgh - thanks for catching that - I consider any case where TaxiDraw
corrupts data to be extremely harmfull, even if it is only one foot.  I've
got a pretty good idea where this is happening.  The trouble with these
float-int rounding bugs is that they seem to be OS or compiler specific,
so I can't always reproduce them.  I'll send you a patch to test when I've
got a fix if that's OK.

Cheers - Dave


This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d