ok all done, I've also added a script to reproduce the problem

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1816

thanks Frank

On 7/3/06, Frank Warmerdam <[EMAIL PROTECTED]> wrote:
Shoaib Burq wrote:
> Hi all
>
> we are trying to create a mapfile on the fly and need to add multiple
> outputformats to the mapfile. we can use the
> appendOutputFormat(new_OF) in python-mapscript. However when using the
> mapObj.save(mymapfile.map) to write our map object to file, it only
> writes-out the last format appened.
>
> The only relavent code i found was in:
> mapserver/mapscript/python/tests/cases/outputformattest.py
> But this only tests if the current outputformat is defined correctly ...
>
> Does anyone know if we can use the mapObj.save() function to create
> mapfiles with multiple OUTPUTFORMAT definitions and if not anyone know
> where the save() function's defined and if its easy to extend it to do
> this?

Shoaib,

I think this is a bug.  If you could submit a bugzilla entry on this and
ensure it is assigned to me I'll look into fixing it.   At least in 4.9.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org


Reply via email to