
2 Nov
2010
2 Nov
'10
12:11 p.m.
Marko Mäkelä <marko.makela@iki.fi> writes:
On Tue, Nov 02, 2010 at 10:22:33AM +0100, Lambertus wrote:
Would it be possible that Mkgmap supports reading the OSM data from stdin? Splitter is capable of doing so and it would eliminate the need for a temporary file if Mkgmap could do so too.
If you are using a unix-like system, --input-file=/dev/stdin or /dev/fd/0 could be a feasible workaround. It generally works for programs that do not attempt to seek (or rewind) the input file.
True, but it would be nice for mkgmap to read from stdin anyway, since the notion of stdin being available as a file is non-portable - I'm pretty sure POSIX does not specify it.