Greetings All,
I currently have two programs from Golden Software (www.goldensoftware.com) called Didger and Surfer that I use for my work related projects. Didger allows one to digitize contours with the mouse (using a background bitmap copy of a topographical map). The created file can then be read by the Sufer package, which can in turn generate a regular grid file of interpolated values.
What I would like to do is write a FORTRAN program that reads these grid values, and writes out a separate file of elevation values, which together with an INF file can be read by the FSX RESAMPLE.EXE SDK program.
However, I am unsure of the format the elevation value file RESAMPLE.EXE requires. The SDK says and references that it should be a 16-bit integer sequential binary file with values that start at the top left-hand corner of the mesh and then proceeds row by row. I assume the values could be in the negative range but of course normally 0 (at sea level) to 32767. I am intending to use a sequential binary write. However, is there a header to this file? or is RESAMPLE.EXE expecting just a file of only 16 bit binary integer grid values.?
Any comments would be appreciated. Re
I currently have two programs from Golden Software (www.goldensoftware.com) called Didger and Surfer that I use for my work related projects. Didger allows one to digitize contours with the mouse (using a background bitmap copy of a topographical map). The created file can then be read by the Sufer package, which can in turn generate a regular grid file of interpolated values.
What I would like to do is write a FORTRAN program that reads these grid values, and writes out a separate file of elevation values, which together with an INF file can be read by the FSX RESAMPLE.EXE SDK program.
However, I am unsure of the format the elevation value file RESAMPLE.EXE requires. The SDK says and references that it should be a 16-bit integer sequential binary file with values that start at the top left-hand corner of the mesh and then proceeds row by row. I assume the values could be in the negative range but of course normally 0 (at sea level) to 32767. I am intending to use a sequential binary write. However, is there a header to this file? or is RESAMPLE.EXE expecting just a file of only 16 bit binary integer grid values.?
Any comments would be appreciated. Re


