Re: [gdal-dev] gdal_rasterize in parallel processing

2012-09-25 Thread Even Rouault
Selon Giuseppe Amatulli : > Hi all, > I solved the down reported issues. I change -ot Float32 to -ot > Float64 and it works. > Anyway Float32 should be enough to store the max value of > 560459513003129 < 3.4E38 > but probably during the multi-core several values are stored in the > same array an

Re: [gdal-dev] gdal_rasterize in parallel processing

2012-09-25 Thread Giuseppe Amatulli
Hi all, I solved the down reported issues. I change -ot Float32 to -ot Float64 and it works. Anyway Float32 should be enough to store the max value of 560459513003129 < 3.4E38 but probably during the multi-core several values are stored in the same array and it needs Float64. ciao ciao Giuseppe

[gdal-dev] gdal_rasterize in parallel processing

2012-09-24 Thread Giuseppe Amatulli
Hi, i'm running gdal_rasterize for several *.shp using xargs, sending the process to 10 cpu. 1) ls /weldgfs/p51/gius_urban/pop_urban/2010/shp_albers/*.shp | xargs -n 1 -P 10 bash /weldgfs/p51/gius_urban/pop_urban/scripts/sc2a_shp_rasterizeP30_2010.sh the same process can be run using one pro