Re: [gdal-dev] Raster algebra with Gdal and Python

2010-02-02 Thread Dylan Beaudette
On Tuesday 02 February 2010, Vincent Schut wrote: > On 02/02/2010 08:01 AM, Alexander Bruy wrote: > > Hi again, > > > > with your help I've fix problem with "integer overflow" and now I get > > correct results. > > > > Also I clean up my code for reduce memory usage but problem with large > > files

Re: [gdal-dev] Raster algebra with Gdal and Python

2010-02-02 Thread Mateusz Loskot
Zoltan Szecsei wrote: Alexander Bruy wrote: Hi again, with your help I've fix problem with "integer overflow" and now I get correct results. Also I clean up my code for reduce memory usage but problem with large files is remain. I have raster with size 11779*10663 and 5 bands. When I calcula

Re: [gdal-dev] Raster algebra with Gdal and Python

2010-02-02 Thread Vincent Schut
On 02/02/2010 08:01 AM, Alexander Bruy wrote: Hi again, with your help I've fix problem with "integer overflow" and now I get correct results. Also I clean up my code for reduce memory usage but problem with large files is remain. I have raster with size 11779*10663 and 5 bands. When I calculat

Re: [gdal-dev] Raster algebra with Gdal and Python

2010-02-02 Thread Zoltan Szecsei
Alexander Bruy wrote: Hi again, with your help I've fix problem with "integer overflow" and now I get correct results. Also I clean up my code for reduce memory usage but problem with large files is remain. I have raster with size 11779*10663 and 5 bands. When I calculate NDVI on Linux box (2 G

Re: [gdal-dev] Raster algebra with Gdal and Python

2010-02-01 Thread Alexander Bruy
Hi again, with your help I've fix problem with "integer overflow" and now I get correct results. Also I clean up my code for reduce memory usage but problem with large files is remain. I have raster with size 11779*10663 and 5 bands. When I calculate NDVI on Linux box (2 Gb RAM, 2Gb swap, GDAL 1.

Re: [gdal-dev] Raster algebra with Gdal and Python

2010-02-01 Thread Vincent Schut
On 01/31/2010 07:40 PM, Alexander Bruy wrote: Hi all I want to write a raster calculator and have two problems with Python and GDAL. My first problem: when calculating a difference between two raster bands I get a wrong results. Raster in ERDAS IMAGINE format (HFA) and bands extracted correctly

Re: [gdal-dev] Raster algebra with Gdal and Python

2010-01-31 Thread SriRam . PrasadBhasker
Hi. Suggest to Immediately Upgrade to 1.7.0 also check if the users have correct Page File Settings for the Hard Drive Partitions. 1.7.0 is working excellently for Huge Images. Thank You Bhasker Alexande

Re: [gdal-dev] Raster algebra with Gdal and Python

2010-01-31 Thread Alexander Bruy
2010/2/1 Greg Coats : > Yes, GDAL can successfully process images with 15,000 columns by 15,000 rows. > I have used GDAL on a computer with only 3 GB RAM to process an image with > Image Width: 260,000 Image Length: 195,000. What version of GAL are you > using? Are you using GDAL 1.7.0? What ope

Re: [gdal-dev] Raster algebra with Gdal and Python

2010-01-31 Thread Greg Coats
Yes, GDAL can successfully process images with 15,000 columns by 15,000 rows. I have used GDAL on a computer with only 3 GB RAM to process an image with Image Width: 260,000 Image Length: 195,000. What version of GAL are you using? Are you using GDAL 1.7.0? What operating system are you using? H

[gdal-dev] Raster algebra with Gdal and Python

2010-01-31 Thread Alexander Bruy
Hi all I want to write a raster calculator and have two problems with Python and GDAL. My first problem: when calculating a difference between two raster bands I get a wrong results. Raster in ERDAS IMAGINE format (HFA) and bands extracted correctly. When I print each band and subtraction result