Page 1 of 1

PostPosted: Sun Nov 25, 2007 7:43 am
by Stumpy
I am making my own airport in hilly terrain, usually all around the airport is flattened but not this time. Can someone point me in the direction of a tool to flatten the airport? Or any Ideas?

Thanks
James

PostPosted: Sun Nov 25, 2007 7:50 am
by Timmo
Use FSX KML....this allows you to digitise the flatten in Google earth and then create the flatten.

http://fsdeveloper.com/wiki/index.php?title=FSX_KML


The 'proper' way is to make a flatten polygon using a ESRI Shapefile.....but not many people have access to the tools able to make them

PostPosted: Sun Nov 25, 2007 9:34 am
by Stumpy
Thanks for the link. I can't get it to flatten in fsx. Does it need to be a polyline or polygon? I did what the tutorial on that link said but it is still the same

PostPosted: Sun Nov 25, 2007 12:49 pm
by Timmo
It needs to be a polygon (Polygons are for defining areas)...

Sorry I havent used it so cant give really you any pointers...did you assign a height?

PostPosted: Sun Nov 25, 2007 12:54 pm
by toprob
Stumpy wrote:
QUOTE (Stumpy @ Nov 25 2007, 10:34 AM) <{POST_SNAPBACK}>
Thanks for the link. I can't get it to flatten in fsx. Does it need to be a polyline or polygon? I did what the tutorial on that link said but it is still the same


Maybe you could post your KML file and we could take a look.

PostPosted: Sun Nov 25, 2007 8:04 pm
by Stumpy
QUOTE
Maybe you could post your KML file and we could take a look.[/quote]

Should I just take screenshots of all the menus? or should I upload it to temporary site? If this one whats the best site?

PostPosted: Sun Nov 25, 2007 8:12 pm
by toprob
You can open the KML file in Notepad, copy the text and paste it here. Or it may be simpler to copy the XML code directly from FSX KML.

PostPosted: Sun Nov 25, 2007 8:36 pm
by Stumpy
pretty sure this is it


