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

Index out of array area

Horst18519

Moderator
Resource contributor
Messages
2,385
Country
germany
Hello Arno,

I'm trying my luck with the latest dev release, using OSM files. I'm always getting an error message though:

Error while performing createagngenbuild.
The next like is in German, in English, I think it would be "Index out of the array area".

Did I use wrong lat lon values or what could be the reason for this message?


I would like to use * for the coordinates min/max values because my osm files already contain only a small area, would that be possible for future versions?
 
Hi Thorsten,

You can use * already to indicate you want the entire file.

Not sure where that index out of bounds comes from. I would probably need your files to see if I can reproduce that.
 
If you could look at the file I attached. It includes the osm as well as the scenproc file.
 

Attachments

Ok, thanks, I'll try to reproduce it.
 
Hi Thorsten,

Just to double check, I got the files now. But you mention the out of bounds errors happens with the CREATEAGNGENBUILD step, but I do not see that one in the SPC file you provided. Is that correct?
 
To be honest, I have no idea. I just used the export function from the osm website and saved that small area in my NF_1.osm file. It looked like it contained several different features.
 
Hi,

I mean your configuration file. It does not contain the step that you said gives the error.

I can run it here without any error. But I also get no AGN files. That is because of your filter. The OSM files have different attributes than the SHP version of GeoFabrik. For example type=forest does not work, that is now landuse=forest.
 
I think that vegetation works now (landuse=forest), but I only get very few vegetation polys. That's probably due to the fact I have few forests in that area, so never mind.
But the buildings still won't work. "building=yes" does give me another array error message, I tried "building=" instead, but same problem. The wiki doesn't give any hints how to use osm types.
 
Hi Thorsten,

Building=yes should work, I'll see if I can reproduce the out of bounds error in that way.
 
Hi Thorsten,

I think I have found the reason, I think the options in the building step were not correct. I have added an extra check for that now.
 
Ok, I'll try it later, vegetation works now, I think it's just that bug that's left. :)
 
Back
Top