Legacy Signs

From FlightGear wiki
Jump to navigation Jump to search

Task:

  • Getting rid of taxi signs in the Scenery/Object path

Advantages:

  • Only one source for signs (gateway / apt.dat)
  • Get rid of duplicate signs

Steps:

  1. List the ICAOs of those airports DONE, see below
  2. Check if those airports have TaxiSigns in latest apt.dat (gateway 2016) and how many DONE
  3. Convert some legacy sings to apt.dat format using the tool taxisigns2aptdat.py DONE
  4. Manually remove size numbers after color tags, remove '-'after {@L} tag DONE
  5. Do not forget 3D elements: first download scenery-pack with WED , then import the output.dat file from taxisigns2aptdat.py DONE

Example:

./taxisigns2aptdat.py -s /my/scenery/2.0/Objects/w080n30/w077n39/1695826.stg -a KMTN.dat

Current status

6 airports were edited, uploaded, approved & recommended. The following 29(*) ICAO.dat files can be downloaded from the gateway to generate Terrain-path taxi signs to replace the legacy signs in the Object path.

(*) skip those where old = new = 0

Number of signs:

ICAO     new   old
=======================
16CA.dat  0	0	ok
EDDF.dat  575		ok	  		
EDDI.dat  60	64      ok   
EDDK.dat  126	75	ok	
EDDS.dat  166	74	ok
EDFE.dat  18	3	ok
EDFH.dat  49	39	ok
EDKB.dat  0	0	ok
EGKK.dat  143	120     ok, uploaded by legoboyvdlp (2016/01/22) scenery ID:42992 approved & recommended
EGKR.dat  0	0       ok
EHAM.dat  444   25      ok
EHLE.dat  34	16	ok
EHLV.dat  0	0       ok
EHNR.dat  0	3 	ok
EHVK.dat  20	3	ok
ESGP.dat  0	21	ok,3D, uploaded by laserman (2016/01/24) approved & recommended
KBFL.dat  68	103     ok,3D, layout by Litjan
KLEX.dat  104	23	ok
KLVK.dat  89	79	ok
KMTN.dat  0	44	ok,3D, uploaded by laserman (2016/01/24) approved & recommended
KPDX.dat  225	1	ok
KRHV.dat  0	41      ok,2D, uploaded by laserman (2016/01/24) approved & recommended
KSFO.dat  209  	62	ok
KSJC.dat  56	41      ok, same tile as KRHV
KVUO.dat  6	1	ok
LEBB.dat  102 	38      ok
LEHS.dat  0	0	ok helipad
LFRJ.dat  41	27	ok
LOWI.dat  22	11	ok
LSZB.dat  32	3	ok
TFFF.dat  35	20	ok
TJIG.dat  5	5	ok	
TJSJ.dat  175	49	ok
UMMS.dat  39	86      ok,2D, uploaded by laserman (2016/01/24) approved & recommended

Finding legacy signs

cd Objects
grep -R -c SIGN . | grep stg > ../signs.csv

bucket(tile) number , number of signs in that bucket (Object path)

  • ./w080n30/w077n39/1695817.stg 270
  • ./e000n50/e008n50/3089154.stg 266
  • ./e010n50/e012n51/3154776.stg 187
  • ./e010n50/e013n52/3171233.stg 164
  • ./w010n50/w001n51/2941771.stg 120
  • ./w120n30/w120n35/991067.stg 103
  • ./e020n50/e028n53/3417080.stg 86
  • ./w130n30/w122n37/958440.stg 79
  • ./e000n50/e007n50/3072816.stg 75
  • ./e000n40/e009n48/3105448.stg 74
  • ./e010n50/e013n52/3171225.stg 64
  • ./w130n30/w123n37/942050.stg 62
  • ./e010n50/e012n51/3154777.stg 54
  • ./w070n10/w067n18/1858335.stg 49
  • ./w080n30/w077n39/1695826.stg 44
  • ./w130n30/w122n37/958416.stg 41
  • ./e000n40/e007n49/3072761.stg 39
  • ./w010n40/w003n43/2908496.stg 38
  • ./e000n50/e004n52/3023762.stg 33
  • ./w010n40/w005n48/2876067.stg 27
  • ./w070n10/w066n18/1874712.stg 27
  • ./e000n50/e004n52/3023763.stg 25
  • ./w090n30/w085n38/1564673.stg 23
  • ./e010n50/e011n57/3138803.stg 21
  • ./w070n10/w062n14/1940007.stg 20
  • ./e000n50/e007n50/3072824.stg 18
  • ./w130n30/w123n37/942058.stg 18
  • ./e000n50/e005n52/3040154.stg 16
  • ./e010n40/e011n47/3138129.stg 11
  • ./w070n10/w061n14/1956384.stg 7
  • ./e000n50/e005n51/3040106.stg 3
  • ./e020n50/e028n53/3417072.stg 3
  • ./e000n40/e007n46/3072569.stg 3
  • ./e000n40/e008n49/3089146.stg 3
  • ./w130n40/w123n45/942561.stg 1

-> 35 tiles to check

Count apt.dat signs

for FILE in `ls *.dat`
do
  echo -n $FILE " "
  grep  -c "^20 " $FILE 
done

Which airports are in those tiles?

List of ICAOs for those 35 tiles:

