Are there any way to select Satellite photo?

jtanabodee

Resource contributor
Hi,
I am making VTBS Suvarnabhumi Airport in Thailand. I get satellite photo for reference by using map in SbuilderX. I didn't finish the project yet, need more information. When I looked back into Google Earth, the current satellite photo contain a lot of clouds. The previous one is much better. Are there any method to select the better photo from the current one?
Best Regards,
 

rhumbaflappy

Moderator
Staff member
Resource contributor
The Google tiles are from Google maps... not Google Earth.

You might try an older version of the DLL, and see if that references the older tiles.

Dick
 

jtanabodee

Resource contributor
Thanks Dick for the reply.
I look at Google Map and Google Earth and they are the same photo now, full of cloud.
I'll try the previous DLL.
 

jtanabodee

Resource contributor
Google is not good for my area now, full of clouds.
I changed to virtual earth. Fortunately, the sky is still clear.
 
Hello:

If the imagery you have access to via MS Virtual Earth / Bing is satisfactory, congratulations (and thanks to Dick for those options !)

However, it might be nice to access other dates for imagery in some situations such as when a particular year has better imagery to offer of an area of interest.

Also, it might be helpful in tracing objects and determining layouts of buildings and facilities no longer in existence when such older imagery is available online via tile servers; this might be of interest to those making scenery for CFS2 or FS9 "Golden Wings" platforms, or those making ex: WWII historical scenery for FSX such as that discussed over at SOH recently.

I don't know if Dick can program the SBuilder imagery *.DLL file to point to a different date in Google Maps.


But if it instead can be pointed at Google Earth, there is an option for choosing different dates in the Google Earth GUI:

Google Earth Menu > View > Historical Imagery

This adds a chronological "slider" to the top left of the screen which can be used to pick other imagery dates.


Move that slider to the left, and you'll find that your prior "cloud-less" imagery is still there at Suvarnabhumi Airport. ;)


If Dick is not able to access other dates in either Google Maps or Google Earth via the SBuilder imagery *.DLL programming, you can instead:

1.) Set your screen display resolution at its highest setting

2.) Capture some screens for the areas needed and save them as *.BMPs

3.) Manually Geo-rectify the screen capture images in SBuilderX (Calibrate Map)

NOTE: See addendum / clarification below regarding this step:

http://www.fsdeveloper.com/forum/showpost.php?p=627190&postcount=8


4.) Copy and rename as needed for processing with other SBuilderX-captured imagery tiles in a multi-source INF with FSX SDK Resample


Hope this helps ! :)

GaryGB
 
Last edited:

jtanabodee

Resource contributor
I already did what you said GaryGB but the step 3 is quit difficult since the picture that we capture from the screen of computer is distorted om the edge. Because the erth model in google earth cause that.
 
Hello:

[EDITED]

Oops... I forgot to mention that the Google Earth screen will be in the Google Spherical Mercator projection (EPSG:3857... which is very similar to "UTM"... but slightly different), and must be re-projected in a GIS application to Geographic Latitude / Longitude projection and WGS84 datum before used via Resample. :eek:

NOTE: Please see... SBuilderX Menu > Help > Search Tab > Search String: "calibrate" > click 'List Topics' > Working with Maps > Map Calibration


FYI: SBuilderX automatically re-projects imagery tiles directly downloaded via the 3rd party *.DLL discussed above; however, it is not clear whether it also does this with imagery loaded via the "Add Map From Disk" function (...probably, it does not !)


For a reference on how SBuilderX internally 're-projects' and names imagery tiles directly downloaded using the above 3rd party *.DLL and "Add Map From Background", see:

http://www.ptsim.com/index.php?option=com_content&view=article&id=54&Itemid=58

[END_EDIT]


GaryGB
 
Last edited:
left hanging here as many of us might be.... what is a a gis app and bhow to use it to change the image to wgs84?
 
Hello:

Sorry for the brevity of my last 2 replies... that's not my usual style (...as you well know by now !) :p

I've only snippets of time intermittently available today. :rolleyes:


