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

Varying building height

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
34,317
Country
netherlands
Hi,

At the moment scenProc uses the same autogen building height for all tiles. I would like to make it possible to vary the height. But I can't think of a good way to do it yet. Maybe somebody has a good suggestion?

I have been thinking about counting the amount of building footprints, using vector data with the population of a city, etc. But for all these approaches there are many cases where it would give the desired results.

Optimally it would be best to have data that has attributes about building height or density. But I haven't seen that much.

So any ideas are welcome!
 
Building heights

Hi Arno, from what I can see there is an increasing amount of DEM data available both in DTM and DSM format. Using both together with building shapefile data you would theoretically be able to determine the heights of buildings. I don't know how much of that is available now at a resolution that would give acceptable results though..?
 
Hi Kevin,

Nice idea. I think that would work. High resolution is not even needed, because an autogen tile covers around 1.5 kilometre. So for that area you need to get an idea of the distribution of the heights. Only if you want to extract specific buildings you would need high resolution data.

But I haven't seen much (free) DTM data available. Do you have some sources of that? Then I could try this approach.
 
hi arno,

another sugest: - use an external shape file as filter.

for example, You need first to create some polygone into googlearth and save it as kml file (more easy to parse I think), to create different type of "area" named in function of the filter you need. In this case it would be for example: normal_house, high_building, farm_houses or "Town_center", "old_center", etc.

the filter would use the polygon's "name" (or maybe other "attributes") AND use the polygon's "coordinate" (with polygone detection test) to test if the AGN Tile is included in or not (in case of building height) or test if the shape file (building or other) is included in or not for other type of filter test...

I think it will be usefull to add this type of filter in many case like:
- generate different buildingheight.
- detect type of vegetation (with forest landcover data for example) to change the vegetation GUID.
- detect roof region to change the RowhouseTexture or Buildingtexture of the AGN tile.
- and surely many other example...

I think to add this type of filter for my AGN Merge Tool :) and first I search for polygon colision detection algo... by example great example here (in french... try with google translat)

happy new year ! and thank to your great work Arno specialy to your new "auto completion" feature ;)
 
Last edited:
Hi,

That would also work indeed and is probably not so hard to add. I already have a step that can check if a feature is inside another feature. I use that to detect if a building is in an industrial area or a residential area. But that could also be used with polygons that specify different kinds of buidling heights.

Only difference is that building heights and the autogen textures work per tile, not per feature. So it would be needed to select the best matching setting if multiple heights are given for that tile.
 
good...

In this specific case may be you can add option to just test the Tile coordinate (center point for exemple) instead of all features of a Tile !? may be it will increase speed process ?!

but in much other case the test on all feature will be very usefull :D
 
Good idea, I suggest in addition to the KML areas, the heights could also be set, if desired by a random within a min and max range of values entered by users for each area?

Cheers
 
Hi,

The FS settings are already a random distribution between the different height categories. So I am not sure if the users needs another random factor :)

Supporting kml is a good idea, I'll put it on the list.
 
Back
Top