This is a program that produces shape files for processing with shp2vec.exe.
It has been designed as a console program, so you can start it from a DOS window with the input file as a parameter, 
or you can just drop the name of the input file on the program name in Explorer.

I have added two example files in order show you what the input for this program should looks like.
These are the two files which I used to produce a small scemery for the El Gouna resort in Egypt which you find in this 
upload as well as in a seperate upload on AVSIM. The xml files were produced manually from GoogleEarth kml files by extracting the coordinates. 

In the input file you can combine as many shapes as you want. I kept the exclusion vectors in a seperate file, 
but there is no obligation to do so. The tags you can use for those shapes are self-explaining: you find some of them in the example files.
In all you can use:
		"<exclusion>", "<airportBounds>", "<waterPoly>", "<gpsPoly>", "<landclassPoly>", 
		"<stream>", "<shoreline>", "<road>", "<freeway>", "<railway>", "<utility>"
Where it is appropriate, you can nest polygons with the <island>...</island> tag (between these both tags only
<coordinates> .... </coordinates> are allowed). As you see in the example, you can have more than one island in a body of water.
You must be careful however: as far as my experience goes, islands are cut out from water 
polygons only if they are drawn in clockwise direction and if the surrounding polygon is drawn in counterclockwise direction. 
So the rule is: in drawing a polygon, have the water always on your right side (same is true for the beaches).
Coordinates must be entered without spaces between the x,y, and z values, just as they are in kml files. The z-value should be 
the same for all vertices of the polygon.
For the guids I add the list which I used to copy them from.
The xml2shp program will produce a group of shapefiles that you can process with shp2vec.exe from the FS X SDK.

Enjoy the possibilities to build scenery files for FS X with the new SDK! This program can be used to build freeware sceneries 
without restrictions. It must not be used to earn money. 

Put the 3 bgl files in a scenery directory of your choice and activate them in the usual way. I made two files for the airport: 
one to eliminate the default airport HE10 (as far as this can be done without changing the original MS files) and the other for to put in the enhanced 
airport HEGO. This was done because the airport has now a new name and a new ICAO identifier (MS apparently did not update their airport database
for quite a while).   

Copyright: 
winfriedorthmann@yahoo.com 
