scenProc support to create cultivation files

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#22
Hi,

I tried to have a look here, but running the script with the 5 maps takes much too long. I can't do a test that takes hours, just to run it for hours again later on to see if it is fixed. Test cases need to be small and short.

I did place points with a bigger spacing and in that case I see randomness with 1 map and also with 5 maps. The last one seems more dense, almost as if the different map files contain the same features, so they are processed multiple times.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#24
I don't know what's wrong, but I can't debug with a test case that takes so long to run.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#26
If you find a smaller dataset that shows the problem I can have another look of course.
 
#28
Hi Arno,
when I read toc files, it's longitude element that make series with the same number. Randomness works fine for longitude and lattitude element at beginning of process but sometime randomness for longitude stops and make series.

edit : when process time is too long, randomness stops : forest polygons are made latitude line by latitude line with longitude increment +0.0001.

<[plant][element][153852]
<[vector3_float64][position][3.860947 46.068101 0.000000]>
<[vector2_float32][height_range][8.000000 20.000000]>
<[string8][group][broadleaf]>
<[string8][species][]>
>
<[plant][element][153853]
<[vector3_float64][position][3.860947 46.068201 0.000000]>
<[vector2_float32][height_range][8.000000 20.000000]>
<[string8][group][broadleaf]>
<[string8][species][]>
>
<[plant][element][153854]
<[vector3_float64][position][3.860947 46.068301 0.000000]>
<[vector2_float32][height_range][8.000000 20.000000]>
<[string8][group][broadleaf]>
<[string8][species][]>
>
<[plant][element][153855]
<[vector3_float64][position][3.860947 46.068401 0.000000]>
<[vector2_float32][height_range][8.000000 20.000000]>
<[string8][group][broadleaf]>
<[string8][species][]>
>
<[plant][element][153856]
<[vector3_float64][position][3.860947 46.068501 0.000000]>
<[vector2_float32][height_range][8.000000 20.000000]>
<[string8][group][broadleaf]>
<[string8][species][]>
>
<[plant][element][153857]
<[vector3_float64][position][3.861047 46.052601 0.000000]>
<[vector2_float32][height_range][8.000000 20.000000]>
<[string8][group][broadleaf]>
<[string8][species][]>
>
<[plant][element][153858]
<[vector3_float64][position][3.861047 46.052701 0.000000]>
<[vector2_float32][height_range][8.000000 20.000000]>
<[string8][group][broadleaf]>
<[string8][species][]>
>
<[plant][element][153859]
<[vector3_float64][position][3.861047 46.052801 0.000000]>
<[vector2_float32][height_range][8.000000 20.000000]>
<[string8][group][broadleaf]>
<[string8][species][]>
>
<[plant][element][153860]
<[vector3_float64][position][3.861047 46.052901 0.000000]>
<[vector2_float32][height_range][8.000000 20.000000]>
<[string8][group][broadleaf]>
<[string8][species][]>
>
<[plant][element][153861]
<[vector3_float64][position][3.861047 46.053001 0.000000]>
<[vector2_float32][height_range][8.000000 20.000000]>
<[string8][group][broadleaf]>
<[string8][species][]>
>


I can't give you a smaller dataset for test because issue appears when there is a big dataset.

I tried spitgrid 0.01 but when it's a high density trees zone, I have some big files with no ramdomness and a lot of small .toc file with randomness.
Aerofly doesn't like lot of .toc file. They creat stutters.
 
Last edited:
#29
Hi Arno,
a question : with mergegrid, can we have (with a variable) a merge with several following files for a max level : for example 20 Mo.
Thanks you
 
Last edited:

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#30
Hi,

I'm not sure how that would work. Scenproc uses geographical tiles, so if you limit the amount of data sonewhere you would loose data.
 
#31
thx for answer.
If scenproc knows tiles sizes, can it group geographical tiles without exceed a size limit.
For example :
I have several tiles made by scenproc and it knows their sizes.
I have a limit of 20 Mo.
Tiles are differents sizes : 5 Mo, 8 Mo, 30 ko, etc. the soft adds this following files without exceed the limit.
If the limit might be exceed, scenproc creat the next tiles group, etc.
We can split osm in small data and creat .toc with known optimal size.

I know, I believe in santa claus :)
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#32
Hi,

I still don't get it to be honest. What is a next tile group? All data is loaded at the import command. You probably want to run the entire script multiple times, but that's only possible in batch mode now.
 
#33
Ok, I'll try again with spitgrid 0.05 and I'll erase small files. I'll lose some trees but forest will look great I hope.

Thx again for your availability
 
Top