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

About shp-files...

Messages
25
I had a go on shp2vec but did not succeed entirely because UUID was missing in my shp-file attributes (got error message saying UUID is missing). My question: Do every segment of (for example) a road have to have a unique UUID (and GUID) attribute before it is processed with shp2vec. And if so, how do I obtain this twentyish-number-long ID? What is the meaning of the accompanying xml -file in that case?

I experiment with some roads I made as shp, and is not able to get them through the shp2vec tool. Grateful for help!

Cheers,
Ingolf
 
Now, not even Sbuilder can read my shp-files when I try to append ESRI shp in a new project. It may have to do with the fact that my shp-files have 4-5 attribute fields assigned to every segment. I will try to re-make my shp without those attributes...
 
Now I start learning. SHP files are ok so I can build roads and railways. The lakes and rivers appaear at 0 masl - creating great canyons that should not be there. I use 'Hydro_polygons_generic_lake_perennial' to make lakes and rivers. I have no Z-data for these polygons, so I wonder...? Is it possible to drape them at the elevation of the default height map? Or do I need to manually change the elevation of every water-body?

Cheers,
Ingolf
 
The shp-files were digitized using ArcView just creating x,y, and NOT z. So, just planar coordinates missing third dimension (elevation). Is there a way of using this data over default terrain, or do I need to supply the z value as well?

Thanks for taking interest... I am only a neewbe on terrain building for FSX but know alot about physical geography and data handling.

/Ingolf
 
Hi Ingolf.

You can use this:

Code:
// Legacy_LandWaterMask_Water_NoFlatten
[Texture.381]
Name=Legacy_LandWaterMask_Water_NoFlatten
Color=FF638AC2
guid={5835459A-4B8B-41F2-ADC1-DEE721573B28}
Textures=OCEAN_SEA_LARGE_LAKE
FlattenMode=none
LandClassRemapType=none
ExcludeAutogen=Yes
RenderToTexture=Yes
RenderPriority=80000
Water=Yes

Then the water should be mesh-clinging. Otherwise, you'll need to add elevation.

Dick
 
Thanx RHUMBAFLAPPY... I had a look in the terrain.cfg file and that section already was set as you suggested. Still, no meshclinging. I tried using Hydro_Polygons_Generic_Ocean_Perennial as well with the same canyon-results.
The same with river polygons.

/Ingolf
 
Last edited:
Hi Ingolf.


That terrain.cfg entry should read 'FlattenMode=slope'. Something appears wrong with your terrain.cfg file.

Please do NOT alter your terrain.cfg file! This would lead to total confusion in the simming community were you to share this with others.

I suggested you use GUID:

{5835459A-4B8B-41F2-ADC1-DEE721573B28}

This will give mesh-clinging water.

'Hydro Polygons - Generic Lake - Perennial' is supposed to be a flattened polygon. 'Legacy_LandWaterMask_Water_NoFlatten' is supposed to be mesh-clinging.

Dick
 
Now, things are going great as far as placing new shp-files in the terrain. However, I'm not very successful when it comes to excluding the default. For example: I unchecked the big-square (0601) in the scenery list to get rid of the original base package and I thought all my troubles were gone. All I saw was my beautiful terrain generated via shp files.

Until I was to land. The local airport was gone ofcourse! So one step back. When I try to use the "exclude" polyns in FSX_KML the shp2vec crashes. For example: I have roads that I want to implement and at the same time I wish to get rid of the default FSX roads. Maybe there is a class-clash!

Running FSX_KML with "exclude_roads_asphalt.... 1lane.. undivided meridian.." or whatever, the build crashes as shp2vec is run. I thought, maybe I should use the shp and xml that are produced by FSX_KML to run shp2vec manually (without -ADDTOCELLS) and also renaming the segments to FSX- RDX, UTX, HPX and so on... I dont really know. Must have a new strategy!

My aim is to make a total new environment, but need to KEEP the airports. So I need to replace ALL: roads, powerlines, railroads, landclasses, waterbodies, etc.

I realize this post is really hard to answer, but it seem I need a new (or modified) strategy to work around the exclusion problem. Any tips and comments are most welcome!

Cheers,
Ingolf
 
Last edited:
For now being - - all above problems solved! :)

Thank you guys for giving tips. Reading, trying and trying again usually works.
I've learned a lot in just a couple of days so now I will enjoy my scenario for a few flights, then I'll be back with more questions on object placements and traffic ;).

End of thread! --------------------

cheerio,
Ingolf!
 
Back
Top