Re: [osg-users] VPB: Call to GDALRasterBand::RasterIO returns wrong no data values for gtopo30

2008-09-01 Thread John Vidar Larring
Hi Cedric, I was about to, but then forgot it. Also, since no one else had voiced the same problem and I was terribly new to OSG/GDAL, I ended up just made a hack in the VPB src instead: Index: src/vpb/SourceData.cpp === ---

[osg-users] VPB: Call to GDALRasterBand::RasterIO returns wrong no data values for gtopo30

2008-05-15 Thread John Vidar Larring
Hi, Problem Summary: The calls to GDALRasterBand::RasterIO() in vpd::SourceData::getInterpolatedValue() and vpd::SourceData::readHeightField() returns no-data-values as 55537 instead of the correct - for gtopo30 data. VPB: revision 911 OSG: revision 8321 GDAL version 1.5.1 The

Re: [osg-users] VPB: Call to GDALRasterBand::RasterIO returns wrong no data values for gtopo30

2008-05-15 Thread Robert Osfield
Hi John, This sounds like a GDAL bug. Would it be possible for you to provide links to the problematic data. I'd guess the GDAL team might like to look at it as well. Robert. Robert. On Thu, May 15, 2008 at 12:22 PM, John Vidar Larring [EMAIL PROTECTED] wrote: Hi, Problem Summary: The

Re: [osg-users] VPB: Call to GDALRasterBand::RasterIO returns wrong no data values for gtopo30

2008-05-15 Thread John Vidar Larring
Hi Robert, This sounds like a GDAL bug. Would it be possible for you to provide links to the problematic data. As far as I know this is just the standard GTOPO30 data from USGS. The DEM files can be downloaded from: http://edc.usgs.gov/products/elevation/gtopo30/gtopo30.html I'd guess