<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://www.fsdeveloper.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Osman</id>
	<title>FSDeveloper Wiki - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="http://www.fsdeveloper.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Osman"/>
	<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php/Special:Contributions/Osman"/>
	<updated>2026-05-08T13:20:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Modifying_airport_elevation&amp;diff=1962</id>
		<title>Modifying airport elevation</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Modifying_airport_elevation&amp;diff=1962"/>
		<updated>2006-11-25T14:22:27Z</updated>

		<summary type="html">&lt;p&gt;Osman: /* Making a new airport background */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are at least some cases in FS X where the elevation of an airport in the default scenery does not match the elevation given in more or less official documents like aviation databases or government sources. If this difference is more than a few feet and you want to improve the situation, you will face three different jobs: &lt;br /&gt;
- adjustment of the mesh;&lt;br /&gt;
- adjustment of the airport background;&lt;br /&gt;
- adjustment of the airport.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Adjustment of the mesh ==&lt;br /&gt;
With some possible exceptions the airport elevation in the FS X scenery files matches the elevation of the surrounding terrain. Thus there would be no point in correcting the airport without having the mesh corrected too. It is beyond the scope of this article to explain how you can produce a more correct mesh; I asssume that you are able to download a better suited mesh from one of the usual fs sites (if you have not already done one yourself). After you have installed that corrected mesh your airport will either sit on a mesa-like mountain or in a deep hole - depending on whether it was situated to low or to high. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Making a new airport background ==&lt;br /&gt;
In FS X you will have to make a new cvx*.bgl file to adjust the airport background. In order to obtain that file you have to make a group of shapefiles as input for the program shp2vec.exe which you find in the FS X SDK. At present there are essentially two utilities which will help you to produce these shapefiles: you can either use FSX KLM for which you can find a manual in this Wiki or you can use xml2shp.exe which you can find as an attachement in a thread in the SceneryDesign section of this site.&lt;br /&gt;
Since the latter program is new and less well known, I will explain here how to proceed. First of all you will have to obtain the coordinates of the vertices of the airport background. You can do this either by drawing a polygon in GoogleEarth and saving it as a kml file or by using the slew mode of FS X, going with your plane to the corners of the airport background and noting down the longitude and latitude of each point, or by opening TmfViewer, going to the location of the airport, finding th yellow rectangle that is the airport background and identifying the corner points with your mouse pointer. The last method has the advantage that at the same time by rightclicking with the mouse on the yellow rectangle you will get the GUID which MS used for the airport background.&lt;br /&gt;
As an exemple I will take Jundiai airport in Brazil (SDJD): &lt;br /&gt;
the guid is {46BFB3BD-CE68-418E-8112-FEBA17428ACE}, the corners are at &lt;br /&gt;
-46.9507,-231728 -46.9480,-23.1715 -46.9366,-23.1904 -46.9393,-23.1917&lt;br /&gt;
Since you need 5 points for a rectangle (the last one must be identical with the first one),&lt;br /&gt;
your sourcecode file should look like this:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;shapes&amp;gt;&lt;br /&gt;
   &amp;lt;exclusion&amp;gt;&lt;br /&gt;
   &amp;lt;guid&amp;gt;{359C73E8-06BE-4FB2-ABCB-EC942F7761D0}&amp;lt;/guid&amp;gt;&lt;br /&gt;
   &amp;lt;coordinates&amp;gt;&lt;br /&gt;
   -46.9507,-231728,0 -46.9480,-23.1715,0 -46.9366,-23.1904,0 &lt;br /&gt;
   -46.9393,-23.1917,0 -46.9507,-231728,0&lt;br /&gt;
   &amp;lt;/coordinates&amp;gt;&lt;br /&gt;
   &amp;lt;/exclusion&amp;gt;&lt;br /&gt;
   &amp;lt;airportBounds&amp;gt;&lt;br /&gt;
   &amp;lt;guid&amp;gt;{46BFB3BD-CE68-418E-8112-FEBA17428ACE}&amp;lt;/guid&amp;gt;&lt;br /&gt;
   &amp;lt;coordinates&amp;gt;&lt;br /&gt;
   -46.9507,-231728,757.1 -46.9480,-23.1715,757.1 -46.9366,-23.1904,757.1 &lt;br /&gt;
   -46.9393,-23.1917,757.1 -46.9507,-231728,757.1&lt;br /&gt;
   &amp;lt;/coordinates&amp;gt;&lt;br /&gt;
   &amp;lt;/airportBounds&amp;gt;&lt;br /&gt;
   &amp;lt;/shapes&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save it as SDJD.xml and call the xml2shp program: xml2shp SDJD.xml. You should obtain 8 files, 4 with EXXSDJD.* and 4 with FLXSDJD.*&lt;br /&gt;
