Re: [gdal-dev] Many files over the network

2011-03-14 Thread Eli Adam
> I apologize if this question has been posted previously, but I haven't yet > found a convenient way to search the archives. > Thanks, > > Kyle Kyle, It took me a while to find how to do that as well. Try nabble, http://osgeo-org.1803224.n2.nabble.com/GDAL-Dev-f2022644.html Bests, Eli

Re: [gdal-dev] Many files over the network

2011-03-14 Thread Even Rouault
Kyle, you didn't mention which driver was in question. I guess this is GeoTIFF ? I've looked at the code of the driver and it appears that it loads the .rpb and .imd files at least since GDAL 1.6.0. The new thing in GDAL 1.8.0 is that it also tries to load the _rpc.txt file. Is it that small di

[gdal-dev] Many files over the network

2011-03-14 Thread Kyle Ellison
Often, we need to open many raster files over a network connection with thousands of other files residing in the same directory. Previously, we were using version 1.7.0 of GDAL (from FW Tools), and we used SetConfigOption("GDAL_DISABLE_READDIR_ON_OPEN", "TRUE") to suppress the automatic search

Re: [gdal-dev] reprojecting to Near-sided perspective

2011-03-14 Thread Even Rouault
Le lundi 14 mars 2011 14:07:25, maciek a écrit : > I am using GDAL embeded in FWTools 2.4.7, I am trying to repoject a raster > image into Near-sided perspective. I call: > > gdalwarp -t_srs "+proj=nsper" s.tif s2.tif > > And I get: > > ERROR 1: Translating source or target SRS failed: > +proj=n

Re: [gdal-dev] identify attribute in GDALRasterBand::RasterBand

2011-03-14 Thread Chaitanya kumar CH
Xunlei, GetMetaData() returns a string list. Each string will contain a metadata item. You can read the documentation for handling string list at http://www.gdal.org/cpl__string_8h.html If you happen to know the name of the metadata item, you can use GetMetaDataItem(). Ex: GetMetaDataItem("GRIB_S

[gdal-dev] identify attribute in GDALRasterBand::RasterBand

2011-03-14 Thread Xunlei Wu
Hi All, I am a novice user of GDAL. I am using GDAL to decode GRIB and GRIB2 files. I followed http://www.gdal.org/gdal_tutorial.html and http://www.gdal.org/gdal_datamodel.html. However, I still have trouble accessing metadata from a GDALRasterBand object and GDALDataset object. For instance,

[gdal-dev] Need help generating output with alpha channels using Python API

2011-03-14 Thread Michal Migurski
Hello, I'm having some difficulties understanding how to get GDAL to generate images with usable alpha channels. I have 3-channel RGB input JPEG image, delivered to GDAL as a VRT with a projection and ground control points, which I'm warping to an output that's no longer rectangular, leaving ba

[gdal-dev] reprojecting to Near-sided perspective

2011-03-14 Thread maciek
I am using GDAL embeded in FWTools 2.4.7, I am trying to repoject a raster image into Near-sided perspective. I call: gdalwarp -t_srs "+proj=nsper" s.tif s2.tif And I get: ERROR 1: Translating source or target SRS failed: +proj=nsper I tried adding diferent parameters configuring the projection