[gdal-dev] gdal_translate and modis ocean HDFs

2010-12-03 Thread Gustavo
Hi everyone, I am trying to import some L3 MODIS satellite images into GRASS 6.4 by following the instructions from: http://grass.osgeo.org/wiki/MODIS#Import I've tried method 1 but I got some error messages. gdal_translate -a_srs +init=epsg:4326 -a_nodata 65535 -a_ullr -180 90 180 -90 -co

[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 contouring problem

2010-12-03 Thread Even Rouault
FYI, I've commited a fix in GDAL trunk so that 0 as a floating point value can be used as a valid value for -fl Le mercredi 01 décembre 2010 05:44:09, Ole Nielsen a écrit : Thanks for explaining the reason why the numeric value of 0.00 doesn't work as a fixed level in gdal_contour while the

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

Re: [gdal-dev] several No data value

2010-12-03 Thread Frank Warmerdam
Ludovic Mercier wrote: Hi, i work with a type of data wich can have : no data value and other information like low and hight instrument saturation. For many algorithm this value (instrument saturation ) is like no data value. But in gdal doc only one data value is managed. Have you a

[gdal-dev] .asc files during open

2010-12-03 Thread Todd Smith
When opening .asc files, they are scanned for any values that may be floating point so the type of data (int or float) can be set properly. For the case I'm dealing with (2800 files @ 50mb each) it means that each file takes about 1.25 seconds to open (because the data is all integer data). It

Re: [gdal-dev] .asc files during open

2010-12-03 Thread Ray Gardener
Best way is probably to add a driver option (if it doesn't already have one for that). Ray On 12/3/2010 3:01 PM, Todd Smith wrote: When opening .asc files, they are scanned for any values that may be floating point so the type of data (int or float) can be set properly. For the case I'm

[gdal-dev] Building GDAL 1.7.3 Python bindings

2010-12-03 Thread Brian Wilson
Greetings, I am looking for some suggestions on how to build the python bindings for the latest gdal sources (1.7.3) for Windows. Environment: Windows 7, Visual Studio 2010, Python 2.5 Success: building gdal itself Failure: python module + bindings I keep hitting dead ends getting Python set up.