Re: [gdal-dev] GDAL/OGR Python Question

2010-12-06 Thread Brian Walawender
Frank, Thanks for tip. I was able to rasterize my polygon and used that to calculate my sum. Very fast. bw On Fri, Dec 3, 2010 at 2:28 PM, Frank Warmerdam warmer...@pobox.com wrote: Brian Walawender wrote: Hello, I am looking for some assistance in optimizing a section of code for

[gdal-dev] GDAL/OGR Python Question

2010-12-03 Thread Brian Walawender
Hello, I am looking for some assistance in optimizing a section of code for faster performance. Here is my problem, I have GeoTiff that contains 1 km x 1 km population data over an area roughly the size of the continental US (7020 x 3000). I am trying to calculate the population within a

Re: [gdal-dev] GDAL/OGR Python Question

2010-12-03 Thread Frank Warmerdam
Brian Walawender wrote: Hello, I am looking for some assistance in optimizing a section of code for faster performance. Here is my problem, I have GeoTiff that contains 1 km x 1 km population data over an area roughly the size of the continental US (7020 x 3000). I am trying to calculate