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

64 bit version

arno

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

From the current development release scenProc will run as a 64 bit application if you have a 64 bit OS. This means that you can access more memory and therefore thus process complexer shapefiles.

If you have a 32 bit OS it will continue to run as a 32 bit application of course, but you keep the limitations on the size of the shapefile you can process.

Please be aware that you need to make sure the right driver is installed for reading the shapefile attributes. All details are in the manual:

http://www.fsdeveloper.com/wiki/index.php?title=ScenProc#Getting_scenProc

I could process a much bigger area than before with this new version. Let me know if there are any issues.
 
what is the size area limit or the number of features (vector polygons) scenProc is able to handle at the moment on 64bit?

I am trying to process 1000sq.miles with a shp file containing 7200 polygons. scenProc is stuck in "Splitting features" step.
 
Hi,

Shapefiles of around 300 mb in size I have been able to process now. But it depends on the amount of RAM as well of course.

The size of the area also plays a role, since the bigger it is the more terrain lod cells the are to check for autogen. That's why split cells takes longer for big areas. But you should see gradual progress. I have processed an area of around 10000 square kilometers I think (northern part of the Netherlands).
 
SInce my last reply here I tried to reduce the shape files to an area of 180sq miles. Each fil is approx 300KB.

Scenproc crashes because out of ram.

I have a 64bit with 4GB. I can see the RAM sage going up in the resuource monitor up to when scenproc crashes.

If you say that you were able to create an area of 10.000sqkm, then what is happening to me is very strange.

I have attached a shp file here (64KB only) that reaches out of ram. I hope you can give it a try. thanks s lot.
 

Attachments

Last edited:
Hi,

I can't examine the file, since the shx file is missing. That makes the shapefile invalid.
 
Hi,

I checked the files and the problem is the projection. Although the prj file says it is geographical coordinates WGS84, the actual shapefile seems to have a different projection. I see much bigger coordinates in the file.

Because of those big coordinates, the splitting in the grid takes so long.
 
Ok, will check them tomorrow, I am not behind my FS pc at the moment.
 
Hi,

With this file it indeed takes very long. I think the problem is that some polygons do though themselves. For example see the attached screenshot at the bottom there is a part of the polygon touching another part. I think this causes the boolean algorithm to work very slow.
 

Attachments

  • Image2012-11-13 1843.46.702.jpg
    Image2012-11-13 1843.46.702.jpg
    255.8 KB · Views: 467
Hi,

How long did the split step take? I stopped it after a minute or so, since it should not take so long.

No autogen being created must mean that the Boolean operation did not return any polygons.
 
I'll try to test it again.
 
Hi,

No, have been to busy to try again.
 
Hi,

It took around 8 minutes to process, but in the end I got some AGN files. I think they have content, but I can't test without the photo scenery of course.
 

Attachments

So how can it be... it works for you, not for me! :)

Same source files, same ScenProc (I guess).

What am I doing wrong?


This is my lines..

Code:
IMPORTSHP|C:\Users\Gabriele\Desktop\kcec\test\crescent-city-forest-500.shp|NOREPROJ

 SPLITGRID|AGN
 #
 SETAGNBUILDINGHEIGHT|1.0;0.0;0.0;0.0
 SETAGNBUILDINGTEXTURE|crescent-city
 #
 CREATEAGNPOLYVEG|FTYPE=POLYGON;type=forest|{00000000-0000-0000-0000-000000000000}
#
 WRITEAGNFILES|C:\Users\Gabriele\Desktop\kcec\fsx\texture


No Autogen.

0,00 seconds for WRITEAGNFILES
 
Hi,

The filter is the problem. The shapefile you use does not have an attribute called type, with the value forest for forests. That is an OpenStreetMap attribute I use in most examples, but if you look at your shapefile it is not there. So instead I have used a filter that takes all polygons from the forest shapefile to create vegetation polygons.

This is the file I used:

Code:
IMPORTSHP|crescent-city-forest-500.shp|NOREPROJ
#
SPLITGRID|AGN
#
SETAGNBUILDINGHEIGHT|1.0;0.0;0.0;0.0
#
CREATEAGNPOLYVEG|FTYPE=POLYGON;FROMFILE=crescent-city-forest-500.shp|{e8b937fd-a1f2-4bd5-8548-2c80d30102af}
#
WRITEAGNFILES|.
 
Back
Top