PDA

View Full Version : Resample.exe woes, Help is greatly appreciated



Pilot6459
05-31-2009, 04:05 PM
I hate to beat a dead horse. I read all of the topics on other forums before posting. I am trying to use a USGS GeoTiff from the seamless server to remake st. barts into something other than a flat island with no water at the end of the runway. I have microdem as well and I tried to export as a geotiff image and as a geotiff dem from microdem. I do not have the funds to access the geomapper software. I am getting the same old error that it can not open the source file. This is the inf I am using:

[Source]
Type = GeoTiff
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "THISONE.tif"
ulxMAP = -62.953333333
ulyMAP = 18.0333333
xDim = 2.05590208e-4
yDim = 1.90104167e-3

[Destination]
DestDir = "Output"
DestBaseFileName = "Saint_Barts_Elevations"
DestFileType = BGL
LOD = Auto

The TIF file is in WGS84 format as said by the ERDAS view finder. I think this is an issue with resample.

If someone would walk me through the process of making a new mesh it would be excellent.

I can provide you with the geotiff from USGS as it is only about 1mb.

Time in Flight simulators: 10+ years
Total time making scenery: 0
Total time attempting to make scenery: 5 hrs

Any help is very much appreciated. Please make any explanations very precise and clearly worded. This is a very new realm for me so it may take me a few tries to understand but once I understand the process I am a quick learner.

Thanks Again

p.s.
I tried the supplied samples and got the same error for the death valley example.

scott967
06-01-2009, 09:45 PM
I think if you are using geotiff, you don't use the ulxMAP and follow directives. Those are for tiff. You might try changing type to tiff and see what that does. Note that the data has to be 16 bit signed integer. I'm not sure that all USGS derived data is in that format. (I assume you are using fsx resample, right?)

Here is another place to get geotiff DEM data in 1 degree chunks:
http://srtm.csi.cgiar.org/index.asp

scott s.
.

Pilot6459
06-02-2009, 12:19 AM
I got it to work. I didnt realize you had to use the whole file name ie. "C:\program files\microsoft games\microsoft flight simulator x sdk\sdk\terrain sdk\resample examples\(filename).inf" with quotes or copy resampler into the souce folder and drag and drop.