February 3, 20179 yr I know that you can designate airports in the .cfg file that you don't want to flatten--but it has to be a list of every individual airport. You have to name each one by the ICAO code. Is there a way to just not flatten any airports at all? Alternatively, Is there a way I can cut and paste every airport code in the cfg file?
February 3, 20179 yr Moderator I'm sure there is probably an easier way, but you can remove airport flattening completely by editing Ortho4XP.py (or Ortho4XP_development.py) Find the line around 522 or so which reads: if (wayid in dicosmw_icao): if (dicosmw_icao[wayid] in sloped_airports_list) or (dicosmw_icao[wayid] in do_not_flatten_these_list): print(" I will not flatten "+dicosmw_icao[wayid]+ " airport.") keep_that_one=False back up the old file, and then just replace it with keep_that_one = False If you know Python, it would be easy enough to add a new variable into the config file to turn it on and off completely easily. I'll submit a patch to Oscar for doing so.
March 2, 20179 yr I must be doing something wrong because my whole computer is crashing while the tiles get built. Am i suppose to delete the lines or delete the "if keep_that_one==True:" Bit underneath? Any help is appreciated!
March 4, 20179 yr Tony, wouldn't it be easier to change: keep_that_one=False to keep_that_one=True Then the airport list is exclusive, not inclusive. By that I mean that the airports in the list will get flattened, all the others not.
March 23, 20179 yr On 2/3/2017 at 7:48 AM, tonywob said: I'm sure there is probably an easier way, but you can remove airport flattening completely by editing Ortho4XP.py (or Ortho4XP_development.py) Find the line around 522 or so which reads: if (wayid in dicosmw_icao): if (dicosmw_icao[wayid] in sloped_airports_list) or (dicosmw_icao[wayid] in do_not_flatten_these_list): print(" I will not flatten "+dicosmw_icao[wayid]+ " airport.") keep_that_one=False back up the old file, and then just replace it with keep_that_one = False If you know Python, it would be easy enough to add a new variable into the config file to turn it on and off completely easily. I'll submit a patch to Oscar for doing so. Hi, I am not exactly understanding whats changing....is it the space between "one=False"? Thanks.
March 24, 20179 yr No everything above the "keep_that_one = False" line is removed, I think. The space around the = sign is just meaningless whitespace
March 28, 20179 yr Did anyone make this work and if so how? I tried removing the offending lines and regenerating a tile I'm familiar with but the runway contours are not what I'd expect. Any further guidance would be appreciated. i7 7700k, @ 4.6Ghz. GTX1070 8Gig. 32Gigs DDR4 2400. Win 10 pro. X-Plane 11.
June 28, 20178 yr On 2017-3-28 at 8:55 PM, propsfan said: Did anyone make this work and if so how? I tried removing the offending lines and regenerating a tile I'm familiar with but the runway contours are not what I'd expect. Any further guidance would be appreciated. Anyone? Dave Bolton
March 26, 20188 yr I would also be interested to know if we are able to have the contoured runways back in Ortho tile areas?
Archived
This topic is now archived and is closed to further replies.