<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
<name>Stumpy.kml</name>
<Style id="sh_ylw-pushpin_copy2">
<IconStyle>
<scale>1.3</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
</Icon>
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
</IconStyle>
<LineStyle>
<color>ff0000ff</color>
</LineStyle>
</Style>
<Style id="sn_ylw-pushpin_copy2">
<IconStyle>
<scale>1.1</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
</Icon>
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
</IconStyle>
<LineStyle>
<color>ff0000ff</color>
</LineStyle>
</Style>
<StyleMap id="msn_ylw-pushpin_copy2">
<Pair>
<key>normal</key>
<styleUrl>#sn_ylw-pushpin_copy2</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#sh_ylw-pushpin_copy2</styleUrl>
</Pair>
</StyleMap>
<Placemark>
<name>Stumpy</name>
<description>Airport_Backgrounds_Flatten_MaskClassMap_ExcludeAutoGen
Tag=Airport_Backgrounds_Flatten_MaskClassMap_ExcludeAutoGen
KML Object Type=Polygon
Name=Stumpy
</description>
<styleUrl>#msn_ylw-pushpin_copy2</styleUrl>
<Polygon>
<tessellate>1</tessellate>
<altitudeMode>relativeToGround</altitudeMode>
<outerBoundaryIs>
<LinearRing>
<coordinates>174.65319711491238,-41.24566086563861,142.74
174.65307612970810,-41.24560668340337,142.74
174.65297100019088,-41.24554711100059,142.74
174.65276136598832,-41.24542831927480,142.74
174.65239481073341,-41.24526610289395,142.74
174.65198916663322,-41.24511817594591,142.74
174.65162272268150,-41.24499999276117,142.74
174.65139905481370,-41.24492408147088,142.74
174.65115944017930,-41.24483858731911,142.74
174.65103934820890,-41.24477362309331,142.74
174.65079380732710,-41.24465534352664,142.74
174.65054095856419,-41.24455320643641,142.74
174.65035122269059,-41.24447656342285,142.74
174.65017923971958,-41.24440136211024,142.74
174.65002284016371,-41.24433349313658,142.74
174.64979081975690,-41.24422679791702,142.74
174.64957874915910,-41.24411970605549,142.74
174.64941401314848,-41.24403364826487,142.74
174.64925134098240,-41.24394554660139,142.74
174.64902727000195,-41.24385919392463,142.74
174.64881469355510,-41.24375833373260,142.74
174.64864509400880,-41.24368536049909,142.74
174.64849767796000,-41.24358305894265,142.74
174.64836128978650,-41.24349601126203,142.74
174.64818692101222,-41.24351452508069,142.74
174.64802900883101,-41.24356247140352,142.74
174.64789236805450,-41.24371270414671,142.74
174.64770073683069,-41.24395842049804,142.74
174.64747363657130,-41.24424946406958,142.74
174.64727402257562,-41.24450529984284,142.74
174.64712812422122,-41.24469382025158,142.74
174.64699515330112,-41.24486673985846,142.74
174.64674496521859,-41.24518954777217,142.74
174.64640863896979,-41.24561875309865,142.74
174.64613229803251,-41.24590759281720,142.74
174.64594713212842,-41.24611201856138,142.74
174.64572042373610,-41.24636925052639,142.74
174.64556354018579,-41.24653744412019,142.74
174.64538243551168,-41.24673576140184,142.74
174.64513991239059,-41.24697540911019,142.74
174.64476365262208,-41.24741142270252,142.74
174.64403090691360,-41.24832040571228,142.74
174.64316980578310,-41.24938854017467,142.74
174.64260706112819,-41.25009018815567,142.74
174.64244326156909,-41.25043548333248,142.74
174.64231576373110,-41.25083203233385,142.74
174.64219321892179,-41.25123001561368,142.74
174.64222026505450,-41.25153708211488,142.74
174.64208606569968,-41.25227894234735,142.74
174.64184098495491,-41.25311003667520,142.74
174.64151327881411,-41.25422845729716,142.74
174.64192835372499,-41.25441896154396,142.74
174.64244872879139,-41.25457306388993,142.74
174.64281850994950,-41.25470250157361,142.74
174.64343393569821,-41.25474713654672,142.74
174.64399571741520,-41.25472234446945,142.74
174.64442310448790,-41.25478978196249,142.74
174.64462561645760,-41.25484307141388,142.74
174.64513803210051,-41.25503233838180,142.74
174.64562467058189,-41.25511013963213,142.74
174.64603259565661,-41.25500525377596,142.74
174.64667488018099,-41.25490834532486,142.74
174.64697635889267,-41.25504401358026,142.74
174.64730272757642,-41.25620297791290,142.74
174.64736710555290,-41.25658988141385,142.74
174.64765911973811,-41.25710791920410,142.74
174.64838718847261,-41.25695834291997,142.74
174.64879658387149,-41.25686915830585,142.74
174.64938409990730,-41.25669645845729,142.74
174.65002842500730,-41.25665268646737,142.74
174.65045755919181,-41.25663027242263,142.74
174.65086761967590,-41.25643279849453,142.74
174.65129224181139,-41.25626200098195,142.74
174.65169812004602,-41.25615473685004,142.74
174.65200279929168,-41.25607421765889,142.74
174.65247027111242,-41.25613481321863,142.74
174.65278643120480,-41.25625132387325,142.74
174.65313080134240,-41.25637602034666,142.74
174.65348449735549,-41.25663008021448,142.74
174.65378230631120,-41.25665296459455,142.74
174.65396125517440,-41.25604422697487,142.74
174.65400188945651,-41.25516307007767,142.74
174.65405346106240,-41.25390295476277,142.74
174.65404379725331,-41.25218829564227,142.74
174.65411899870250,-41.25158431337777,142.74
174.65417756880230,-41.25129696064686,142.74
174.65424631318125,-41.25075325448783,142.74
174.65410982218042,-41.24879953844216,142.74
174.65409312049120,-41.24836216325873,142.74
174.65404473960022,-41.24797588988195,142.74
174.65403623201930,-41.24777999949449,142.74
174.65406489908189,-41.24757234364167,142.74
174.65410947667827,-41.24737251067532,142.74
174.65414449635120,-41.24719565823413,142.74
174.65418592596858,-41.24699275727595,142.74
174.65425661429219,-41.24683366726018,142.74
174.65428948994419,-41.24667406028833,142.74
174.65433938212950,-41.24641507326078,142.74
174.65443476554112,-41.24616032058382,142.74
174.65451128010349,-41.24592410462578,142.74
174.65319711491238,-41.24566086563861,142.74 </coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>
</Document>
</kml>

PostPosted: Sun Nov 25, 2007 9:08 pm
by toprob
I opened your KML file in Google Earth and had to tidy up the Properties -- it should only include the tag. You can in fact assign the tag in FSX KML from the drop-down list -- I prefer this method.
I then resaved the file in GE, and it compiled ok in FSX KML