[OSM-dev] mapnik - can you output image bytes directly?
Artem Pavlenko
artem at mapnik.org
Wed Mar 14 20:33:20 GMT 2007
On 14 Mar 2007, at 20:05, Martijn van Oosterhout wrote:
> On 3/14/07, Nick Whitelegg <nick at hogweed.org> wrote:
>>
>> Hello Artem,
>>
>> With Mapnik is it possible to output the image bytes directly to
>> stdout,
>> rather than write to file? I want to do this in Freemap to save
>> writing the
>> map image and then opening it again. Looking at the source I can't
>> see
>> anywhere, but might have missed something.
>
> When all else fails you could always try giving /dev/fd/1 as the
> filename.
>
Yes, you could try this on *nix :) Doesn't feel like the best
solution though.
Cheers,
Artem
More information about the dev
mailing list