[gdal-dev] gdal_rasterize increase memory usage

2015-07-16 Thread jramm
gdal_rasterize is limited to use just 10MB of memory (line ~640 of gdalrasterize.cpp). Is there anyway to change this (without having to recompile?) I'm noticing that changing the output data format from Byte to Int16 or even Int32 drastically reduces performance. This must be because the strict

Re: [gdal-dev] gdal_rasterize increase memory usage

2015-07-16 Thread Nicolas Cadieux
Hi, I had the same problem with gdal_warp. I recompiled the code using the latest ms visual studio community and the buffer was increased from 15 Mb to 1.5 GB. It's was a first for me because I usually work in python. It's easy to do. That fixed all the issue. I am told that buffer size is