Difference between revisions of "Accurate QMID and LOD Values"

From FSDeveloper Wiki
Jump to: navigation, search
(Corrected Meters/Pixel Calculations)
Line 10: Line 10:
 
}}
 
}}
  
<p><b>Please Note: Block Size Values are not yet complete</b></p>
+
<p>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.</p>
 +
 
 +
<p>This new table will hopefully resolve these issues in the photoscenery design process.</p>
  
 
<P>
 
<P>

Revision as of 08:55, 28 May 2008



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 (degrees) One Pixel (degrees) Meters/pixel
2 0 90 0.350194553 38913.62
3 1 45 0.1750972765 19456.81
4 2 22.5 0.087548638 9728.405
5 3 11.25 0.043774319 4864.2025
6 4 5.625 0.0218871595 2432.10125
7 5 2.8125 0.01094358 1216.050625
8 6 1.40625 0.00547179 608.0253125
9 7 0.703125 0.002735895 304.01265625
10 8 0.3515625 0.0013679475 152.006328125
11 9 0.17578125 0.0006839735 76.0031640625
12 10 0.087890625 0.000341987 38.00158203125
13 11 0.0439453125 0.0001709935 19.000791015625
14 12 0.0219726565 0.0000854965 9.5003955078125
15 13 0.010986328 0.00004274835 4.75019775390625
16 14 0.005493164 0.0000213742 2.37509887695313
17 15 0.002746582 0.0000106871 1.18754943847656
18 16 0.001373291 0.00000534355 0.593774719238281
19 17 0.0006866455 0.00000267177 0.296887359619141
20 18 0.000343323 0.000001335885 0.14844367980957
21 19 0.0001716615 0.000000667945 0.0742218399047852
22 20 0.0000858305 0.0000003339715 0.0371109199523926
23 21 0.00004291535 0.000000166986 0.0185554599761963
24 22 0.00002145765 0.000000083493 0.00927772998809815
25 23 0.00001072885 0.00000004174645 0.00463886499404907
26 24 0.0000053644 0.0000000208732 0.00231943249702454
27 25 0.00000268221 0.0000000104366 0.00115971624851227
28 26 0.000001341105 0.0000000052183 0.000579858124256134
29 27 0.00000067055 0.000000002609155 0.000289929062128067