- Messages
- 639
- Country

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:
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
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
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
Last edited: