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

Problem for big areas

Messages
3
Country
switzerland
Hi,
I discovered ScenProc few weeks ago, and I have 2 questions.

I did a first test who worked, and now I have some problem with bigger areas.
I try now to create the autogen for the whole Switzerland, using the batch mod.
To do it, I use a file from OpenStreetMap downloaded from https://download.geofabrik.de/europe.html, who cover whole Switzerland.
I use this code:
ImportOGR|switzerland-latest.osm|@0@|building;landuse|NOREPROJ|DONTPROCESHOLES

SplitGrid|AGN|*|*

CREATEAGNPOLYVEG|FTYPE=POLYGON AND landuse=forest|{8EF6A032-8AA8-48F0-80EA-90A16B3696DD}

CREATEAGNGENBUILD|FTYPE=POLYGON AND FAREA>40 AND FAREA<200|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=3

CREATEAGNGENBUILD|FTYPE=POLYGON AND FAREA>199 AND FAREA<400|{4db228d2-73d7-42ba-b2eb-c76a743f05d1}|MAXRATIO=5

CREATEAGNGENBUILD|FTYPE=POLYGON AND FAREA>400 AND FAREA<625|{f7b99ae4-80ca-4652-b2df-2fee994d70f9}|MAXRATIO=10

CREATEAGNGENBUILD|FTYPE=POLYGON AND FAREA>624 AND FAREA<1000|{e206cd08-5008-4dea-ad4a-db42bfa5298b}|MAXRATIO=30

CREATEAGNGENBUILD|FTYPE=POLYGON AND FAREA>999 AND FAREA<1600|{e206cd08-5008-4dea-ad4a-db42bfa5298b}|MAXRATIO=50

CREATEAGNGENBUILD|FTYPE=POLYGON AND FAREA>1599 AND FAREA<3625|{e206cd08-5008-4dea-ad4a-db42bfa5298b}|MAXRATIO=50

EXPORTAGN|FSX|D:\AUTOGEN

The problem is when I use a LOD of 9,10,11, the program can't open the file, and it keeps reading the file (it didn't write "importOGR" after the loading bar.
But when I use a LOD of 8,7,6, the program says "Skipping feature: too many tags in node" and I don't have anything in my autogen...

My second question is: Is it possible to add cable car and things like that??

Thanks for your help and sorry for my english

Michael
 
Hi Michael,

Those warnings about too many nodes happen sometimes with OSM files. Some features might not be read, but the majority should. So the rest of your script should work normal.

How big is the Switzerland OSM file? Depending on that and your memory you can choose in how many segments it should split.

Adding cable cars might be possible. You need to add scenery objects for the pylons and then you can place them (as autogen or bgl).
 
Thanks for your answer.

So the Switzerland OSM file is 6.6GO, and I have 12359MB of RAM.

Now I have this error... 12:37 IMPORTOGR Error Too many tags in relation 2202162

Do you think that using an osm splitter is a good idea? And do you know one?

Thanks for your help

michael
 
Hi Michael,

I have never used OSM splitters, so I can't advice on a good one.

But the kind of errors you get (they come from the OGR library), should not really depend on the LOD you read. They should always happen when those elements are read. So I'm not sure it's part of the problem. Depending on the size of the area the import will take longer.
 
Hi, Arno
I understand what you say. But do you know how I can resolve this problem of skipped tag??

Thanks for your help
 
Last edited:
Hi,

The Ogr warning is normal, I also get it sometimes when running osm data. You should be able to ignore it. I'm not aware of ways to prevent it.
 
Back
Top