&lt;br /&gt;
Now you can call shp2vec in the usual way to obtain a cvxsdjd.bgl file which you can put in your addon scenery folder.&lt;br /&gt;
&lt;br /&gt;
== Adjusting the airport ==&lt;br /&gt;
Since there is still no AFCAD for FS X, you have to edit the airport file manually. In order to do that, you have to disassemble the relevant MS scenery file (in this case APX35400.bgl) with the BglAnalyzeX program to be found at AVSIM or in a seperate thread on this site. Open the resulting xml file with a text editor and search for the string with the ICAO identifier and copy everything form the line with the identifier to the closing &amp;lt;/Airport&amp;gt; (before the next airport starts). Copy the first few lines of the file too (until and including the line beginning with xsi:), put them in the beginning of the new file and do not forget to add a &amp;lt;/FSData&amp;gt; tag at the end of the file. &lt;br /&gt;
Just after the initial part of the &amp;lt;Airport, i.e. after the line with the &amp;quot;magvar&amp;quot; property as the first word) add the following lines:&lt;br /&gt;
  &amp;lt;DeleteAirport&lt;br /&gt;
    deleteAllApronLights=&amp;quot;TRUE&amp;quot;&lt;br /&gt;
    deleteAllAprons=&amp;quot;TRUE&amp;quot;&lt;br /&gt;
    deleteAllFrequencies=&amp;quot;TRUE&amp;quot;&lt;br /&gt;
    deleteAllHelipads=&amp;quot;TRUE&amp;quot;&lt;br /&gt;
    deleteAllRunways=&amp;quot;TRUE&amp;quot;&lt;br /&gt;
    deleteAllStarts=&amp;quot;TRUE&amp;quot;&lt;br /&gt;
    deleteAllTaxiways=&amp;quot;TRUE&amp;quot;&lt;br /&gt;
    &amp;gt;&lt;br /&gt;
Then you have to change the values alt= in the initial section, in every Runway section and in every Start section to reflect the correct value. After saving the file (I would suggest to use a similar convention as with AFCAD, i.e. to call the file AFX***.xml) you can compile it with bglcomp and put the resulting AFX***.bgl file into your addon folder. &lt;br /&gt;
That is all. There should be no problems with AI traffic or approaches if you proceed like this.&lt;/div&gt;</summary>
		<author><name>Osman</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Modifying_airport_elevation&amp;diff=1961</id>
		<title>Modifying airport elevation</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Modifying_airport_elevation&amp;diff=1961"/>
		<updated>2006-11-25T14:02:46Z</updated>

		<summary type="html">&lt;p&gt;Osman: /* Making a new airport background */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are at least some cases in FS X where the elevation of an airport in the default scenery does not match the elevation given in more or less official documents like aviation databases or government sources. If this difference is more than a few feet and you want to improve the situation, you will face three different jobs: &lt;br /&gt;
