• 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.

Airspace classification problem

I've written an excel spreadsheet that automatically parses correct xml from the UK AIP data. I can't upload it here though, but am happy to share it if anyone would find it useful? K
 
Oh I've been thinking about doing something like this for years. Especially to take .shp files or .kmz files and convert them for use in FSX. with KMZ/KML we could also load the data into Google Earth and visualize it in 3D, or even generate a 3d visual airspace system for FSX/P3D with semi transparent, non crash detecting MDL's (similar to how the schematic thermal visualizations are modeled).

Kevin could I please have a play with your excel spreadsheet? Maybe I can make it work to convert the data to other formats as well :D
 
Progress so far on importing current UK AIP data...
 

Attachments

  • UK airspace.jpg
    UK airspace.jpg
    392.4 KB · Views: 929
Thanks, but its quite simple I've found! Ive come up against a problem with restricted & danger airspace though, which is held in BNXWorld1.bgl

Ive decompiled the bgl, deleted the default data (all fine up to here!) but when I try and run the xml through bglcomp I get a compile error generated for each and every COASTLINE Geopol element at the end of the file :(

The end result is either I have to use the default data OR accept the loss of a number of coastline elements in the world...

Ive posted a thread on the LM forum as I'm using the latest P3D sdk but no replies there yet sadly!! any ideas gratefully received, the only thing I havent tried yet is using an older copy if bglcomp from an FSX sdk!

Cheers K
 
The example in the FSX SDK Help doesn't compile with the FSX BglComp.
.

..implying the sdk documentation is wrong in some way, or there is a problem with bglcomp? Ive tried different ways of writing the element type. the sdk shows it as "COASTLINE", but ive tried "Coastline" and "coastline" as well with zero success.
 
bglcomp.xsd shows:
Code:
  </xs:simpleType>
  <xs:simpleType name="stGeopolType">
  <xs:restriction base="xs:string">
    <xs:enumeration value="COASTLINE" />
    <xs:enumeration value="BOUNDARY" />
   <xs:enumeration value="DASHED_BOUNDARY" />
  </xs:restriction>
  </xs:simpleType>

BOUNDARY and DASHED_BOUNDARY are OK but not COASTLINE. That seems to show a bug somewhere in bglcomp system.
 
thanks for that :)

I've talked with Rob Ainscough about it and he's passing it on to the LM devs. I'm sure its not the most important thing on their radar but at least it has been validated by someone trustworthy 'on the team'.

Cheers K
 
Adam Breed from LM has confirmed they found the bug in bglcomp.exe
It has been fixed for the next SDK release K
 
Back
Top