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

Tamas Szekeres szekerest at gmail.com
Thu Mar 10 14:18:16 EST 2011


Frank,

Added my issue to the referred ticket.
I'll have to do a search in trac first before complaining about things that
has already been discovered ;-)

Best regards,

Tamas



2011/3/10 Frank Warmerdam <warmerdam at pobox.com>

> On 11-03-10 12:29 PM, Tamas Szekeres wrote:
>
>> 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?
>>
>
> Tamas,
>
> I filed:
>
>  http://trac.osgeo.org/mapserver/ticket/3694
>
> a few weeks ago on this general point and I thought my patch had corrected
> the bulk of the issue but I did not dig deeply.  It did fix up the problem
> I encountered.  Perhaps you could add additional notes on what isn't
> working
> for you in that ticket?  The change I made was primarily altering the new
> built-in jpeg and png writers to use msIO functions.
>
> Best regards,
> --
>
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110310/3394f3ff/attachment.html


More information about the mapserver-dev mailing list