- adjustment of the mesh;&lt;br /&gt;
- adjustment of the airport background;&lt;br /&gt;
- adjustment of the airport.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Adjustment of the mesh ==&lt;br /&gt;
With some possible exceptions the airport elevation in the FS X scenery files matches the elevation of the surrounding terrain. Thus there would be no point in correcting the airport without having the mesh corrected too. It is beyond the scope of this article to explain how you can produce a more correct mesh; I asssume that you are able to download a better suited mesh from one of the usual fs sites (if you have not already done one yourself). After you have installed that corrected mesh your airport will either sit on a mesa-like mountain or in a deep hole - depending on whether it was situated to low or to high. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Making a new airport background ==&lt;br /&gt;
In FS X you will have to make a new cvx*.bgl file to adjust the airport background. In order to obtain that file you have to make a group of shapefiles as input for the program shp2vec.exe which you find in the FS X SDK. At present there are essentially two utilities which will help you to produce these shapefiles: you can either use FSX KLM for which you can find a manual in this Wiki or you can use xml2shp.exe which you can find as an attachement in a thread in the SceneryDesign section of this site.&lt;br /&gt;
Since the latter program is new and less well known, I will explain here how to proceed. First of all you will have to obtain the coordinates of the vertices of the airport background. You can do this either by drawing a polygon in GoogleEarth and saving it as a kml file or by using the slew mode of FS X, going with your plane to the corners of the airport background and noting down the longitude and latitude of each point, or by opening TmfViewer, going to the location of the airport, finding th yellow rectangle that is the airport background and identifying the corner points with your mouse pointer. The last method has the advantage that at the same time by rightclicking with the mouse on the yellow rectangle you will get the GUID which MS used for the airport background.&lt;br /&gt;
As an exemple I will take Jundiai airport in Brazil (SDJD): &lt;br /&gt;
the guid is {46BFB3BD-CE68-418E-8112-FEBA17428ACE}, the corners are at &lt;br /&gt;
-46.9507,-231728 -46.9480,-23.1715 -46.9366,-23.1904 -46.9393,-23.1917&lt;br /&gt;
Since you need 5 points for a rectangle (the last one must be identical with the first one),&lt;br /&gt;
your sourcecode file should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;shapes&amp;gt;&lt;br /&gt;
&amp;lt;exclusion&amp;gt;&lt;br /&gt;
&amp;lt;guid&amp;gt;{359C73E8-06BE-4FB2-ABCB-EC942F7761D0}&amp;lt;/guid&amp;gt;&lt;br /&gt;
&amp;lt;coordinates&amp;gt;&lt;br /&gt;
-46.9507,-231728,0 -46.9480,-23.1715,0 -46.9366,-23.1904,0 &lt;br /&gt;
-46.9393,-23.1917,0 -46.9507,-231728,0&lt;br /&gt;
&amp;lt;/coordinates&amp;gt;&lt;br /&gt;
&amp;lt;/exclusion&amp;gt;&lt;br /&gt;
&amp;lt;airportBounds&amp;gt;&lt;br /&gt;
&amp;lt;guid&amp;gt;{46BFB3BD-CE68-418E-8112-FEBA17428ACE}&amp;lt;/guid&amp;gt;&lt;br /&gt;
&amp;lt;coordinates&amp;gt;&lt;br /&gt;
-46.9507,-231728,757.1 -46.9480,-23.1715,757.1 -46.9366,-23.1904,757.1 &lt;br /&gt;
-46.9393,-23.1917,757.1 -46.9507,-231728,757.1&lt;br /&gt;
&amp;lt;/coordinates&amp;gt;&lt;br /&gt;
&amp;lt;/airportBounds&amp;gt;&lt;br /&gt;
&amp;lt;/shapes&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save it as SDJD.xml and call the xml2shp program: xml2shp SDJD.xml. You should obtain 8 files, 4 with EXXSDJD.* and 4 with FLXSDJD.*&lt;br /&gt;
&lt;br /&gt;
Now you can call shp2vec in the usual way to obtain a cvxsdjd.bgl file which you can put in your addon scenery folder.&lt;/div&gt;</summary>
		<author><name>Osman</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Modifying_airport_elevation&amp;diff=1960</id>
		<title>Modifying airport elevation</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Modifying_airport_elevation&amp;diff=1960"/>
		<updated>2006-11-25T13:52:43Z</updated>

		<summary type="html">&lt;p&gt;Osman: /* Making a new airport background */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are at least some cases in FS X where the elevation of an airport in the default scenery does not match the elevation given in more or less official documents like aviation databases or government sources. If this difference is more than a few feet and you want to improve the situation, you will face three different jobs: &lt;br /&gt;
