[gdal-dev] reading geotiff data from STDIN

2009-11-29 Thread Upendra Dadi
Hi, Is it possible to read geotiff data from standard input(STDIN) and write to standard output (STDOUT) instead of reading from a file? I see the following in the documentation to GDALOpen(): pszFilename the name of the file to access. In the case of exotic drivers this may not refer to a ph

[gdal-dev] Re: build gdal 1.6.2 with nmake and vc9

2009-11-29 Thread G. Allegri
SOLVED. Sorry, it was a problem with a wrong parameter in my nmale.opt which caused the DEBUG flag being set. giovanni 2009/11/29 G. Allegri > I'm trying to compile/build gdal fo windows, with minimal external > libraries set in nmake.opt (just expat and postgresql). > As explained by the docs,

[gdal-dev] build gdal 1.6.2 with nmake and vc9

2009-11-29 Thread G. Allegri
I'm trying to compile/build gdal fo windows, with minimal external libraries set in nmake.opt (just expat and postgresql). As explained by the docs, the deafult target is Debug, in fact it tries to link libpqd.dll for postgres, which I suppose is the debug version. Anyway I'm not sure how to set th

[gdal-dev] Problem with readraster in C#

2009-11-29 Thread patsv
Hi, I am trying to read GDEM data from the ASTER dataset. But all I get is a buffer with zeroes, is there something wrong with my code or is it something with the readraster function. Part of my code: Band band = ds.GetRasterBand(1); short[] DEM = new short[band.XSize * band.Y