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

Minimum Area for Polygons

Messages
35
Country
unitedstates
Hello! First let me say that the building footprint import is great! There is a small issue when it creates 2 buildings for a long skinny building but it's rare just happens to occur on my street to the house next door ;)

More importantly, I'm attempting to generate some vegetation polygons from imagery and running into an exception I think is related to the minimum area for vegetation polygons.

EDIT: I was simplifying my polygons and got to 20m and it still wouldn't work so I took my "multi-part" features and made them "single-part" and it compiled. I went back to my original polygons which i hadn't filtered on size and if I made them single part it compiles.

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at ASToFra.scenProc.PolygonFeature.GetMinimumAreaPolygon()
at ASToFra.scenProc.GenericImporter.AddCommonAttributes(BaseFeature feat, String filename)
at ASToFra.scenProc.ImportSHP.ReadSHPFile(String filename, List`1 cells)
at ASToFra.scenProc.ImportSHP.Process(List`1 cells, String[] arguments)
at ASToFra.scenProc.SceneryProcessor.Process()
at ASToFra.Launcher_scenProc.Program.Main(String[] args)

If that is what this is, what is the minimum area for a vegetation polygon that you support? Also , does the tools support (or do you plan to support) points for vegetation placement using the non-polygon vegetation area mode of the annotator?

Really cool stuff, I can't put it down.
 
Last edited:
Hi,

It sounds like a bug in the function that calculates the area of the building. The tool does add an additional attribute to your feature with this area, so that you can do some filtering on that.

Let me check, I think I might have solved this issue already in my development version here, but I did not yet put it in the released version.
 
Hi,

I have made a new development release with my local bugfixes included. Hopefully that also solves your issue. It should be online in about an hour from now.

Be aware that some of configuration file options have changed, see the manual for more details:

http://www.fsdeveloper.com/wiki/index.php?title=ScenProc
 
Back
Top