• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Using USGS for Photoreal scenery - Help?

Messages
89
Country
newzealand
Hello Everyone on the FSDeveloper forum!

Hope you're doing well. I am working with a good friend to create scenery for an airport in the USA (San Diego - KSAN). But we have one issue. The issue is, I have managed to get the photoreal showing in the simulator but it,s placement is not correct. It's north to the airport and a solid few KM away from where it should be.

Step I've taken to achieve this problem:

Using the earthexploer site (USGS) to get the photoreal scenery. On the earth view draw a square and select it over San Diego and then hit data sets.

http://i.imgur.com/mw9hxlc.jpg

After this I tick Aerial Imagery and select High resolution orthoimagery and hit results.

http://i.imgur.com/pfVeoE9.jpg

I then download the latest year (2014 in this case) and download all required files to fit in the square.

I am left with JPEG files, split into 4.

I then use Global Mapper to create one GEOTIFF file (TIF) format.

I can view the image and it works well no drama.

I then blendmask it and what not, and export them to TIF formats and the actual photoreal scenery to BMP.

I then use resampler.exe from the P3D SDK compile the images into a BGL format. I use the the config file seen below in quotation marks to tell the resampler to do what with the images. This is where I believe the problem is, BUT I may be wrong.

The following information (coordinates) are wrong, and hence for the poor placement seen in the simulator. Is there something specific I have to do to get that information? Or are my steps wrong? I've been struggling for a week now, and ANY help would mean the world to me.

ulyMap = 32.7322200495244
ulxMap = -117.190301090365
xDim = 1.07288360595653E-05
yDim = 9.0249747355327E-06


http://i.imgur.com/dlEOlu5.png

"[Source]
Type = MultiSource
NumberOfSources = 4

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "KSANHD.bmp"
Variation = January, February, March, April, May, June, July, August, September, October, November, December
Channel_BlendMask = 2.0
Channel_LandWaterMask = 3.0
ulyMap = 32.7322200495244
ulxMap = -117.190301090365
xDim = 1.07288360595653E-05
yDim = 9.0249747355327E-06

[Source2]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "KSANHD_B.tif"
SamplingMethod = Gaussian
ulyMap = 32.7322200495244
ulxMap = -117.190301090365
xDim = 1.07288360595653E-05
yDim = 9.0249747355327E-06

[Source3]
Type = TIFF
Layer = None
SourceDir = "."
SourceFile = "KSANHD_W.tif"
SamplingMethod = Gaussian
ulyMap = 32.7322200495244
ulxMap = -117.190301090365
xDim = 1.07288360595653E-05
yDim = 9.0249747355327E-06

[Source4]
Type = BMP
Layer = None
SourceDir = "."
SourceFile = "KSANHD_lm.bmp"
SamplingMethod = Gaussian
ulyMap = 32.7322200495244
ulxMap = -117.190301090365
xDim = 1.07288360595653E-05
yDim = 9.0249747355327E-06

[Destination]
DestDir = "."
DestBaseFileName = "KSAN"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 85
"

Many Thanks!
 
I'm just guessing, but the projection of the original image might not be geographic WGS84.
 
USGS image uses UTM (Universal Transverse Mercator) projection. As Dick pointed out, You need a utility that resamples your image into Geographic projection, and the datum you need to use is wgs84. I have a payware called Global mapper that does this, but there are a few freeware tools.
 
USGS image uses UTM (Universal Transverse Mercator) projection. As Dick pointed out, You need a utility that resamples your image into Geographic projection, and the datum you need to use is wgs84. I have a payware called Global mapper that does this, but there are a few freeware tools.

Hi Bob!

Thanks for you're reply.

I did use Global Mapper to convert the JPEG pictures to GEOTIFF. Is that correct? Or Am I missing a step here?

"I then use Global Mapper to create one GEOTIFF file (TIF) format."
 
Geotiff is a fine format. It can simplify your inf file, however...that's not what we're discussing in this thread. We are talking about "projection". My version of global mapper is a bit old now, but in my version the tool you need is located under the tools dropdown. its called configuration. From there you have a tab called projection. Now you have a dropdown that lets you select a projection. Choose "Geographic". Below that line is a dropdown called datum...choose wgs84. press apply. Now your image will be appearing as you expected it in the sim.
 
Geotiff is a fine format. It can simplify your inf file, however...that's not what we're discussing in this thread. We are talking about "projection". My version of global mapper is a bit old now, but in my version the tool you need is located under the tools dropdown. its called configuration. From there you have a tab called projection. Now you have a dropdown that lets you select a projection. Choose "Geographic". Below that line is a dropdown called datum...choose wgs84. press apply. Now your image will be appearing as you expected it in the sim.


Ahhh righto. My bad.

I'll try it tonight.
 
Back
Top