• 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 Bug with XML code generated by FSXKML

Messages
639
Country
panama
FSX KML v1.10 Beta (apparently it never left beta state)

I have a problem with my scenery, in particular I used Pin objects (not polygons or polylines) to place scenery objects from the library (does not appear to work).

When I selected the object in my KML list I then looked at the XML shown for that object on the XML tab on the right and found this:

Code:
<Placemark xmlns="http://www.opengis.net/kml/2.2">
	<name>Antenna 3</name>
	<LookAt>
		<longitude>-82.54047108565821</longitude>
		<latitude>8.80659589126684</latitude>
		<altitude>0</altitude>
		<range>165.7480648310203</range>
		<tilt>22.51348366245771</tilt>
		<heading>1.971283554975254</heading>
		<altitudeMode>relativeToGround</altitudeMode>
		<gx:altitudeMode xmlns:gx="http://www.google.com/kml/ext/2.2">relativeToSeaFloor</gx:altitudeMode>
	</LookAt>
	<styleUrl>#msn_target</styleUrl>
	<Point>
		<coordinates>-82.54037119555481,8.806659058117116,0</coordinates>
	</Point>
	<description>SceneryObject_LibraryObject_gen_radiotower01
AltitudeIsAgl=True
</description></Placemark>

One of the items shown on the properties is a checkbox "Altitude is AGL" and when I looked at the generated XML code I see that it has been improperly generated, the AltitudeIsAgl=True is (I presume) an attribute of the Description element and in the generated XML it has been improperly placed as text within the description. This should have looked like this

Code:
<description AltitudeIsAgl=True> blah blah blah </description>

and if it is not an attribute of description it should be an attribute of another element if it is to follow that notation.

I have attached the KML because I compile it and it doesn't give errors but the scenery doesn't show it at all even though it says "compiling database" when I reload FSX after updating that scenery.

For those willing to take a look at the problem in detail, place your aircraft at PX02 (Alvaro Berroa airport in PANAMA) and slew the a/c northeast to the highest peak (Volcan Baru) at 12000 foot and these coordinates

W 82.54104548817837
N 8.807589757022372
 

Attachments

  • PA-VolcanBaru.zip
    1.5 KB · Views: 423
Last edited:
Messages
639
Country
panama
I read the manual again (hadn't used this for quite a while) and noticed in it that scenery library objects are placed with PolyLine (path) and not with Point (pushpin).

However, I did so in my project for Building 1 and Antenna 1 as paths and the appropriate tag and elevation but they still don't show in FSX.
 
Last edited:
Messages
639
Country
panama
Yet I must add that the generated XML tag for description does have a problem. In this case what was supposed to be the attribute is generated as free text instead.
 
Top