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

compile many bgl to one bgl file ??

Messages
44
Country
germany
Hello,
i found nothing at the forum.

Can i compile many bgl files to one bgl file ?

I have for the islands 15 little BGL Files with 1k to 3k, and i want make one BGL File for this many files.

What is the right tool for this ?

Thanks
Regards ULI
 
As far as I know, you'll have to decompile the information in the .bgl files using something like BGL2XML or similar, combine the data all into one file, making sure to delete repeated information, if any, and sticking to the format set (you can look in the FSX SDK help file), then recompile the text file using BglComp.exe in your SDK folder. Make sure to save the file as a .xml file when combining the information.

However, I would keep it as separate files to make sure that no information is lost, especially if it is a stock FSX file. If you compiled the 15 .bgl files, then no information should be lost.:)
 
Hello,
i found nothing at the forum.

Can i compile many bgl files to one bgl file ?

I have for the islands 15 little BGL Files with 1k to 3k, and i want make one BGL File for this many files.

What is the right tool for this ?

Thanks
Regards ULI

What sort of data is in these files?
 
Answer

Hi all,
thats all in the files, the ground Polygones from FSX_kml.
There are in one file for the island the coordinates from new poly "beach" and "towns" and so on.
It was not so big at file to file.
but, there are to many little files between 1k to 3k....it was better when this all in one bgl file.
All the islands are beside at north sea. Exp. EDWG,EDWJ,EDWY,EDWB, and so on...and EDXW.

At orginal FSX all this islands without beach and correct ground polys!
I have correct this with google Earth, and the islands shows better !

I can to do this also with ADE, but with google earth goes this for me faster and very easy.
i must not corrected the ground position from the Polygone at google. He shows me dircetly at g. earth.

"saiarcot895"
thanks for your tip, but it was a complexed work, when i decompile, and write a new xml File....there are too mistakes after to do this. The xml file write programm shows me not all mistakes.
And when i compile this new XML File to bgl....then i have...
a wrong bgl file that shows me not what i have make with FSX_kml in FSX.
The way is to complexe that i make no mistake !

Better was a tool, there i can`t make mistakes.

Regards ULI
i have insert here a kml file and the bgl file ....for your show what there was in the files.
Rename the .txt file to .kml file
 

Attachments

I'm not that fanmiliar with FSX_KML, btu it seems that if the kml files were in the same folder, they would compile as one BGl, as I recall.

You'd be better off asking in that forum, so I'm moving it there.

Dick
 
Hi,

I moved your post to the terrain forum, as it is related with terrain scenery. Decompiling to XML will not work for these, as there are no decompilers for terrain BGL files.

I am not sure if you can combine the different terrain features in a single BGL, I think it would require the SHP files for SHP2VEC to be merged.

I know that MS uses different BGL files per type of line or polygon in the default scenery. So it is not too bad to follow their approach.
 
EDIT: Dick also moved it while I was typing :). FSX KML sounds like a good place as well.
 
Combining bgls to one file

If I understand your question, all you need to do is organize all your kml polygons into a separate folder, then save your folder as a kml file. Submit the folder to a build and you will get one
bgl. I have one bgl with excludes, water polygons landclass polygons of various types, roads, bridges, etc.

It is just a matter of organizing your folders into groups that each require the same tag.
 
If you create a single KML file then FSX_KML will create a BGL for vector scenery and another for landclass "tile" scenery.

Google Earth supports virtual "folders" within a KML so that you can organise your KML into seperate parts, eg a virtual "folder" for landclass tiles, another "folder" for vector scenery and so on...

So if you have multiple islands, towns, beaches and you want to put them in a single BGL, create a single KML file in Google Earth with all those islands, beaches, towns etc. When you process it with FSX_KML you will get a single BGL created.
 
Last edited:
Back
Top