2017.07.01 15:29 "[Tiff] Fwd: Read tiff file piped from stdout ?", by Aaron Boxer
---------- Forwarded message ----------
From: Aaron Boxer <firstname.lastname@example.org>
Date: Sat, Jul 1, 2017 at 11:28 AM
Subject: Re: [Tiff] Read tiff file piped from stdout? To: Even Rouault <email@example.com>
On Sat, Jul 1, 2017 at 11:23 AM, Even Rouault <firstname.lastname@example.org> wrote:
On samedi 1 juillet 2017 11:21:17 CEST Aaron Boxer wrote:
Thanks, Even. I will take a look. I suppose I could read the stream into
memory, and then read from that.
Sure. If your TIFF are small enough to hold in RAM, you'll of course be able to read any TIFF formulation that way.
Will vsistdin work on windows?
Cool. So, on linux, I am using /dev/stdin as my source file. Is there an equivalent name for this on windows?
> > On Sat, Jul 1, 2017 at 10:52 AM, Even Rouault <
On samedi 1 juillet 2017 10:21:12 CEST Aaron Boxer wrote:
> > > > Is it possible to read a tiff file from stdout?
In the general case, no. If the file has been specifically created for being read in a streamble way and the read access pattern is compatible of it, yes. You may read with interest the "Streaming operations" section at the end of
http://gdal.org/frmt_gtiff.html for more details
The GDAL /vsistdin/ special file mentionned in it is mostly a wrapper over standard stdin, with buffering of the first 1MB so that all seeking within this first MB works. Beyond /vsistdin/, only accepts dummy seeks (no
> > actual
position change), or forward seeks.
Spatialys - Geospatial professional services