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

shp2vec - How do I

Messages
1,361
Country
scotland
Hi Folks.

I have a shapefile of a group of islands currently missing from FSX.

How do I convert their outlines into coastlines
to enable the mesh I've created to show ?

The shapefile comprises contours at 0.5m intervals,
from which I'd like to extract the single lowest contour
to create a coastline, (@ sealevel).

Secondly -
How do I apply a landclass to the mesh ?

It's my first venture into mesh creation
so any help is much appreciated.

TIA
ATB
Paul
 
Last edited:
Hello,

what do you mean shape file - if you have the three files you should be able to run the shp2vec program to create your BGLs.

If not there is a xml2shp program available to change an xml file with point data to the shape files required for shp2vec.
 
To create new or revised islands

1. you need to create "exclusion" polygons for default hydro polys and shorelines (if any) within the project area.
2. you need to create an outer "hydro" polygon, which will include the area to be set as water (in other words, the same area as you just exlcuded in step 1).
3. You need to convert your shapefile polygons into "islands" or holes of the parent hydro polygon in step 2. This is done by making the outer bounding polygon points go in clockwise direction, and each hole's points go in counter-clockwise direction.
4. You need to set elevations for each polygon point to the desired water elevation.
5. You can also copy your island polygons into lines for use as a shoreline. The points need to ordered such that water is on the right.
6. At this point you have the geometry. Now you need to add attributes per the sdk and create the required xml files.
7. for landclass, first see if the default worldlc.bgl has coverage of your area in tmfviewer. If not either create additonal polygons for your islands defined as "parks", or use resample to create a landclass definition for the area.

scott s.
.
 
Back
Top