[gdal-dev] reading geotiff data from STDIN

Upendra Dadi udadi at gmu.edu
Mon Nov 30 01:46:21 EST 2009

  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 physical file, but instead contain information for the driver on how to access a dataset.

What options does Geotiff driver have for pszFilename? If I want to modify Geotiff driver to read and write from STDIN and STDOUT respectively, which files should I be looking at? 

Ability to do this might be useful if using GDAL in a Hadoop MapReduce job with streaming. Geotiff format could be the serialization format that MapReduce expects. If it is not already there, it might be useful to add this feature. It could make it a bit easier to use GDAL within a Cloud environment.  Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20091130/dececc52/attachment.html

More information about the gdal-dev mailing list