Board index FlightGear Development Scenery

LERJ runway error

Questions and discussion about enhancing and populating the FlightGear world.

LERJ runway error

Postby lgprocopio » Fri Apr 16, 2021 11:51 am

Hello,

there is a problem with the runway id in LEJR (Jerez) airport.

This is the correct runway data (https://flightplandatabase.com/airport/LEJR):

ID Width Length Bearing (true/mag) Surface Threshold Overrun Markings Lighting
02 148 ft / 45 m 7,567 ft / 2,306 m 21.36° / 22.31° ASPHALT 0 ft / 0 m 197 ft / 60 m PREC-APP CENTERLINE EDGE THRESHOLD SALS REIL-OMNI
20 148 ft / 45 m 7,567 ft / 2,306 m 201.36° / 202.32° ASPHALT 0 ft / 0 m 197 ft / 60 m PREC-APP CENTERLINE EDGE THRESHOLD CALVERT-ILS REIL-OMNI

But in FlightGear scenery, downloaded automatically from TerraSync, there are two runways defined, 02/20 and 03/21, and both are overlapped.

I'm new to FlightGear and I have no idea of how to correct this, so I post this message just in case anybody can do it.
lgprocopio
 
Posts: 4
Joined: Fri Apr 16, 2021 11:28 am

Re: LERJ runway error

Postby danielHL » Fri Apr 16, 2021 12:59 pm

Hi,

welcome to flightgear! I don't see this error:

http://imgur.com/a/xgGRafq

Can you post a screenshot of your problem? Please also tell us which version of Flightgear you are using. Do you use any additional scenery on top / besides terrasync?

Regarding the difference in runway numbers there is likely nothing that can be done immediately. The real world runway numbering may have changed, this happens from time to time. We currently have no way to rebuild the scenery for that region - but progress is being made towards a version 3.0 of the world scenery which should fix this problem and update the runways to a more recent layout. Unfortunately this will take some time.

For now all you can do is troubleshoot your double runway problem and stick with the "old" runway numbering.
danielHL / D-FMPW
danielHL
 
Posts: 280
Joined: Fri May 02, 2014 7:23 pm
Callsign: D-FMPW
Version: next
OS: Linux

Re: LERJ runway error

Postby ludomotico » Fri Apr 16, 2021 2:17 pm

Hi lgprocopio ,

I believe the scenery is OK, but the XML file defines an extra runway. This extra runway is listed in the launcher and on the map, but it is exactly on the same location that the real one. Hence, you won't notice any real difference.

I guess this will be fixed automatically in the next scenery iteration, but it will take a long time.

To fix this in your local system, edit the file at Terrasync/Airports/L/E/J/LEJR.threshold.xml and remove the extra runway.

(The exact location of the terrasync directory depends on your operating system)

This bug also happens at Pamplona (LEPP), but over there both runways are not completely aligned and they are visible at the same time: viewtopic.php?f=5&t=38884
User avatar
ludomotico
 
Posts: 1269
Joined: Tue Apr 24, 2012 2:01 pm
Version: nightly
OS: Windows 10

Re: LERJ runway error

Postby lgprocopio » Fri Apr 16, 2021 2:35 pm

Hi, ludomotico,

I tried what you tell me, fixing LEJR.threshold.xml before posting, but it didn't work.

In fact it is not a big problem, it's only that in the scenery appears "21" or "03" painted on the head of the runway when you are taking-off, and ATC-Griffing Tower Radio informs you that you are in the wrong runway.

In real life, in the satellite photos, the runway numbers are "02/20".

I will try again modifying the xml file, just in case I did it wrong the first time.
Last edited by lgprocopio on Tue Apr 20, 2021 10:41 am, edited 1 time in total.
lgprocopio
 
Posts: 4
Joined: Fri Apr 16, 2021 11:28 am

Re: LERJ runway error

Postby WoodSTokk » Fri Apr 16, 2021 5:48 pm

The apt.dat and LEJR.threshold.xml are only text files.
I have both edited locally and now i see only RWY 02/20 in the launcher and in-sim map.
The runway painting can also be changed without rebuild.
WoodSTokk
 
Posts: 1077
Joined: Tue Oct 17, 2017 3:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: SX-W57
IRC name: WoodSTokk
Version: 2020.4.0
OS: Debian Bullseye

Re: LERJ runway error

Postby portreekid » Fri Apr 16, 2021 5:59 pm

The threshold could be changed via groundweb.
portreekid
 
Posts: 651
Joined: Tue Jan 14, 2014 4:36 pm
Location: Leipzig
Callsign: PORTREE
Version: 2020.2.1
OS: Windows 10

Re: LERJ runway error

Postby WoodSTokk » Fri Apr 16, 2021 6:04 pm

portreekid wrote in Fri Apr 16, 2021 5:59 pm:The threshold could be changed via groundweb.

You mean the painting?
I have it already changed in the BTG file. I currently have 02 and 20 on the runway marking, in-sim map and in the launcher.
WoodSTokk
 
Posts: 1077
Joined: Tue Oct 17, 2017 3:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: SX-W57
IRC name: WoodSTokk
Version: 2020.4.0
OS: Debian Bullseye

Re: LERJ runway error

Postby portreekid » Fri Apr 16, 2021 6:45 pm

No I meant the threshold.xml in Terrasync.

https://groundweb.azurewebsites.net/
portreekid
 
Posts: 651
Joined: Tue Jan 14, 2014 4:36 pm
Location: Leipzig
Callsign: PORTREE
Version: 2020.2.1
OS: Windows 10

Re: LERJ runway error

Postby lgprocopio » Tue Apr 20, 2021 10:52 am

I have modified LEJR.threshold.xml file but I still have runways 03/21. This is the file content:

<?xml version='1.0' encoding='ISO-8859-1'?>
<PropertyList>
<runway>
<threshold>
<lon>-6.064814</lon>
<lat>36.734975</lat>
<rwy>02</rwy>
<hdg-deg>21.34</hdg-deg>
<displ-m>0.0</displ-m>
<stopw-m>0.0</stopw-m>
</threshold>
<threshold>
<lon>-6.055406</lon>
<lat>36.754269</lat>
<rwy>20</rwy>
<hdg-deg>201.34</hdg-deg>
<displ-m>0.0</displ-m>
<stopw-m>0.0</stopw-m>
</threshold>
</runway>
</PropertyList>

If you make zoom over the runway, in pink, you 'll see both numbers overlapped.

Image
lgprocopio
 
Posts: 4
Joined: Fri Apr 16, 2021 11:28 am

Re: LERJ runway error

Postby WoodSTokk » Tue Apr 20, 2021 6:47 pm

Here are my changes.

The content of the file '…/Airports/L/E/J/LEJR.threshold.xml':
Code: Select all
<?xml version='1.0' encoding='ISO-8859-1'?>
<PropertyList>
  <runway>
    <threshold>
      <lon>-6.06481368</lon>
      <lat>36.73497464</lat>
      <rwy>02</rwy>
      <hdg-deg>21.34</hdg-deg>
      <displ-m>0.0</displ-m>
      <stopw-m>0.0</stopw-m>
    </threshold>
    <threshold>
      <lon>-6.05540632</lon>
      <lat>36.75426936</lat>
      <rwy>20</rwy>
      <hdg-deg>201.34</hdg-deg>
      <displ-m>0.0</displ-m>
      <stopw-m>0.0</stopw-m>
    </threshold>
  </runway>
</PropertyList>


Next unpack the file '$FGDATA/Airports/apt.dat.gz', you receive the file 'apt.dat'.
Change this file according to this diff:
Code: Select all
--- apt.dat   2021-04-20 18:44:39.847688942 +0200
+++ apt-new.dat   2021-04-16 18:04:03.840349139 +0200
@@ -1036962,8 +1036962,7 @@
 19   18.66676209 -074.16049801 1 WS
 
 1       93 1 0 LEJR Jerez
-100   45.11   1   0 0.25 0 2 1 03   36.73497464 -006.06481368    0.00    0.00 3  0 0 1 21   36.75426936 -006.05540632    0.00    0.00 3  3 0 0
-100   45.11   1   0 0.25 0 3 0 02   36.73497500 -006.06481400    0.00    0.00 2  0 0 1 20   36.75426900 -006.05540600    0.00    0.00 3  3 0 0
+100   45.11   1   0 0.25 0 2 1 02   36.73497464 -006.06481368    0.00    0.00 3  0 0 1 20   36.75426936 -006.05540632    0.00    0.00 3  3 0 0
 21   36.73679737 -006.06446279  2  21.34   3.00 02  PAPI-4L
 21   36.73679701 -006.06446255  2  21.34   3.00 03  PAPI-4L
 21   36.75123165 -006.05635017  2 201.35   3.00 20  PAPI-4L

Pack the file again to 'apt.dat.gz'.

Last, for the scenery:
Unpack the file 'Terrain/w010n30/w007n36/LEJR.btg.gz', you receive the file 'LEJR.btg'.
Change the file 'LEJR.btg' with a hex-editor.
Position: 0x8bd7 change from: 0x33 to: 0x32
Position: 0x965f change from: 0x31 to: 0x30
Pack the file again to 'LEJR.btg.gz'.
WoodSTokk
 
Posts: 1077
Joined: Tue Oct 17, 2017 3:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: SX-W57
IRC name: WoodSTokk
Version: 2020.4.0
OS: Debian Bullseye

Re: LERJ runway error

Postby lgprocopio » Wed Apr 21, 2021 7:57 pm

Hello, WoodSTokk,

Great !
I've applied your changes and now it works.
And Red Griffin ATC also tells me I am in the right way and I'm cleared to take off.

Thanks.
lgprocopio
 
Posts: 4
Joined: Fri Apr 16, 2021 11:28 am

Re: LERJ runway error

Postby pmorenogarcia » Thu Jun 10, 2021 7:39 am

Thanks to WoodSTokk for the explanations.

To make a contribution, if you are using the old scenery (v 1.0) you also must change the file 'Terrain/w010n30/w007n36/LEJR.btg.gz', but I think the changes are:

Position: 0x11bf4 change from: 0x33 to: 0x32
Position: 0x11c92 change from: 0x31 to: 0x30
pmorenogarcia
 
Posts: 4
Joined: Mon May 17, 2021 4:28 pm


Return to Scenery

Who is online

Users browsing this forum: I-PIC68 and 8 guests