• 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.

FSX Positioning and splitting satellite images

Messages
217
Country
azerbaijan
This is my first SBuilderX project, so please bear with me... :)

This is the area I'd like to add as a background map in SBuilderX: UBBN Intl

I have a few questions now:

1) I have specifically centered the image in this position AND zoom level so that the lake and the green area (the city and suburbs) are visible. How can I achieve the same precision in SBuilderX using the boundary coordinates given on that webpage? I know how to add background maps in SBuilderX using Google tile servers but would like to do this precisely - currently the bottom of image doesn't show up in SbuilderX although clearly visible on PTSIM webpage with center coordinates entered...

2) Since the area is huge, how can I split it using SBuilderX (or any other tool) to smaller parcels/tiles, OR get their boundary coordinates for future reference so that they don't overlap?

Thank you!

Rustam
 
Last edited:
It doesn't matter if they overlap a bit (or a lot), just try to get them close and it's actually better if they do overlap otherwise you may get lines where the sources come together sometimes. You'd select each map and go through the motions of compiling which will generate an .inf for each source in the SBuilderX314\Tools\Work folder. Then, so you end up with just one .bgl, you'd multi source them together. Say you have two .infs that look like this:

Code:
[Source]
  Type = BMP
  Layer = Imagery
  SourceDir = "."
  SourceFile = "L14X10160X10162Y11861Y11863.BMP"
  Variation = All
  NullValue = 255,255,255
  SamplingMethod = Gaussian
  ulyMap =  44.4259344214532
  ulxMap = -68.37890625
  xDim =  4.29153442382813E-05
  yDim =  3.06544171344199E-05

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

...and

Code:
[Source]
  Type = BMP
  Layer = Imagery
  SourceDir = "."
  SourceFile = "L14X10160X10162Y11857Y11860.BMP"
  Variation = All
  NullValue = 255,255,255
  SamplingMethod = Gaussian
  ulyMap =  44.4573098013194
  ulxMap = -68.37890625
  xDim =  4.29153442382813E-05
  yDim =  3.06400194005629E-05

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

You'd make a new .inf and piece the data from those two .infs together like this:

Code:
[Source]
Type = MultiSource
NumberOfSources = 2

[Source1]
  Type = BMP
  Layer = Imagery
  SourceDir = "."
  SourceFile = "L14X10160X10162Y11861Y11863.BMP"
  Variation = All
  NullValue = 255,255,255
  SamplingMethod = Gaussian
  ulyMap =  44.4259344214532
  ulxMap = -68.37890625
  xDim =  4.29153442382813E-05
  yDim =  3.06544171344199E-05

[Source2]
  Type = BMP
  Layer = Imagery
  SourceDir = "."
  SourceFile = "L14X10160X10162Y11857Y11860.BMP"
  Variation = All
  NullValue = 255,255,255
  SamplingMethod = Gaussian
  ulyMap =  44.4573098013194
  ulxMap = -68.37890625
  xDim =  4.29153442382813E-05
  yDim =  3.06400194005629E-05

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

Drag the multi-source .inf and drop it on resample.exe, a copy of which can be found either in your SBuilderX314\Tools folder or your Microsoft Flight Simulator X SDK\SDK\Environment Kit\Terrain SDK folder. Resample will work out the overlaps and produce a seamless .bgl. The only caveat that I'm aware of is I believe resample won't compile a .bgl over 2Gb so if you have very large sources at high resolutions you may have to split things up into multiple .bgls.

Jim
 
Jim, thank you so much!!! I'll try your advice for sure.

Can I also ask why the big sized bitmaps which I've downloaded become tens times smaller bgls after resampling - 600mb to just 16mb? Is there a way to manipulate resampling options to preserve the source image quality?

Thanks!

PS: I tried splitting the image with XnView but I can't get the boundary coordinates of splitted tiles with it. Any advice?

Sent from my Galaxy S4 using Tapatalk
 
Do you have "LOD = Auto" in your .infs? Also you can vary the quality a bit with CompressionQuality = 93 or so, you can go as high as 100 but I haven't seen where it's really worth it, 93 seems like the point of diminishing returns to me but experiment and see what you think.

Jim
 
Back
Top