MapServer / MapServer

Source code of the MapServer project. Please submit pull requests to the 'main' branch.
https://mapserver.org
Other
1.03k stars 373 forks source link

saveImage in swf fail #2524

Closed mapserver-bot closed 12 years ago

mapserver-bot commented 12 years ago

Reporter: friendvn2000 Date: 2008/02/22 - 03:34 Trac URL: http://trac.osgeo.org/mapserver/ticket/2524 I have a map file that outputs swf format... I use PHPMapScript to implement:

$map = ms_newMapObj("test.map");
$image=$map->draw();
$image_url=$image->saveWebImage();

It generates some random name swf files like:

47ba3cf0_d1c_0.swf
47ba3cf0_d1c_0_layer_0.swf
47ba3cf0_d1c_0_layer_1.swf

But I want to save them as normal name, so I do next:

$image->saveImage("img_gen/test.swf");

and it works when saving them to those files:

test.swf
test_layer_0.swf
test_layer_1.swf

But in the test.swf file, the '''links''' to its child layers not change, so I can't use them !

( Maybe it's a MapServer's fatal error )

Thanks.

mapserver-bot commented 12 years ago

Author: heijo Date: 2009/08/20 - 12:12 Hi, Does this bug fixed ? I think it's not difficult to do. I know you're all busy. ( I've tried to explore the MapServer code but it's hard to find the desired part ) Thanks!

mapserver-bot commented 12 years ago

Author: assefa Date: 2009/10/13 - 17:21 This should work in trunk. There was an issue when testing LOAD_AUTOMATICALLY format option flag and It was fixed in a867593bf43f3e344b98f7f5ca19d01c3fb0dcdb (r9448).