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

Kml2BglComp converter

mendiola_loyola

Resource contributor
Messages
520
Country
peru
Dear All:

I have created a tool to convert a Google Earth Kml Polygon or LineString to a list of vertex tags that can be used with the BlgCompiler xml files.

The saved dat file will contain the following format:
<Vertex lat="-12.02434409197824" lon="-77.10771051001647" />
<Vertex lat="-12.02397668768341" lon="-77.10706171581835" />

Download Link v.1.2:
https://www.dropbox.com/s/x38oi2mps3834na/Kml2BlgCompV12.rar?dl=1

It has been tested with Google Earth versions 5 and 7.

Regards.
Alfredo Mendiola Loyola
 
Last edited:
Messages
5,214
Can you explain what you mean a bit more please about the dat file. Why a dat file? is the kml file not enough?
What is the purpose of making it an xml?
Just curious because i do not understand.
 

mendiola_loyola

Resource contributor
Messages
520
Country
peru
The .dat file is a text file with the vertexes that you can use to make airport aprons for example:

<Apron surface="ASPHALT" drawSurface="TRUE" drawDetail="TRUE">
<!-- add Vertex elements here -->
<Vertex lat="-12.02428546124198" lon="-77.10758221610929" />
<Vertex lat="-12.02403975806766" lon="-77.1070947249207" />
<Vertex lat="-12.02159739012027" lon="-77.10829262544232" />
<Vertex lat="-12.02178750646083" lon="-77.1087762780694" />
</Apron>

The idea is to use Google earth to make your airport polygons, then you export your polygon on a kml file, open the kml file, convert to .dat and use the
vertexes inside your airport xml file in order to compile it with the BGLCompiler included in the FSX/Prepar3D SDK.

Regards
Alfredo Mendiola Loyola
Lima, Peru
 
Messages
5,214
If I understand correctly, you use a satellite image, select the sides of an apron, save it as a kml and then use this .dat converted kml to texture your apron?
 
Messages
7,450
Country
us-illinois
Many thanks for sharing another great tool with us, Alfredo ! :)

Hmmm; if we can just import these "blank" XML files into ADE as source data to Add airport objects from a pick-list... :scratchch


It is otherwise such a P.I.T.A. making low-res or tiled high-res Geo-referenced background images for use in ADE. :banghead:


BTW: the direct URL for the SDK doc link posted above:

https://msdn.microsoft.com/en-us/library/cc526978.aspx#Aprons

GaryGB
 
Last edited:
Top