July 12, 200421 yr Hi.Sure. This is C++ but the formula will be the same for any other language: cx = (int)((lon+180.0)/(360.0/768.0)); cy = (int)((90.0-lat)/(180.0/512.0)); LoadFmt.Format("??9%02d%02d0.BGL",cx/8,cy/8);HTH,Jim.
Create an account or sign in to comment