[mapguide-users] MgByteReader.ToString() Error!

Jackie Ng jackie.ng at aecsystems.com.au
Sun Jan 21 19:41:07 EST 2007


Hi,
 
I don't think you can tostring() the $byteReader because
$renderSrvc->RenderMap() is returning an image and not an xml document.
(this is from observations in mapagent).
 
Try using the read() method of $byteReader and copying the byte array into a
php image object (I know .net has an Image object. I don't know if php has
something similar)
 
Regards,

Jackie Ng

AEC Spatial Pty Ltd. / AEC Systems Pty Ltd.
SYDNEY - MELBOURNE - BRISBANE - PERTH - HOBART - AUCKLAND (NZ)

A.B.N: 32 075 809 451

Level 4, 37-41 Prospect St. Box Hill, Victoria, 3128

Phone: 1300 368 609 
Fax:    1300 362 140 

www.aecsystems.com.au 
jackie.ng at aecsystems.com.au <blocked::mailto:jackie.ng at aecsystems.com.au> 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070122/ee213ecb/attachment.html


More information about the mapguide-users mailing list