Hi Dean:
I had issues with saving MSFS Projects via SDK DevMode GUI, and was losing some created custom Polygons saved within a DevMode session.
I was concerned with a reported deprecation of ESRI SHP files and instead moving certain scenery content otherwise saved in SHP files ...into XML.
I subsequently discovered that MSFS SDK DevMode GUI still can save- and utilize- ESRI SHP files:
https://www.fsdeveloper.com/forum/threads/having-trouble-creating-shp-file.456127/
Hi John:
IIUC, you are in part, referring to issues previously discussed here:
https://www.fsdeveloper.com/forum/threads/no-scn-files-saved.450762/
https://www.fsdeveloper.com/forum/threads/save-scenery-doesnt-prompt-me-to-save-a-shape-file.453259/
Reportedly, since SU9 the default behavior of MSFS SDK DevMode GUI is to write Polygon data into the Project (airport) XML.
I predict this will lead to impaired MSFS performance in areas that have multiple airports with larger (50 Km+) ARP test Radii.
However, we still have the option to save Polygon data to a
*.SHP (ESRI Shape) file:
https://www.fsdeveloper.com/forum/threads/project-saving.454364/post-903037
IIRC, if we 'check the box' to use
*.SHP files, then certain Polygon data is stored in
*.SHP ...rather than
*.XML format.
I prefer
*.SHP as I can work with data in various GIS applications to edit existing objects, and utilize open source GIS data sets.
Another use for
*.SHP files is recovery of data, and for data derived from existing BGL files used as a "vector primitive" to be edited:
https://www.fsdeveloper.com/forum/t...ing-need-help-on-exclusion.452347/post-881241
GaryGB
I also found that although DevMode may initially prompt for a path to save a SHP when such files are enabled, multiple such SHP files may be used.
If
SBuilderX is used to create or Append Lines that are extruded to assigned widths, then converted to Polys, they can be output to ESRI SHP files.
Alternatively, they can be compiled to FSX / P3D format CVX vector BGLs, then their (EPSG:4326) content derived via Patrick Germain's CvxExtractor.
If Patrick Germain's
CvxExtractor outputs ESRI SHP files from FSX / P3D CVX vector BGLs, we can load / 'update' legacy Polygons in MSFS DevMode.
In
ADE version 1.79x, 'work' SHP files output by XML2SHP intended for SHP2VEC may also be used as "primitive" Polygons.
AFAIK, the same would be true for 'work' SHP files output by
FSX_KML.
Additionally, KML / KMZ files output by
Google Earth Desktop Edition may be converted to ESRI SHP files for 'update' / use by MSFS SDK DevMode.
Furthermore, large scale development GIS data sets can be utilized also, provided all ESRI SHP file content is submitted to MSFS SDK in
EPSG:4326.
One may also use a ESRI SHP file editor in a GIS enabled utility or application to add MSFS' proprietary Attributes prior to SHP export for MSFS use.
Saved SHP file objects in a \Scene or \Data sub-folder with 'incomplete' Attributes are read into "primitive" Polygons as a DevMode Project loads.
One may then select "primitive" Polygons in DevMode GUI to assign its intended MSFS Attribute, and they may be 'updated' for SDK compliant use.
As "primitive" Polygons in DevMode GUI are assigned Attributes in each individual object's appertaining Properties dialog, they are 'updated'.
More recently, my challenges have involved MSFS' SDK compiler not reporting issues resulting in failure of custom 3D models to display at run time.
Perhaps you have experienced one or more of the above MSFS SDK Project compilation issues as well ?
GaryGB