But, rather than just saying "Google is your friend", I'll try to explain a few things via some links that genuinely require some self-study to comprehend ...when making scenery in FS via 'alternate' methods that do not insulate the developer from the process taking place behind a GUI in a scenery building utility. ;)

http://en.wikipedia.org/wiki/Geographic_information_system

http://docs.openlayers.org/library/spherical_mercator.html

http://en.wikipedia.org/wiki/World_Geodetic_System




To explain SBuilders photo scenery process a bit more:

SBuilder's built-in capacity to add background maps captured from the ex: "Google" imagery tile servers via the 3rd party *.DLL discussed above results in downloaded aerial images being stored as *.JPG files in ex:

[SBuilderX install path]\Tiles\GoogleSatellite\

...with names such as "L12X6387X6390Y3780Y3782.JPG"



An example workflow for ICAO - VTBS when individual imagery areas are downloaded:

1.) SBuilderX Menu > View > Go To Position > Latitude: 13.6925; Longitude: 100.75

2.) SBuilderX Menu > View > Show Background

3.) Zoom / Center as desired at level which still displays an image using:

SBuilderX Icon Bar > Magnifying Glass Icon Button > Mouse left-click > Mouse Wheel +/-


4.) SBuilderX Menu > View > Add Map > From Background (follow dialog instructions); click OK

5.) SBuilderX Menu > Select > All Maps (green selection rectangle surrounds image Map)

6.) SBuilderX Menu > File > BGL Compile > Photo Scenery

A.) Optional: Start FSX and/or Copy BGL to [SBuilderX install path]\Scenery sub-folder

B.) Required: Click "Compile" button (CMD Resample task runs in a pop-up window, then exits)


7.) Inspect the following folders for pertinent example output files:

A.) [SBuilderX install path]\Scenery\ sub-folder: 'copy' of "Photo01.bgl"

B.) [SBuilderX install path]\Tools\Work\ sub-folder:

1.) 'Original' "Photo01.bgl"

2.) 'Original' "Photo01.inf" used with FSX SDK Resample to generate "Photo01.bgl" from:

a.) source *.TXT Geo-referencing 'world' file ex: "L12X6387X6390Y3780Y3782.TXT" (example file name only; yours may be different)

b.) source *.BMP 'imagery' file ex: L12X6387X6390Y3780Y3782.BMP" (example file name only; yours may be different)


CAVEAT: If you wish to save the " 'original' "Photo01.bgl" and 'original' "Photo01.inf" files, you must immediately copy them outside of the

[SBuilderX install path]\Tools\Work\ sub-folder

...to a backup folder location such as a new nested sub-folder ex:

[SBuilderX install path]\Tools\Work\Backup\[your project name]\

...or they will be over-written when you click "Compile" during the next imagery photo creation session in your project ! :alert:



Regrettably, I'm out of time for now; but when I get another opportunity, I shall attempt to explain how an individual imagery area from a screen capture and saved to disk ...may be "combined" with a larger group of image tiles downloaded directly inside SBuilderX using the background map functionality.


A much more appropriate tutorial by Luis Feliz-Tirado "Make photo-real ground texture" is of course available here:

http://library.avsim.net/esearch.php?CatID=fsxsd&DLID=140539


Also, please see Luis Feliz-Tirado's tutorial "Making custom ground textures" in the SBuilderX support forum at:

http://www.ptsim.com/forum/viewtopic.php?p=3478



Hope this helps as an initial orientation to the SBuilderX photo scenery making process. :)

GaryGB
 
Last edited:

jtanabodee

Resource contributor
2.) Capture some screens for the areas needed and save them as *.BMPs

3.) Manually Geo-rectify the screen capture images in SBuilderX (Calibrate Map)


GaryGB
I know how to capture the screen from google earth.

But how do we know the that the coordinate of the 4 corners of the photo we got from process 2?

I used to do that in photoshop, make a new photo semitransparent and move them to the same place of original photos that obtain from DLL process.
Is that what you mean in "Manually Geo-rectify"?
 
[EDITED]

I know how to capture the screen from google earth.

