Just a guess since I'm not very familiar with the Perl SWIG stuff, but
maybe the patch from this ticket could help?
http://trac.osgeo.org/mapserver/ticket/2962
If I'm not mistaken it solves a similar problem with the
imageObj.getBytes return value, and I presume the problem you
encountered needs a similar solution.
Daniel
Felipe Alcacibar wrote:
Hi, i'm trying to implement a wms server with a perl api of mapscript
but i cannot understand how msIO_getStdoutBufferBytes() work
in the docs msIO_getStdoutBufferBytes() function return the binary
content of the current output but i cannot see that, when i dump with
Data::Dump::Streamer i got:
-> $_p_gdBuffer1 = bless( \do { my $v = 152646680 }, '_p_gdBuffer' );
I go to read the sources of the mapscript perl implementation and i
found a struct with properties data and size, but i cannot get that i
got that when i try to dump data.
-> Can't locate object method "data" via package "_p_gdBuffer" at
/home/counter/mscacherd/maptest.pl line 36.
How it works in perl, how i can get the data from the gdBuffer perl class?
Thanks in advice.
Greetings
Felipe
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Daniel Morissette
http://www.mapgears.com/
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users