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

Redrawing the Coastline

Messages
153
Country
switzerland
Hi friends

I recently brushed up an older FSX scenery in P3D5 from Canouan, TVSC. From the sat-view I could see, the island has now a longer runway (as is in v5 default already) and a new yacht harbor. It was easy to add the water onto the land, but the coastline which I need to remove for the harbor entrance. I tried the polygon, exlude general, shorelines but unlike streets, it takes away the shore of the whole island and maybe even more.

M00l8IT.jpg


The hard way was to handdraw all of the shore again in my airport project with ADE. My question is, can I export the existing shoreline from the cvx file, modifiy it and import it into ADE?

Regards

Dan
 
Hi Dan:

AFAIK, ADE does not load externally derived data for terrain, but does so only for airport AFD and scenery library objects data.

Once the data for terrain is generated (only) within ADE, it is stored within the ADE *.AD4 project file (...but not in the airport XML code).

BTW: This is intended to change (only) in ADE for MSFS as MSFS SDK expands the data allowed to be stored in the airport XML code set.


However, SBuilderX will output a similar set of such BGL files as are required to exclude and replace the FS default terrain data for TVSC.

Once data for terrain is imported / edited within SBuilderX, it must be stored in a *.SBX SBuilderX Exchange file (not a *.SBP project file).


Be aware the SBuilderX will purge all *.SHP files from a prior compilation session in the [SBuilderX install path]\Tools\Shapes\ subfolder

Thus, it is best to manually copy any such files as you wish to keep into another folder elsewhere after each CVX BGL compilation. :alert:

IIRC, ADE does the same thing with the folder where it places temporary working *.SHP files used to create CVX BGLs.


You can achieve your goal by using Patrick Germain's CvxExtractor to de compile a source CVX vector flatten BGL into ESRI *.SHP files.
:idea:




You can import (Append) the ESRI *.SHP files into SBuilderX, edit assigned Altitudes of the vertex points, select all, and compile a new BGL.



A general conceptual overview is here:

To get the Airport Bounds / Background info, refer to this diagram for FS "Base Files":

https://docs.microsoft.com/en-us/pr...10)?redirectedfrom=MSDN#base-file-information


ID a [Base File Area#] for the airport location in the diagram. (HINT: #0303 ;))

This info correlates with [FSX / P3D install path]\Scenery\[Base File Area#]\ sub-folders


Browse to [FSX / P3D install path]\Scenery\[Base File Area#]\Scenery

Load DEM[Base File Area#.BGL] in TMFViewer > Jump to Airport Geographic Coordinates > Zoom in > Read File # on Status Bar (3127)


CvxExtractor > Load CVX[File#].BGL matching default APX*.BGL > Export ESRI SHP (P3Dv5 install path\Scenery\0303\scenery\CVX3127)

The *.SHP files = all terrain CVX data for a LOD-5 sized area surrounding that airport (TVSC)

https://www.fsdeveloper.com/forum/threads/cvxextractor-exporting-vector-data.432918/

https://en.wikipedia.org/wiki/Canouan_Airport


For info on airport-related terrain GUIDs, see:

https://www.prepar3d.com/SDKv5/sdk/world/terrain/terrain_overview.html#The Shp2Vec Tool

https://www.prepar3d.com/SDKv5/sdk/world/terrain/terrain_overview.html#Airport Boundaries

https://www.prepar3d.com/SDKv5/sdk/world/terrain/vector_shape_properties_guids.html


PS: An example work-flow to derive default airport CVX vectors to be excluded, edited and replaced etc is here:

https://www.fsdeveloper.com/forum/t...ects-in-sbuilderx-for-katl.444877/post-817582

https://www.fsdeveloper.com/forum/t...-elevation-in-the-_cvx-bgl.446626/post-835183


Let me know if you require further assistance with this alternate work-flow via SBuilderX. :)

GaryGB
 
Last edited:
Hi Gary

Thanks for this explanation. I feared before, it will be a SbuilderX way, a program I never got into it. Everytime i try it, I get somewhere, I have no clue how to go on. But your explanation showed me, I´m faster drawing the coastline, than learning all this. In fact I did it the last 3 hours and i am finished yet. Now, I also adjusted the coastline at the runway side, replacing a water tile. Now it matches the sat-view much better.

og76NPX.jpg

Now I can start with the finish.

Dan
 
Back
Top