But how do we know the that the coordinate of the 4 corners of the photo we got from process 2?

I used to do that in photoshop, make a new photo semitransparent and move them to the same place of original photos that obtain from DLL process.
Is that what you mean in "Manually Geo-rectify"?
Hi Tic:

Yes, Geo-rectify = Geo-reference = "Calibrate" (term used by SBuilderX)

http://en.wikipedia.org/wiki/Georeference


NOTE: Also, please see... SBuilderX Menu > Help > Search Tab > Search String: "calibrate" > click 'List Topics' > Working with Maps > Map Calibration


Example workflow:

If using (ex: Photoshop) to align a ('temporarily semi-transparent') COPY of the screen capture image ...with underlying opaque tiled imagery directly downloaded via SBuilderX:

1.) Without changing the underlying tiled imagery directly downloaded via SBuilderX, align the superimposed semi-transparent screen capture image with it ...by adjusting both size and position of visible land marks etc. so they match the underlying tiled image

2.) Crop off areas at the outer edges of the superimposed screen capture image which are outside borders of the underlying tiled imagery directly downloaded via SBuilderX


NOTE: After properly aligned and cropped to match size and positioning of the underlying tiled imagery directly downloaded via SBuilderX, the final superimposed screen capture image should EXACTLY match the total Pixel Columns (Width) and Pixel Rows (Height) of that underlying tiled imagery directly downloaded via SBuilderX.


3.) Save the properly aligned and cropped superimposed COPY of the screen capture image as a 32-bit Windows *.BMP ...with NO alpha channel, and with NO MIPS.



TIP: You may wish to add a suffix "_DISK" to the end of the file name ex: "L12X6387X6390Y3780Y3782_DISK.bmp" to better identify it.

FYI: This edited file is "intended" to be combined with the other imagery directly downloaded via SBuilderX when processed through SBuilderX's "Add Map from Disk" feature:

SBuilderX Menu > File > Add Map > From Disk


...or via a manual process using a multi-source INF file directly with FSX SDK Resample


CAVEAT: "SBuilderX allows you to add a map from anywhere, but when you compile the *.BMP must be in Tools\Work (sub-folder)"

http://www.fsdeveloper.com/forum/showpost.php?p=123169&postcount=14


Comment: IIUC, Scott is referring to a requirement that SBuilderX will only process files properly via "Add Map From Disk" ...if an imagery file is loaded from:

[SBuilderX install path]\Tools\Work sub-folder location



4.) Once the screen capture image EXACTLY matches the position, and the Pixel Columns (Width) and Pixel Rows (Height) of the tiled imagery directly downloaded via SBuilderX, the Geo-referencing coordinates in the ex: "L12X6387X6390Y3780Y3782.TXT" 'world' file of that same tiled imagery directly downloaded via SBuilderX ...can be used to "Calibrate" the ex: "L12X6387X6390Y3780Y3782_DISK.bmp" screen capture image.

Here again, please refer to... SBuilderX Menu > Help > Search Tab > Search String: "calibrate" > click 'List Topics' > Working with Maps > Map Calibration


After calibrated, it may be necessary to use a multi-source INF using FSX SDK Resample directly to 'properly' combine the imagery tiles downloaded via SBuilderX background map with the map added from disk.

To do this, one may edit a COPY of the *.INF file saved as a backup above in the ex: [SBuilderX install path]\Tools\Work\Backup\[your project name]\ sub-folder:

http://www.fsdeveloper.com/forum/showpost.php?p=627261&postcount=10


...Why ?

CAVEAT: There appears to be an un-solved problem with SBuilderX running in 64-bit Vista or Win-7 causing it to not read the "Calibration" saved into a *.TXT 'world' file, and which effectively prevents one from also re-loading the map from disk and ex: writing out a Geo-TIFF, as it prompts for re-calibration each time it is loaded ! :banghead:

http://www.fsdeveloper.com/forum/showthread.php?t=219278

Has anyone come up with a solution for this ? :confused:


UPDATED February16, 2013:

