Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CellXdimensionDeg

Featured Replies

I've recently started experimenting with custom terrain textures. A problem I have is how do I calculate the numbers for the "CellXdimensionDeg and CellYdimensionDeg"? I know everything else about my image. I know the Latitude and Longitude of the Northwest corner of the image, I know the width and height in pixels of the image, plus the meters per pixel of the image. So is there maybe a math formula to that can help me figure this out?

cellxdim and cellydim, and both in units of degrees per pixel.Thus, its a comparison between the geographic location in terms of degrees and the pixels within your image of the same two points.Airports or the length of runways can work. Just convert your degree:minutes:seconds to decimal degrees (remember 60 seconds to the minute, and 60 minutes to the degree).Bob B

  • Author

Hi supergalacticemperor .If you know all the dimensions of the image, then the following will work:Xspan = ( North Latitude - South Latitude )CellXdimensionDeg = ( Xspan) / ( Image height in pixels ) Yspan = ( East Longitude - West Longitude )CellYdimensionDeg = ( Yspan ) / ( Image width in pixels ) They are the spans in degrees, divided by the number of pixels ( cells ) in the image.Dick

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.