• 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

Messages
68
Country
us-rhodeisland
Hi Arno
I downloaded the data from Greece.
I run it thru scenProc it showed 585000 features but at the end there were no agn files writen.
I tried to cut a small area from the whole country in QGIS.... but I couldn't do it...
Do you have a video how to cut a small area out of a large shapfile?
Thank you.
As always you are doing a great job.
 
Hi,

No, I don't have a video on how to do things in QGIS. But it should be a matter of select the area you want and then save only the features in view to disk.
 
I did that. I had shape file with 5400 features (buildings) I run it thru scenProc ,it checked the shp file found 5400 features but created no agn.
 
Are you sure the filters in the script have the right attributes that match your data?
 
The shape file is a building shapefile and I can see the footprint of the buildings in the city of Korinth.
 
The file names in FROMFILE are case sensitive, so in the filter you need to enter it exactly as in the ImportOGR step.

Also are you aware that you have specific conditions for length and width that restrict how many features you will get.
 
Well, I corrected the FROMFILE, I change the values for FLENGTH and FWIDTH from.05 to 20 and nothing. doesn't make any autogen. I will try again some time. I have spent 3 days now to no avail. Perhaps is too much for me. Keep up the good work.
I have used your building convertor in the past converting hundreds and hundreds of sketchup buildings for FSX. Thanks again.
 
Hi,

It's hard to tell how your script should look if we don't know which attributes your data has. That's something you always have to tune to the data you are using.

But you might want to start simple and first just create buildings from each polygon in the file (without widht or length checks). If that works you can start to add subcategories for different types.
 
Ok. I thought that the FTYPE= POLYGONE script needed at least 2 -3 parameters otherwise gives you error.
I guess I have to study the manual and your videos.
Thanks.
 
No, the FTYPE is just an attribute, like any of the other. You can use any combination you like.

But maybe it's easiest to start with a asterisk (*) to just select all features that are loaded and see if that works.
 
Hi Arno
Finally I got the scenProc to create agn, but there are only the roofs no buildings.
I ma trying to find how I can define the type of building I want to create,
 
Hi,

Did you assign a custom autogen texture? If that texture is missing you can only get roofs.

You can't really define building type. You can specify the texture and height distribution per autogen tile.

And what I typically do is use the footprint size to vary roof type.
 
Arno
You are right again. I had copy the line from another script (trying everything) and I had assigned a texture I didn't have.
Now I have a lot of buildings. Thanks again.
 
Hi Arno
I started making agn buildings and vegetation.
I have a question. The script to remove "trees" from "road" where it goes? what are the requirements?
I tried it (because I have some trees in the highway) but scenProc shows 0 for that line of script.
Merry Christmas
 
Which lines do you refer to?

In general removing specific trees has to be done before making the autogen objects.
 
The result at the end of the run. for example : 87000 Autogen builndings were created. building height set for 400 cells and so on.
when it comes to "FilterFeatures|type="building"|type="vegetation"|OVERLAP_BBOX" line says features removed 0.
I guess to remove trees must be individual point trees and not just a trees created "by CreateAGNPolyVeg"
Thank you.
 
Hi,

That filter removed vegetation on buildings, not on roads. And probably your features don't match the filter as nothing was removed. You need to check your attributes.
 
Back
Top