I found threads explaining the 'BadImageFormat' issue and how experienced users may 'modify' SBuilderX (and other FS utilities ;) ) ...to run properly in Windows 64-bit:

http://www.ptsim.com/forum/topic.asp?TOPIC_ID=1360

http://www.fsdeveloper.com/forum/showthread.php?t=9971


[END_EDIT]

That's all I can post for tonight; ...hope this helps ! :)

GaryGB
 
Last edited:
Hello again:

Another option as an alternative to the above method of graphically aligning superimposed imagery layers is to use Luis Sa's "Exploring Google Maps" (aka "GMAPS") page:

http://www.ptsim.com/sbuilder/lemaps.asp?Lat=13.692690587327043&Lon=100.7512378692627&Zoom=14&T=0


This page automatically gives the Geographic extents of ones image area at either of 2 sizes.


CAVEAT: "When you want to select the view, you need to make sure the Google place-marker is correctly set, then press "Go To"... that centers the image and sets the coordinates. Be sure not to move the enlarged window map, or the coordinates will be off."

http://www.fsdeveloper.com/forum/showpost.php?p=123174&postcount=16



According to Rhumbaflappy, one can use the "FireShot" plug-in for Firefox to capture only the imagery window area (which matches the Geographic extents) ...and save it to disk.

"FireShot" is a FireFox extension capable of manually / automatically capturing selected portions of screens, or entire screens (even if parts of the image are 'scrolled' off the visible area of the web page):

http://getfireshot.com/


The Geographic extents can be copied from that web page GUI and pasted into NotePad, then saved to disk as a reference.


The image file can then be Geo-rectified when loaded into in a GIS application using the above Geographic extents info.


Once Geo-rectified in a GIS application, the image file can be re-projected from Google Spherical Mercator projection (EPSG:3857... which is very similar to "UTM"... but slightly different) to Geographic Latitude / Longitude projection and WGS84 datum.

Then using the appropriate function in the same GIS application, or another GIS utility, the image file can also be saved as a Geo-TIFF for greater ease of processing by FSX SDK Resample.


Hope these ideas offer a viable 'workaround' for anyone having problems with SBuilderX "Calibration" *.TXT 'world' file save/read issues on Windows 64-bit ! :)



Some pertinent links:


http://www.fsdeveloper.com/forum/showthread.php?t=18774&highlight=FireShot

http://www.fsdeveloper.com/forum/showthread.php?t=18774&highlight=FireShot



Also, in this thread, Dick refers to his own alternative to GMaps ...named "RhumbaMaps":

http://www.fsdeveloper.com/forum/showthread.php?t=18767&highlight=FireShot


...The 'online' version of RhumbaMaps is now back up and running:

http://www.fsdeveloper.com/forum/showpost.php?p=627844&postcount=16


Also, you can download a version of RhumbaMaps to run on your own computer here:

https://skydrive.live.com/?cid=f3950c5bbd2bcfa1&id=F3950C5BBD2BCFA1!439


GaryGB
 
Last edited:
Hi Tic:

While we await a reply from those who may have solutions for making more complete use of SBuilderX in 64-bit Windows with the photo-real scenery processes under discussion here, another very nice tutorial which merits review ...can be found here:

http://www.flightsim.com/vbfs/showthread.php?250762-How-to-create-photoreal-scenery-for-FSX

< Yep: it was 20 pages long as of today, and still growing; but it's chock full of outstanding and valuable info ! :teacher: >


Hope this helps a bit more ! :)

GaryGB
 
Last edited:

rhumbaflappy

Moderator
Staff member
Resource contributor
Hi,
I am making VTBS Suvarnabhumi Airport in Thailand. I get satellite photo for reference by using map in SbuilderX. I didn't finish the project yet, need more information. When I looked back into Google Earth, the current satellite photo contain a lot of clouds. The previous one is much better. Are there any method to select the better photo from the current one?
Best Regards,
You could use a google dll of an older version... I think that actually works.

PS

I fixed the link to Rhumbamaps

Dick
 
Last edited:
Many thanks for that Dick ! :)


PS: Any further thoughts on how to deal with the SBuilderX Windows 64-bit issues cited above ? :confused:

GaryGB
 

rhumbaflappy

Moderator
Staff member
Resource contributor
Hi Gary.

There could be a way to help with the calibration error. It would be to make an .SBX file to go with the background photo.

Here's a .TXT file for an image:
Code:
[GEOGRAPHIC]
Name=Photo_001
North=42.64358763213482
South=42.624644097628334
West=-88.6182975769043
East=-88.58396530151367
Here's an .SBX file that gives the right calibration:
Code:
[Main]
CopyRight=PTSIM SB313
Name=PROJECT
NoOfMaps=1
NoOfLands=0
NoOfLines=0
NoOfPolys=0
NoOfWaters=0
NoOfObjects=0
NoOfExcludes=0
NoOfLWCIs=0
BGLProjectFolder=C:\Program Files (x86)\SBuilderX313\Scenery
LatDispCenter= 42.6361481808594
LonDispCenter=-88.6014856732424
Zoom= 14

[Map.1]
Name=Photo01
BMPSu=C:\Program Files (x86)\SBuilderX313\Tools\Work\Image1.bmp
BMPSp=C:\Program Files (x86)\SBuilderX313\Tools\Work\Image1.bmp
BMPFa=C:\Program Files (x86)\SBuilderX313\Tools\Work\Image1.bmp
BMPWi=C:\Program Files (x86)\SBuilderX313\Tools\Work\Image1.bmp
BMPHw=C:\Program Files (x86)\SBuilderX313\Tools\Work\Image1.bmp
BMPLm=C:\Program Files (x86)\SBuilderX313\Tools\Work\Image1.bmp
Cols= 3200
Rows= 2400
NLat= 42.64358763213482
SLat= 42.624644097628334
ELon=-88.58396530151367
WLon=-88.6182975769043
Then you can append the SBX file, and it displays correctly. I think some sort of small program could be made to take the infor from the BMP and the TXT file, and output a correct SBX file automatically.


An additional benefit is that you need not have the BMP or the SBX in the Work folder anymore.

AddMap.zip

Dick
 
Last edited:
Many thanks yet again for checking into this, Dick... that looks quite promising as a possible workflow option ! :)


Dang, I'm on the road with only a wimpy "I-Pad" at my disposal... so I'll look forward to checking this out, and accessing the ZIP file tomorrow when I'm back at a (real) computer with SBuilderX on it. :scratchch

GaryGB
 
Last edited:
Hi Dick:

Now back at a "Real Computer", I have performed an initial test in SBuilderX with the files in AddMap.zip attached to your post above: ;)

http://www.fsdeveloper.com/forum/showpost.php?p=628185&postcount=18


In SBuilderX:

1.) I 'created a New Project' via:

SBuilderX Menu > File > New Project > General Tab > ex: "C-59_AddMap_Test"


2.) I attempted to 'Import' your "Image1.SBX" file via:

SBuilderX Menu > File > Import > Browse to my local [download path]\AddMap\ > Select "Image1.SBX" > click "Open" button


CAVEAT: "Import" SBX is NOT to be confused with the "Append" SBX process


< SBuilderX reported an error 'on-screen' >




2.) I exited SBuilderX, then edited my local [download path]\AddMap\"Image1.SBX":

A.) BGLProjectFolder=C:\Program Files (x86)\SBuilderX313\Scenery

...was changed to:

B.) my local path D:\SBuilderX313\Scenery

Thus, after editing, it reads: BGLProjectFolder=D:\SBuilderX313\Scenery



Again, In SBuilderX:

1.) I "Imported" your Image1.SBX file via:

SBuilderX Menu > File > Import > Browse to my local [download path]\AddMap\ > Select "Image1.SBX" > click "Open" button

< Image1.bmp was successfully imported to SBuilderX and displayed as a background map >


2.) I "Selected your < "Image1.bmp" background map for processing via:

SBuilderX Menu > Select > All Maps (

< green
selection rectangle surrounds image Map
>


3.) I attempted to compile a FSX CVX photo-real imagery BGL from the "Selected" Background Map:

