Accurate QMID and LOD Values

From FSDeveloper Wiki
Revision as of 08:47, 18 June 2008 by Fsfilmworks (talk | contribs) (Major Edit With More Accurate Calculations)
Jump to: navigation, search



The FSX SDK QMID & LOD tables are inaccurate and can prove to be problematic when using resample.exe on source data that has been generated with the SDK values. Due to the rounding of the SDK values this can leave gaps one pixel wide in adjacent blocks of data.

This new table will hopefully resolve these issues in the photoscenery design process.

QMID level LOD Block size X (degrees) Block size Y (degrees) One Pixel X (degrees) One Pixel Y (degrees) Meters/pixel X Meters/pixel Y
2 0 90 120 0.350194553 0.466926071 38913.62 51884.83
3 1 45 60 0.1750972765 0.2334630355 19456.81 25942.415
4 2 22.5 30 0.08754863825 0.11673151775 9728.405 12971.2075
5 3 11.25 15 0.043774319125 0.058365758875 4864.2025 6485.60375
6 4 5.625 7.5 0.0218871595625 0.0291828794375 2432.10125 3242.801875
7 5 2.8125 3.75 0.01094357978125 0.01459143971875 1216.050625 1621.4009375
8 6 1.40625 1.875 0.005471789890625 0.007295719859375 608.0253125 810.70046875
9 7 0.703125 0.9375 0.0027358949453125 0.0036478599296875 304.01265625 405.350234375
10 8 0.3515625 0.46875 0.00136794747265625 0.00182392996484375 152.006328125 202.6751171875
11 9 0.17578125 0.234375 0.000683973736328125 0.000911964982421875 76.0031640625 101.33755859375
12 10 0.087890625 0.1171875 0.0003419868681640625 0.0004559824912109375 38.00158203125 50.668779296875
13 11 0.0439453125 0.05859375 0.00017099343408203125 0.00022799124560546875 19.000791015625 25.3343896484375
14 12 0.02197265625 0.029296875 0.000085496717041015625 0.000113995622802734375 9.5003955078125 12.66719482421875
15 13 0.010986328125 0.0146484375 0.0000427483585205078125 0.0000569978114013671875 4.75019775390625 6.333597412109375
16 14 0.0054931640625 0.00732421875 0.00002137417926025390625 0.00002849890570068359375 2.375098876953125 3.1667987060546875
17 15 0.00274658203125 0.003662109375 0.000010687089630126953125 0.000014249452850341796875 1.1875494384765625 1.58339935302734375
18 16 0.001373291015625 0.0018310546875 0.0000053435448150634765625 0.0000071247264251708984375 0.59377471923828125 0.791699676513671875
19 17 0.0006866455078125 0.00091552734375 0.00000267177240753173828125 0.00000356236321258544921875 0.296887359619140625 0.3958498382568359375
20 18 0.00034332275390625 0.000457763671875 0.000001335886203765869140625 0.000001781181606292724609375 0.1484436798095703125 0.19792491912841796875
21 19 0.000171661376953125 0.0002288818359375 0.0000006679431018829345703125 0.0000008905908031463623046875 0.07422183990478515625 0.098962459564208984375
22 20 0.0000858306884765625 0.00011444091796875 0.00000033397155094146728515625 0.00000044529540157318115234375 0.037110919952392578125 0.0494812297821044921875
23 21 0.00004291534423828125 0.000057220458984375 0.000000166985775470733642578125 0.000000222647700786590576171875 0.0185554599761962890625 0.02474061489105224609375
24 22 0.000021457672119140625 0.0000286102294921875 0.0000000834928877353668212890625 0.0000001113238503932952880859375 0.00927772998809814453125 0.012370307445526123046875
25 23 0.0000107288360595703125 0.00001430511474609375 0.00000004174644386768341064453125 0.00000005566192519664764404296875 0.004638864994049072265625 0.0061851537227630615234375
26 24 0.00000536441802978515625 0.000007152557373046875 0.000000020873221933841705322265625 0.000000027830962598323822021484375 0.0023194324970245361328125 0.00309257686138153076171875
27 25 0.000002682209014892578125 0.0000035762786865234375 0.0000000104366109669208526611328125 0.0000000139154812991619110107421875 0.00115971624851226806640625 0.001546288430690765380859375
28 26 0.0000013411045074462890625 0.00000178813934326171875 0.000000005218305483460426330566 0.000000006957740649580955505371 0.000579858124256134033203125 0.0007731442153453826904296875
29 27 0.00000067055225372314453125 0.000000894069671630859375 0.000000002609152741730213165283 0.0000000034788703247904777526855 0.0002899290621280670166015625 0.00038657210767269134521484375