MatthiasKNU
Resource contributor
- Messages
- 962
- Country

Hi Arno, hi everybody!
I have a little problem when using Scenproc.
I want to create vegetation, just for test purposes a simple shapefile with a few Vegetation Polygons in it.
My script looks like that:
When starting Scenproc it is running until "Creating autogen rectangular vegetation with filter *..."
Then Scenproc stops with the following error message:
I am using the latest ScenProc Development Release.
Do you have an idea what is going wrong here?
Thank you in advance!
Kind regards
Matthias
I have a little problem when using Scenproc.
I want to create vegetation, just for test purposes a simple shapefile with a few Vegetation Polygons in it.
My script looks like that:
Code:
ImportOGR|C:\Users\Matthias\Desktop\HKIA\Shapefile\RawData_a.shp|*|*|AUTODETECT
SplitGrid|AGN|*
ReplacePolygonByVegetationRectangles|*|0.001|0|1
CreateAGNRectVeg|*|{0BAF57F5-97F8-4CE2-98DD-18D389AE8559}
ExportAGN|P3D v2|C:\Users\Matthias\Desktop\HKIA\Processed
When starting Scenproc it is running until "Creating autogen rectangular vegetation with filter *..."
Then Scenproc stops with the following error message:
Code:
15:31 SceneryProcessor Error bei System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
bei System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
bei System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
bei System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
bei System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
bei ASToFra.scenProc.Steps.CreateAGNRectVeg.Process(List`1 cells, String[] arguments)
bei ASToFra.scenProc.Processor.SceneryProcessor.Process()
bei ASToFra.scenProc.Processor.SceneryProcessor.ProcessConfig(String filename, List`1 commands, Boolean errorReporting)
15:31 SceneryProcessor Error bei ASToFra.scenProc.Steps.CreateAGNRectVeg.<>c__DisplayClass1.<Process>b__0(GridCell cell)
bei System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
bei System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
bei System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object )
I am using the latest ScenProc Development Release.
Do you have an idea what is going wrong here?
Thank you in advance!
Kind regards
Matthias
