[mapserver-dev] msIO redirection for WMS GetMap not working

Tamas Szekeres szekerest at gmail.com
Thu Mar 10 12:29:07 EST 2011


Hi All,

Before the new renderer API we could redirect the WxS requests to buffer,
like:

mapscript.msIO_installStdoutToBuffer()
map.OWSDispatch( req )
content_type = mapscript.msIO_stripStdoutBufferContentType()
content = mapscript.msIO_getStdoutBufferBytes()

But with the new rendering API this option have been lost, because
msSaveImage seems to write to stdout, not that way like msSaveImageGD was
working. Any ideas how to restore the original behaviour?

Best regards,

Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110310/9a31d939/attachment.html


More information about the mapserver-dev mailing list