Re: [gdal-dev] OGR writing problem pl. help

2014-06-13 Thread Daniel Testa
Hi, - try adding the following line: outlayer->SetFeature(outfeature); after: outfeature->SetField("production", FALL->Production); ends up being: [...] outfeature->SetField("production", FALL->Production); outlayer->SetFeature(outfeature); [...] make sure OGRDataSource::DestroyDataSource(outso

Re: [gdal-dev] new landsat-8 metadata format

2014-05-30 Thread Daniel Testa
ay 17, 2014 at 11:06 AM, Daniel Testa wrote: > > You could have the dataset report subdataset names, like > > "LANDSAT8:LC82300942013289LGN00_MTL.txt:panchromatic", > > "LANDSAT8:LC82300942013289LGN00_MTL.txt:multispectral", etc... And when > those > >

Re: [gdal-dev] new landsat-8 metadata format

2014-05-17 Thread Daniel Testa
> You could have the dataset report subdataset names, like > "LANDSAT8:LC82300942013289LGN00_MTL.txt:panchromatic", > "LANDSAT8:LC82300942013289LGN00_MTL.txt:multispectral", etc... And when those > names are passed to the Open() methods would return a dataset that would point > to the relevant tif.

Re: [gdal-dev] new landsat-8 metadata format

2014-05-16 Thread Daniel Testa
Hi Even, > There's no real need of a new API for that (although it might be cleaner to > have a dedicated one at some point). I'd note that your proposed API would > only work for a single subdataset, not a vector of them. Sorry, my bad. Should have been: GDALDataset** pporSubDatasets; virtual G

[gdal-dev] new landsat-8 metadata format

2014-05-16 Thread Daniel Testa
Hi, I'm writing to you because I need support for the new Landsat-8 metadata format (_MTL.txt file) I took a look at the latest version, 1.11.0, and I couldn't find anything on the matter. So, I was thinking I could add support for the new format by myself. There are 3 groups of bands: panchromat

Re: [gdal-dev] can't fetch the projection definition string on Linux

2013-10-03 Thread Daniel Testa
t; > Best regards, > Frank > > > On Wed, Oct 2, 2013 at 2:29 PM, Daniel Testa > wrote: > > Hello everyone, I´m experiencing a weird behavior when reading a raster > > image (GTiff/GeoTIFF) > > > > I'm using GDAL 1.9.1 for Linux (Ubuntu 12.04 LTS) and Window

[gdal-dev] can't fetch the projection definition string on Linux

2013-10-02 Thread Daniel Testa
Hello everyone, I´m experiencing a weird behavior when reading a raster image (GTiff/GeoTIFF) I'm using GDAL 1.9.1 for Linux (Ubuntu 12.04 LTS) and Windows (Win 7 Ultimate SP1) to open a raster image with EPSG:22194 Sample output from gdalinfo for that image on Windows (WKT): [...] PROJCS["Campo