------------------------------
./w080n30/w077n39/1695817.stg
OBJECT KBWI.btg - checked. all lecacy signs can be deleted. 246 signs in apt.dat
OBJECT 2MD7.btg helipad
OBJECT 1MD2.btg helipad
OBJECT 0MD0.btg helipad
OBJECT 0MD8.btg helipad
OBJECT MD36.btg helipad
------------------------------
./e000n50/e008n50/3089154.stg
OBJECT EDDF.btg - checked. all lecacy signs can be deleted. 575 signs in apt.dat
------------------------------
./e010n50/e012n51/3154776.stg
OBJECT EDDP.btg                            158 signs in apt.dat
------------------------------
./e010n50/e013n52/3171233.stg
OBJECT EDDT.btg                            148 signs in apt.dat
------------------------------
./w010n50/w001n51/2941771.stg
OBJECT EGKK.btg                        18       done ~ [[User:Legoboyvdlp|Lego]] (uploaded to gateway)
OBJECT EGKR.btg                        0
------------------------------
./w120n30/w120n35/991067.stg
OBJECT KBFL.btg                        68
OBJECT CL60.btg helipad
OBJECT 4L9.btg helipad
------------------------------
./e020n50/e028n53/3417080.stg
OBJECT UMMS.btg                         39
------------------------------
./w130n30/w122n37/958440.stg
OBJECT KLVK.btg                       89
OBJECT 4CA3.btg helipad
------------------------------
./e000n50/e007n50/3072816.stg
OBJECT EDKB.btg                       0   
OBJECT EDDK.btg                       126
------------------------------
./e000n40/e009n48/3105448.stg
OBJECT EDDS.btg                      166
------------------------------
./e010n50/e013n52/3171225.stg
OBJECT EDDI.btg                      60
------------------------------
./w130n30/w123n37/942050.stg
OBJECT KSFO.btg                     209
OBJECT SFO2.btg  helipad
OBJECT SFO1.btg  helipad
OBJECT 4Q2.btg helipad
------------------------------
./e010n50/e012n51/3154777.stg
------------------------------
./w070n10/w067n18/1858335.stg
OBJECT TJIG.btg                      5
OBJECT TJSJ.btg                    175
OBJECT PR16.btg helipad
OBJECT PR13.btg helipad
OBJECT PR20.btg helipad
OBJECT PR17.btg helipad
OBJECT PR30.btg helipad
OBJECT PR31.btg helipad 
OBJECT PR12.btg helipad
------------------------------
./w080n30/w077n39/1695826.stg
OBJECT W48.btg   essex skypark, no taxiways
OBJECT KMTN.btg                 0
OBJECT 5MD6.btg helipad
------------------------------
./w130n30/w122n37/958416.stg
OBJECT KRHV.btg               0
OBJECT KSJC.btg               56
OBJECT CA33.btg helipad
OBJECT CA34.btg helipad
------------------------------
./e000n40/e007n49/3072761.stg
OBJECT EDFH.btg              49
------------------------------
./w010n40/w003n43/2908496.stg
OBJECT LEBB.btg             102
OBJECT L001.btg helipad
OBJECT LEHS.btg              0
OBJECT L004.btg helipad
------------------------------
./e000n50/e004n52/3023762.stg
OBJECT EHLV.btg               0
------------------------------
./w010n40/w005n48/2876067.stg
OBJECT LFRJ.btg            41
------------------------------
./w070n10/w066n18/1874712.stg
OBJECT PR06.btg
------------------------------
./e000n50/e004n52/3023763.stg
OBJECT EHAM.btg                 444
------------------------------
./w090n30/w085n38/1564673.stg
OBJECT KLEX.btg                104
OBJECT 1KY4.btg helipad
OBJECT 88KY.btg helipad
OBJECT 37KY.btg helipad
------------------------------
./e010n50/e011n57/3138803.stg
OBJECT ESGP.btg                 0
------------------------------
./w070n10/w062n14/1940007.stg
OBJECT TFFF.btg               35
------------------------------
./e000n50/e007n50/3072824.stg
------------------------------
./w130n30/w123n37/942058.stg
OBJECT 16CA.btg  - a Helipad
------------------------------
./e000n50/e005n52/3040154.stg
OBJECT EHLE.btg               34 
------------------------------
./e010n40/e011n47/3138129.stg
OBJECT LOWI.btg              22
------------------------------
./w070n10/w061n14/1956384.stg
------------------------------
./e000n50/e005n51/3040106.stg
OBJECT EHNR.btg               0
OBJECT EHVK.btg               20
------------------------------
./e020n50/e028n53/3417072.stg
------------------------------
./e000n40/e007n46/3072569.stg
OBJECT LSZB.btg             32
------------------------------
./e000n40/e008n49/3089146.stg
OBJECT EDFE.btg           49
------------------------------
./w130n40/w123n45/942561.stg
OBJECT 59S.btg ?
OBJECT KVUO.btg              6
OBJECT KPDX.btg              225
OBJECT 3OR4.btg   ?
OBJECT 7OR5.btg   ?
OBJECT 3OR3.btg   ?
OBJECT 21OR.btg   ?
OBJECT 91OR.btg   ?
OBJECT 9OR5.btg   ?
OBJECT 61J.btg  helipad
OBJECT 34OR.btg helipad
OBJECT 21WA.btg helipad
OBJECT 9OR9.btg ?
OBJECT 76OR.btg ?
OBJECT 2OR5.btg ?
OBJECT 2OR9.btg ?