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.

An "inf" Slarti Problem

Featured Replies

The following test "inf" file runs ok.********************** DestinationDestDir = ".scenery"DestBaseFileName = "Oregon_Test" UseSourceDimensions = 1LOD = Auto LWMSRTM = 0 Coastline = 1 SourceType = ImageSourceDir = ".Source"SourceFile = "35873504.tif" Lat = 44.109583311169999Lon = -122.04402811111100NumOfCellsPerLine = 4923NumOfLines = 4612CellXDimensionDeg = 0.000277777777999999970CellYDimensionDeg = 0.000277777660000000010ScaleInMeters = 1.00000000*****************If I add a WaterSource section, *****************Destination DestDir = ".scenery"DestBaseFileName = "Oregon_Test" UseSourceDimensions = 1LOD = Auto LWM SRTM = 0 Coastline = 1 SourceType = ImageSourceDir = ".Source"SourceFile = "35873504.tif" Lat = 44.109583311169999Lon = -122.04402811111100NumOfCellsPerLine = 4923NumOfLines = 4612CellXDimensionDeg = 0.000277777777999999970CellYDimensionDeg = 0.000277777660000000010ScaleInMeters = 1.00000000WaterSourceType = ImageSourceDir = ".Source"SourceFile = "p045r030_Water_Mask.bmp"Lat = 44.1496132Lon = -122.7547653NumOfCellsPerLine = 8786NumOfLines = 7791UMTZone = 10UMTOffX = 1852UMTOffY = 152UMTSize = 28.5*******************I get the following error message."cheight <0.000000> or cwidth <0.000000> is invalid."If I change "CoastLine = 1" to zero, the "inf" runs ok but I understand that it has to be be "1" to produce a water map. Help. I hope that this is not another senior moment on my part.Dan

Hi, Dan.Simple typo :) You've got "UMT..." where you should have "UTM..." .The cell dimensions - that is, the space covered by each pixel of the input data - are normally set by the "Cell(XY)DimensionDeg" parameters. For UTM they're calculated from those parameters instead. Your WaterSource section correctly doesn't have the Cell...Deg parameters, but because you've mistyped the UTM parameters, no other value is set and they're taken as 0. Since Slarti works at the highest resolution of all input files, and 0 is smaller than 0.00027, 0 is taken as the global value.Senior moment? Wouldn't worry about it too much; if I had $1 for every time I've sat and stared at something like this for half an hour... x( Cheers,Jim

  • Author

Hello Jim,Thank you so much. That did it! It runs like a charm. That transposition brings back many memories of when I did some programming many years ago. Again, thank you.Dan

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.