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.

Convert raw to geotiff

Featured Replies

Dear All:I have some raw file with landclass, i want to convert these files into tiff to georeference the tiff...Is there a way or tool to convert raw landclass files 257x257 to tiff?Thanks.Alfredo Mendiola LoyolaLima Per

  • Author
  • Commercial Member

Hi Alfredo,you can load the raw files into Photoshop or other image processing software that reads raw files. The land class raw files are 257x257 in 1-channel 8-bit.You can then save the raw in tif format and add geotiff tags with GeoTiffExamine - http://www.mentorsoftwareinc.com/freebie/free0699.htm- if needed. The NW corner for a raw file is defined in the accompanying inf file and each LOD5 raw file spans 2.8125 degrees latitude by 3.75 degrees longitude. xDim is always .0146484375 and yDim = .010986328125.Cheers, Holger

Hi Alfredo.The question now is why would you want to convert the data? Resample is very happy with RAW data... just supply the parameters as we have in the past, and the new resample will work just fine. You can use a multisource INF to combine several raw sources.Converting data to GeoTiff is an interesting exercise, but it simply complicates the whole resample process. If your original data is in GeoTiff format, then great. But if it is not, why not let resample use the RAW data, and let that program do the work?Dick

Dear Dick:The FSX Resample works with Geotiff.In the SDk documentation i don't see any tag that uses raw data, the documentation appoints to tiff instead of raw files.In the sdk examples, the inf files use geotiff, no raw data.But is hard to me to calculate the LOD 13 cells X,Y from LAt Lon coordinates, is there a formula to convert Lat, Lon to the LOD13 cell x,Y in the LOD 5 area?I found this inf in some forum:[source]Type=ClassU8SourceDir="F:FSXaaa FSX land classes"SourceFile="Texture Gallery CEE8 FSX.raw"Lat= 53.4375Lon=-112.5NumOfCellsPerLine=257NumOfLines=257CellXdimensionDeg= .0146484375CellYdimensionDeg= .010986328125[Destination]LOD=5UseSourceDimensions=1DestDir="F:FSXaaa FSX land classes"DestBaseFileName="Texture Gallery CEE8 FSX"But i don't know if is 100% compatible with the FSX Resample.Thanks.Alfredo Mendiola LoyolaLima Per

  • Author
  • Commercial Member

Hi Alfredo,here's a FSX compatible inf for use with raw files:[source]Type = RawLayer = LandClassSourceDir = "."SourceFile = "V200x_landclass_1414_FSX.raw"nCols = 257nRows = 257ulxMap = -127.5ulyMap = 50.625xDim = .0146484375yDim = .010986328125NullValue = 254BandLayout = BSQByteOrder = IntelnBands = 1SampleType = UINT8[Destination]DestFileType = BGLDestDir = "."DestBaseFileName = "VPlus_landclass_1414_FSX"UseSourceDimensions = 1LOD = 5Cheers, Holger

Here is the result of my inf:*****************************[source]Type = GeoTIFFSourceDir = "."SourceFile="GeoTif01.tif"Layer = LandClassulyMap = -11.25ulxMap = -78.75nCols = 257nRows = 257xDim = .0146484375yDim = .010986328125[Destination]DestDir="."DestBaseFileName="Tif01"See the result in the image.I have assigned the rgb=254 in the tif file for null value.What i'm doing wrong?

  • Author
  • Commercial Member

Hi there,the default null value (transparency) is 255. Thus, either you need to set the null values in your tiff to 255 or add the NullValue = 254 line in the inf.Cheers, Holger

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.