Re: [Flightgear-devel] Center Runway Issue

2009-11-15 Thread Martin Spott
Ron Jensen wrote: > Yes, I understand that. My vision was the flag would be set before > genapts is ran. Or are all airports generated at a single pass? For the World Scenery build: Yes as long as 'genapts' doesn't randomly crash at some airfield. Well, in theory we could call 'genapts' o

Re: [Flightgear-devel] Center Runway Issue

2009-11-14 Thread J. Holden
> Yes, I understand that. My vision was the flag would be set before > genapts is ran. Or are all airports generated at a single pass? If > that's the case perhaps genapts should use the literal runway number > from apt.dat, and apt.dat can be edited to replace the leading zero with > a space on US

Re: [Flightgear-devel] Center Runway Issue

2009-11-14 Thread Ron Jensen
On Sat, 2009-11-14 at 13:01 -0600, Curtis Olson wrote: > On Sat, Nov 14, 2009 at 12:50 PM, Ron Jensen wrote: > > I commented on the other European-ization thread (about > precision > > marking differences) that perhaps genapts should take a flag > f

Re: [Flightgear-devel] Center Runway Issue

2009-11-14 Thread Martin Spott
Curtis Olson wrote: > So certainly a flag would be useful if a developer wants individual control > over a runway or an airport, but some sort of heuristic for the rest of the > airports in the world would also be useful ... or some way to enhance the > data file so a per-runway-end decision could

Re: [Flightgear-devel] Center Runway Issue

2009-11-14 Thread Curtis Olson
On Sat, Nov 14, 2009 at 12:50 PM, Ron Jensen wrote: > I commented on the other European-ization thread (about precision > marking differences) that perhaps genapts should take a flag for > European or US style rendering? > Martin pointed out that for the vast portion of airports and scenery areas

Re: [Flightgear-devel] Center Runway Issue

2009-11-14 Thread Ron Jensen
On Sat, 2009-11-14 at 12:36 -0600, Curtis Olson wrote: > On Sat, Nov 14, 2009 at 11:53 AM, Ron Jensen wrote: > It would be a trivial patch to genapts to always generate > leading zeros, > > however it appears that all US General Aviation airports don't > us

Re: [Flightgear-devel] Center Runway Issue

2009-11-14 Thread Curtis Olson
On Sat, Nov 14, 2009 at 11:53 AM, Ron Jensen wrote: > It would be a trivial patch to genapts to always generate leading zeros, > however it appears that all US General Aviation airports don't use the > leading zero, US Military bases are mixed, and Europe uses leading > zeros. Looking thru apt.d

Re: [Flightgear-devel] Center Runway Issue

2009-11-14 Thread Ron Jensen
On Sat, 2009-11-14 at 09:09 +0100, Gijs de Rooy wrote: > Hi, > > > John Holden wrote: > > I'm using a fairly recent version of the CVS on Windows XP - I can't > tell you which exactly at the > > moment, unfortunately - but whenever I land or take off from a > center runway, I can't get the > > c

Re: [Flightgear-devel] Center Runway Issue

2009-11-14 Thread Gijs de Rooy
Hi, > John Holden wrote: > I'm using a fairly recent version of the CVS on Windows XP - I can't tell you > which exactly at the > moment, unfortunately - but whenever I land or take off from a center runway, > I can't get the > center runway texture to display, even though it's in the /Textu

Re: [Flightgear-devel] Center Runway Issue - Potential Fix Found

2009-11-10 Thread Martin Spott
Statto Software wrote: > If my simple programming skills don't betray me, I //believe// letter > == "C"; does not actually set letter to equal C, which may be why > these airports are being generated without the center runway texture. Your conclusion has been heard: http://mapserver.flightgear

Re: [Flightgear-devel] Center Runway Issue - Potential Fix Found

2009-11-09 Thread Ron Jensen
On Mon, 2009-11-09 at 21:27 -0800, Statto Software wrote: > > Looks reasonable to me. Are you actually building these airports? The > > attached patch is untested... > > > > Ron > > > > No, I'm not currently in the process of building any airports - though I am > generating shapefiles to be used

Re: [Flightgear-devel] Center Runway Issue - Potential Fix Found

2009-11-09 Thread Statto Software
> Looks reasonable to me. Are you actually building these airports? The > attached patch is untested... > > Ron > No, I'm not currently in the process of building any airports - though I am generating shapefiles to be used in the default scenery, and Seattle is in the area I'm currently workin

Re: [Flightgear-devel] Center Runway Issue - Potential Fix Found

2009-11-09 Thread Ron Jensen
On Mon, 2009-11-09 at 20:28 -0800, Statto Software wrote: > I think I may have found the problem with the Center Runway texture not > showing, but I'm not at all confident with my C++ skills, so someone will > have to fix TerraGear for me. > > However, I've found this code in > /terragear-cs/sr

Re: [Flightgear-devel] Center Runway Issue - Potential Fix Found

2009-11-09 Thread George Patterson
2009/11/10 Statto Software : > I think I may have found the problem with the Center Runway texture not > showing, but I'm not at all confident with my C++ skills, so someone will > have to fix TerraGear for me. > > However, I've found this code in > /terragear-cs/src/airports/GenAirports/rwy_*.c

[Flightgear-devel] Center Runway Issue - Potential Fix Found

2009-11-09 Thread Statto Software
I think I may have found the problem with the Center Runway texture not showing, but I'm not at all confident with my C++ skills, so someone will have to fix TerraGear for me. However, I've found this code in /terragear-cs/src/airports/GenAirports/rwy_*.cxx: int len = rwy_info.rwy_no.length()

[Flightgear-devel] Center Runway Issue

2009-11-09 Thread Statto Software
I'm using a fairly recent version of the CVS on Windows XP - I can't tell you which exactly at the moment, unfortunately - but whenever I land or take off from a center runway, I can't get the center runway texture to display, even though it's in the /Textures folder with all the other runway te