- adjustment of the mesh;&lt;br /&gt;
- adjustment of the airport background;&lt;br /&gt;
- adjustment of the airport.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Adjustment of the mesh ==&lt;br /&gt;
With some possible exceptions the airport elevation in the FS X scenery files matches the elevation of the surrounding terrain. Thus there would be no point in correcting the airport without having the mesh corrected too. It is beyond the scope of this article to explain how you can produce a more correct mesh; I asssume that you are able to download a better suited mesh from one of the usual fs sites (if you have not already done one yourself). After you have installed that corrected mesh your airport will either sit on a mesa-like mountain or in a deep hole - depending on whether it was situated to low or to high. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Making a new airport background ==&lt;br /&gt;
In FS X you will have to make a new cvx*.bgl file to adjust the airport background. In order to obtain that file you have to make a group of shapefiles as input for the program shp2vec.exe which you find in the FS X SDK. At present there are essentially two utilities which will help you to produce these shapefiles: you can either use FSX KLM for which you can find a manual in this Wiki or you can use xml2shp.exe which you can find as an attachement in a thread in the SceneryDesign section of this site.&lt;br /&gt;
Since the latter program is new and less well known, I will explain here how to proceed. First of all you will have to obtain the coordinates of the vertices of the airport background. You can do this either by drawing a polygon in GoogleEarth and saving it as a kml file or by using the slew mode of FS X, going with your plane to the corners of the airport background and noting down the longitude and latitude of each point, or by opening TmfViewer, going to the location of the airport, finding th yellow rectangle that is the airport background and identifying the corner points with your mouse pointer. The last method has the advantage that at the same time by rightclicking with the mouse on the yellow rectangle you will get the GUID which MS used for the airport background.&lt;br /&gt;
As an exemple I will take Jundiai airport in Brazil (SDJD): &lt;br /&gt;
the guid is {46BFB3BD-CE68-418E-8112-FEBA17428ACE}, the corners are at &lt;br /&gt;
-46.9507,-231728 -46.9480,-23.1715 -46.9366,-23.1904 -46.9393,-23.1917&lt;br /&gt;
Since you need 5 points for a rectangle (the last one must be identical with the first one),&lt;br /&gt;
your sourcecode file should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;shapes&amp;gt;&lt;br /&gt;
&amp;lt;exclusion&amp;gt;&lt;br /&gt;
&amp;lt;guid&amp;gt;{359C73E8-06BE-4FB2-ABCB-EC942F7761D0}&amp;lt;/guid&amp;gt;&lt;br /&gt;
&amp;lt;coordinates&amp;gt;&lt;br /&gt;
-46.9507,-231728,0 -46.9480,-23.1715,0 -46.9366,-23.1904,0 &lt;br /&gt;
-46.9393,-23.1917,0 -46.9507,-231728,0&lt;br /&gt;
&amp;lt;/coordinates&amp;gt;&lt;br /&gt;
&amp;lt;/exclusion&amp;gt;&lt;br /&gt;
&amp;lt;airportBounds&amp;gt;&lt;br /&gt;
&amp;lt;guid&amp;gt;{46BFB3BD-CE68-418E-8112-FEBA17428ACE}&amp;lt;/guid&amp;gt;&lt;br /&gt;
&amp;lt;coordinates&amp;gt;&lt;br /&gt;
-46.9507,-231728,757.1 -46.9480,-23.1715,757.1 -46.9366,-23.1904,757.1 &lt;br /&gt;
-46.9393,-23.1917,757.1 -46.9507,-231728,757.1&lt;br /&gt;
&amp;lt;/coordinates&amp;gt;&lt;br /&gt;
&amp;lt;/airportBounds&amp;gt;&lt;br /&gt;
&amp;lt;/shapes&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save it as SDJD.xml and call the xml2shp program: xml2shp SDJD.xml. Now you should have 8 files, 4 with EXXSDJD.* and 4 with FLXSDJD.*&lt;/div&gt;</summary>
		<author><name>Osman</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Modifying_airport_elevation&amp;diff=1959</id>
		<title>Modifying airport elevation</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Modifying_airport_elevation&amp;diff=1959"/>
		<updated>2006-11-25T13:09:47Z</updated>

		<summary type="html">&lt;p&gt;Osman: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are at least some cases in FS X where the elevation of an airport in the default scenery does not match the elevation given in more or less official documents like aviation databases or government sources. If this difference is more than a few feet and you want to improve the situation, you will face three different jobs: &lt;br /&gt;
- adjustment of the mesh;&lt;br /&gt;
- adjustment of the airport background;&lt;br /&gt;
- adjustment of the airport.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Adjustment of the mesh ==&lt;br /&gt;
With some possible exceptions the airport elevation in the FS X scenery files matches the elevation of the surrounding terrain. Thus there would be no point in correcting the airport without having the mesh corrected too. It is beyond the scope of this article to explain how you can produce a more correct mesh; I asssume that you are able to download a better suited mesh from one of the usual fs sites (if you have not already done one yourself). After you have installed that corrected mesh your airport will either sit on a mesa-like mountain or in a deep hole - depending on whether it was situated to low or to high. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Making a new airport background ==&lt;br /&gt;
In FS X you will have to make a new cvx*.bgl file to adjust the airport background. In order to obtain that file you have to make a group of shapefiles as input for the program shp2vec.exe which you find in the FS X SDK. At present there are essentially two utilities which will help you to produce these shapefiles: you can either use FSX KLM for which you can find a manual in this Wiki or you can use xml2shp.exe which you can find as an attachement in a thread in the SceneryDesign section of this site.&lt;/div&gt;</summary>
		<author><name>Osman</name></author>
	</entry>
</feed>