# LOD8 Calculation

## Recommended Posts

Quick question - how do I determine what the coordinates are for a given LOD8 cell? Not the lat/lon borders, but the MSFS world LOD8 coordinates (on the 786x512 grid of worldwide LOD8 cells). I'm working with custom textures and doing a LOD8 chunk at a time, and I'd like to name them by their LOD8 coordinates....are there any calculators/formulas which can help me figure out if I am in LOD8 cell a,z or b,y ?Thanks for any assistance!(The search of the forums have turned up blanks for me today)-Greg

##### Share on other sites
 Help AVSIM continue to serve you!Please donate today!

Hi Greg.LODCalc, by Richard Marklew.Sometimes the E/W button 'sticks'.. so change it, calculate, then change it back ( if needed ), and re-calculate.Dick

##### Share on other sites

I currently am using LODCalc to decipher the lat/lon borders, but I am looking for the actual LOD8 grid coordinates... such as 123,166. Can LODCalc do that? I haven't seen that function yet! (Do those coordinates even exist!)Curious,-Greg

##### Share on other sites

I always calculate that with just a pen, a piece of paper and my hand calculator :). You know how much cells there are and also how much degrees on cell is, so it is relatively easy to calculate then.For the latitude it is 180 degrees with is equal to 512 cells and for the longitude it is 360 degrees which is equal to 768 cells. If I remember correct the 0,0 cell is at N90, W180 (please check the SDK to be sure), so then it is easy to calculate the rest.

##### Share on other sites

Thanks for the links and files, but I couldn't find a utility in that package either that did what I was looking for. Most of them seem content to provide info within an LOD8 cell for VTP's, landclass, and other goodies. Nonetheless, I have taken to my own coordinate system. :) I've labeled up my own grid and I am using it for my file naming, so the "official" LOD8 cell names won't be necessary anymore. I could do the math for the real numbers, but I'll take the lazy route and number them myself.Thanks to all for your help and contributions.-Greg Germ

##### Share on other sites

Here's a pic of TDFCalc2. I circled the cell number ID. The picture is for N54* 28' 43.95" by W67* 26' 41.33". The LOD8 Cell ID is 239,100http://forums.avsim.com/user_files/3220.jpg

## Create an account

Register a new account

• Tom Allensworth,
Founder of AVSIM Online

• ### Hot Spots

• Flight Simulation's Premier Resource!

AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!