SBuilderX Menu > File > BGL Compile > Photo Scenery

A.) Optional: Start FSX and/or Copy BGL to [SBuilderX install path]\Scenery sub-folder

B.) Required: Click "Compile" button (CMD Resample task runs in a pop-up window, then exits)


NOTE: No errors were reported by SBuilderX during that process


4.) I inspected the following folders, expecting to find the following pertinent example output files:

A.) [SBuilderX install path]\Scenery\ sub-folder: 'copy' of "Photo01.bgl"

B.) [SBuilderX install path]\Tools\Work\ sub-folder:

1.) 'Original' "Photo01.bgl"

2.) 'Original' "Photo01.inf" used with FSX SDK Resample to generate "Photo01.bgl" from:

...my local [download path]\AddMap\Image1.bmp


< SBuilderX incurred an error during processing, but did not report it 'on-screen' >


* 'Original' [SBuilderX install path]\Tools\Work\Photo01.bgl = MISSING

...and:

* 'Copy' of "Photo01.bgl" in [SBuilderX install path]\Scenery\ = MISSING


However, 'Original' "Photo01.inf" in [SBuilderX install path]\Tools\Work\ = PRESENT

< 'Intended' to be used with FSX SDK Resample to generate "Photo01.bgl" from:

...my local [download path]\AddMap\Image1.bmp >



I could not get this process to work in SBuilderX until:

1.) I copied the ...my local [download path]\AddMap\Image1.bmp file to create a "working copy" as:

D:\SBuilderX313\Tools\Work\Image1.bmp


2.) I copied the ...my local [download path]\AddMap\Image1.txt file to create a "working copy" as:

D:\SBuilderX313\Tools\Work\Image1.txt


3.) Again in SBuilderX, I:

A.) 'Selected' the background Map

B.) 'Compiled' the BGL

4.) Then:

* Inspection of pertinent SBulderX sub-folders showed the original and copy of the intended output BGLs were created successfully !


* Inspection of the C-59 Lake Lawn area near the airport showed that ...creation of the tile of scenery compiled by SBuilderX had been successful !




Thus, it seems that to "Add Map > From Disk", SBuilderX still requires working copies of ones:

* Photo source *.BMP aerial imagery file(s)

...and:

* Photo source *.TXT geo-reference 'world' file(s)

...in ones: [SBuilderX install path]\SBuilderX313\Tools\Work\ sub-folder



What is not yet clear:

1.) Whether SBuilderX automatically converts captured imagery tile(s) in ex: Google Spherical Mercator to Geographic Lat / Lon projection / WGS84 datum when one:

A.) Copies Photo source *.BMP aerial imagery file(s) and Photo source *.TXT geo-reference 'world' file(s) into ones:

[SBuilderX install path]\SBuilderX313\Tools\Work\ sub-folder


B.) Imports a *.SBX (pre-configured for photo-real scenery creation) ...from any source folder on disk

C.) Selects the Background Map (effectively 'Added from Disk') ...when such a SBX is 'Imported')

D.) Compiles the aerial imagery Background Map into a *.BGL


[EDITED]

NOTE: The process used when tiles are directly downloaded via the 3rd party *.DLL (rather than via Add Map From Disk) ...is discussed here:

http://www.fsdeveloper.com/forum/showpost.php?p=628638&postcount=14

http://www.ptsim.com/index.php?option=com_content&view=article&id=54&Itemid=58

[END_EDIT]


Dick:

Could you please explain at what point in the above process a ex: Google Spherical Mercator to Geographic Lat / Lon projection / WGS84 datum conversion is performed ? :eek:

...Or is the conversion instead performed via the 3rd party *.DLL for downloading tiles, prior to when those tiles are written to disk ? :confused:

If so, then IIUC, one must still plan to manually re-project any imagery or other "Map" content intended for use in SBuilderX which were not downloaded and ' internally' processed via the 3rd party *.DLL for downloading tiles referenced above in this thread. :scratchch


Thanks again for your consideration in further clarifying the needed workflow in this process. :)

GaryGB
 
Last edited:
Top