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

SBuilderX. Make landclass from map does't work

Messages
8
Country
sweden
SBuilderX. Make landclass from map doesn't work

Hello.

I have problem in SBuilderX313 when I try to create landclass from a color-map. I have added 23 different classes and colors. When I click "Make" to generate it says "Class Maps have been processed" but no landclasses are generated.

I've tested to create landclass in SBuilder 2.06 with the same map and it works perfect.


I even made a test in SBuilderX313 with the colormap from Luis Sa's Europeland-tutorial: http://www.ptsim.com/forum/viewtopic.php?f=18&t=150&p=4072&hilit=europe#p4072

The same result, "Class Maps have been processed" but no landclass generated.

It works to make landclass manually by clicking.

I've tested a lot of variants to solve the problem, but still no success. Can someone please help to fix this?

Best regards

Hasse.

If you want to test yourself you find the map here: http://www.ptsim.com/downloads/europeland.zip

I renamed europe_all.bmp to class_europe_all.bmp.

The coordinates are:

[GEOGRAPHIC]
Name=class_eu_all
North=60.000102
South=34.017963
West=-11
East=29.999993


The SBX file looks like this:

[Main]
CopyRight=PTSIM SB313
Name=class_europe_all
NoOfMaps=1
NoOfLands=0
NoOfLines=0
NoOfPolys=0
NoOfWaters=0
NoOfObjects=0
NoOfExcludes=0
NoOfLWCIs=16
BGLProjectFolder=C:\Program Files\SBuilderX313\SBXScenery
LatDispCenter= 57.738473
LonDispCenter= 14.331227
Zoom= 3

[Map.1]
Name=class_europe_all
BMPSu=C:\Program Files\SBuilderX313\Tools\Work\EU LC Test\class_europe_all.bmp
BMPSp=C:\Program Files\SBuilderX313\Tools\Work\EU LC Test\class_europe_all.bmp
BMPFa=C:\Program Files\SBuilderX313\Tools\Work\EU LC Test\class_europe_all.bmp
BMPWi=C:\Program Files\SBuilderX313\Tools\Work\EU LC Test\class_europe_all.bmp
BMPHw=C:\Program Files\SBuilderX313\Tools\Work\EU LC Test\class_europe_all.bmp
BMPLm=C:\Program Files\SBuilderX313\Tools\Work\EU LC Test\class_europe_all.bmp
Cols= 4593
Rows= 2911
NLat= 60.000102
SLat= 34.017963
ELon= 29.999993
WLon=-11

[LWCI.1]
Text=Land 78 78 78 Closed deciduous broadleaved forest
Color=FF00A300

[LWCI.2]
Text=Land 22 22 22 Closed evergreen needleaved forest
Color=FF005100

[LWCI.3]
Text=Land 23 23 23 Mixed needleaved and broadleved forest
Color=FF585E1B

[LWCI.4]
Text=Land 58 58 58 Mixed closed forest and shrubland
Color=FF909537

[LWCI.5]
Text=Land 57 57 57 Closed shrubland
Color=FFCD784F

[LWCI.6]
Text=Land 9 9 9 Open shrubland
Color=FFFFC55B

[LWCI.7]
Text=Land 30 30 30 Cultivated and managed areas, hebaceous crops, non-irrigated
Color=FFFFFF80

[LWCI.8]
Text=Land 35 35 35 Cultivated and managed areas, hebaceous crops, irrigated
Color=FF00FFFF

[LWCI.9]
Text=Land 76 76 76 Permanently cropped area with rainfed shrubs crops
Color=FFEEC35D

[LWCI.10]
Text=Land 10 10 10 Grassland
Color=FFFDBE44

[LWCI.11]
Text=Land 94 94 94 Mixed grassland and cultivated and managed areas, hebaceous crops, non-irrigated
Color=FFF7E554

[LWCI.12]
Text=Land 97 97 97 Wetland
Color=FF36C3B3

[LWCI.13]
Text=Land 9 9 9 Bare soil and sparsely vegetated area
Color=FFFFD1D9

[LWCI.14]
Text=Land 69 69 69 Extraction site
Color=FFFF00FF

[LWCI.15]
Text=Land 122 122 122 Snow and Ice
Color=FFFFFFFF

[LWCI.16]
Text=Land 111 111 111 Urban
Color=FFFF0000
 

Attachments

  • 4.jpg
    4.jpg
    85.3 KB · Views: 670
  • 5.jpg
    5.jpg
    92.7 KB · Views: 681
  • 6.JPG
    6.JPG
    79.7 KB · Views: 755
Last edited:
Hi HasseR.

There is a way to salvage this.

In your Sb2004 Work folder, you should have the .raw files from the project... named like LD_4516.raw

These files can be Appended as Class Raw files. The name contains the needed numbers. LD_4516.raw... LD means land, 54 is the W/E QMID, and 16 is the N/S QMID. Each raw file can be added one-by-one and the project then saved and compiled.

Alternately, you can use the FS9 INF and RAW files to recompile the landclasses as FSX:

Copy all the INF and BGL files to a new folder. Open each INF file and add this to the Source Section:

Null=254

So it reads similar to this:

Code:
[Source]
   Type = ClassU8
   SourceDir = "."
   SourceFile = "LD_4516.raw"
   Lat = 45
   Lon = -11.25
   NumOfCellsPerLine = 257
   NumOfLines = 257
   CellXdimensionDeg = 0.0146484375
   CellYdimensionDeg = 0.010986328125
   Null=254

[Destination]
   DestDir = ".\work"
   DestBaseFileName = "LD_4516"
   NorthLat = 45
   SouthLat = 42.1875
   EastLong = -7.5
   WestLong = -11.25

Then you can drag'n'drop each INF file onto FSX' resample to make an FSX landclass file.

I am not familiar with the process to make a Class map and add it to SBX. Perhaps Luis will read this and offer some help. But the above methods will work to get you a FSX landclass from those files.

Dick
 
Last edited:
Hello Dick.

Yes I know. I've practised this, but it's some extra work and that's "not my cup of tea" :D

Anyhow,thank you for the tip.

Regards Hasse.
 
Back
Top