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

QGIS and ScenProc help needed

Messages
19
Country
germany
Hello,

I've been using the better part of my COVID-related downtime to create autogen scenery for Northern Michigan in P3DV5. After watching countless tutorials and reading the manual I've managed to get three shape-layers into QGIS - two for my forests and one for the buildings (see attached sceenshot). I even got one of the forest-shapes to run in ScenProc to create autogen. I am, however, at a total loss as to how I can process all three layers and create a variety of forest and buildings. My guess is that I would have to prepare the shapes in QGIS and give them the right kind of attributes, but I have no idea how. Also I would be thrilled if someone could help me writing the script for ScenProc. This is the mediocre script that worked for only one shape layer.

ImportOGR|D:\Dropbox\3D\Pellston\Autogen\NMI\NMI_Forest_Coniferous.shp|*|*|NOREPROJ
#
SplitGrid|AGN|*
#
CreateAGNPolyVeg|*|{E1E81FDD-BA15-4562-84E9-AE2FAEEB90FB}
#
ExportAGN|FSX|H:\P3Dv5 Addons\NorthernMichigan_Photo\Texture


Thanks for your help.

Matthias
 

Attachments

  • QGIS.jpg
    QGIS.jpg
    920.9 KB · Views: 42

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
31,324
Country
netherlands
Hi,

Did you draw all the polygons in QGIS yourself or did you import them from some source? In the latter case they might already have some attributes that you can use in scenProc. In QGIS if you select one of the polygons you should see its properties and that will show you if there are attributes as well.

If there are no attributes, you can use the FROMFILE attribute in scenProc, which is the filename from which the feature was read. So that why you can select all features from a specific file and process them in a certain way.
 
Top