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

Autogen Script entires

Messages
38
Country
unitedkingdom
Hi all,

In my scenproc config I am using with OSM data to generate autogen, I have the following entires for autogen:

# Create buildings autogen
CreateAGNGenBuild|building="*" AND FAREARAT>0.7 And FWIDTH<20|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2
CreateAGNGenBuild|building="*" AND FAREARAT>0.7 And FWIDTH>20|{6089A0BD-CED1-4c47-9A9E-64CDD0E16983}

I'm just wondering if there are any other entires I could add here to expand the amount of autogen that gets generated and ultimately increase the levels/capture more autogen if that makes sense?

Many thanks,

Daniel
 
Hi,

Your current filter is only using polygons where the area of the polygon is at least 70% of the bounding box area. This means that weird shapes objects are left out. For them you would in general split the polygon into multiple rectangles, as FS requires rectangles for the autogen.
 
Hi,

Your current filter is only using polygons where the area of the polygon is at least 70% of the bounding box area. This means that weird shapes objects are left out. For them you would in general split the polygon into multiple rectangles, as FS requires rectangles for the autogen.
Hi,,

I added this entry:
CreateAGNPolyBuild|FTYPE=POLYGON;FROMFILE=portugal.osm|{2589a851-fcc9-4288-93a2-8acd1556f43a}|0.008|

I generally got a lot more autogen produced but with some weird glitches, such as the autogen extending off far into the distance or into the sky. It certainly added a lot more autogen, just a shame about the glitches. What could I do to avoid the weird glitches?
 
2020-5-7_18-0-48-275.jpg
 
Please find above a picture of what I mean for a small test area I did, as you can see lots of lovely autogen but some glitches also with autogen shooting off into the distance. this was with the config:

IMPORTOGR|C:\Users\Daniel\Desktop\Bosnia osm\map.osm|*|building;landuse;natural;leisure;residential|NOREPROJ
#
SplitGrid|AGN|*|building="*"
#
CreateAGNGenBuild|building="*" AND FAREARAT>0.7 And FWIDTH<20|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2
CreateAGNGenBuild|building="*" AND FAREARAT>0.7 And FWIDTH>20|{6089A0BD-CED1-4c47-9A9E-64CDD0E16983}
CreateAGNPolyBuild|FTYPE=POLYGON;FROMFILE=map.osm|{2589a851-fcc9-4288-93a2-8acd1556f43a}|0.015|
#
EXPORTAGN|FSX|D:\Prepar3D\Addon Scenery\Portugal photoreal\texture
 
Hi,
The polygonal buildings don't work that well, since they need to have a courtyard. So they can only be used for very specific buildings. With your current filter you are making a building output of every polygon, also forest polygons or others. I don't think that's what you want.

Section 5.4 of the manual is a good starting point for processing buildings.
 
Back
Top