MatthiasKNU
Resource contributor
- Messages
- 962
- Country

Hi Arno, hi everybody!
As I have already written, I have another little problem.
Shortly to the prehistory (even if you declare me crazy):
I am in the process of creating a completely photorealistic Africa for my flight simulator. The most of the work is allready done, all of North Africa is already finished, most of it from the south.
Now I have started to create the autogen for it.
I use globcover data for the vegetation - because the OSM data are unfortunately too inaccurate for this purpose.
My "test area" is Namibia.
After processing, vectorizing, etc. the Globcover data, I wrote the following script (for testing) in ScenProc:
The first part is creating the savannah, the PolyVeg-Part is the tropical forest.
The vegetation shapefile is about 40 MB in size.
However, ScenProc hangs just before the end of the ImportOGR process (screenshot)
Even after 5 hours waiting I am seeing no difference.
I have to admit that in the vegetation-shapefile more than 100 000 polygons are included with one polygone with nearly 400 000 sq km.
The Shapefile:
https://drive.google.com/open?id=1ufp0_SnglQ3UeP9CbqR4RbrYnG0AdXsV
What goes wrong, or does something go wrong at all, or does ScenProc really just take so long to load this shapefile?
And if so, do you have an idea what I could do to accelerate this process?
Thank you again!
Kind regards!
Matthias
As I have already written, I have another little problem.
Shortly to the prehistory (even if you declare me crazy):
I am in the process of creating a completely photorealistic Africa for my flight simulator. The most of the work is allready done, all of North Africa is already finished, most of it from the south.
Now I have started to create the autogen for it.
I use globcover data for the vegetation - because the OSM data are unfortunately too inaccurate for this purpose.
My "test area" is Namibia.
After processing, vectorizing, etc. the Globcover data, I wrote the following script (for testing) in ScenProc:
Code:
ImportOGR|C:\Users\mknue\Desktop\Namibia\Data\NamibiaVeg_3.shp|*|*|AUTODETECT
#
SplitGrid|AGN|*
#
PlacePointsInPolygon|gridcode=130 OR gridcode=140|0.001;0.001|1;1
AddAttribute|gridcode=130 OR gridcode=140|Integer;HDG|RND(360)
PointToPolygon|gridcode=130 OR gridcode=140|16;16|HDG|String;Tree|true
CreateAGNRectVeg|Tree="true"|{A40B9F9D-72A1-4DFA-83C4-885D8AF9C629}
#
CreateAGNPolyVeg|gridcode=40 OR gridcode=50 OR gridcode=60 OR gridcode=100 OR gridcode=180|{57fb3c8e-db8b-47b0-a012-8305fbf082c2};{7ad672f7-e0d4-455b-85f9-6032d39c0855}
#
ExportAGN|P3D v2|C:\Users\mknue\Desktop\Namibia\texture
The vegetation shapefile is about 40 MB in size.
However, ScenProc hangs just before the end of the ImportOGR process (screenshot)
Even after 5 hours waiting I am seeing no difference.
I have to admit that in the vegetation-shapefile more than 100 000 polygons are included with one polygone with nearly 400 000 sq km.
The Shapefile:
https://drive.google.com/open?id=1ufp0_SnglQ3UeP9CbqR4RbrYnG0AdXsV
What goes wrong, or does something go wrong at all, or does ScenProc really just take so long to load this shapefile?
And if so, do you have an idea what I could do to accelerate this process?
Thank you again!
Kind regards!
Matthias
Last edited:
