--- Begin Message ---
Hubert Asamer wrote:
Frank,
one more question regarding the FW_Tools mapserv.exe:
When i make a query like this: mapserv "Query_string=map=.....&mode=map" > out.png
i get a png with following header: Content-type: image/png

Then i must remove the first two lines of the png file and i can view my result-everthing ok!
Do you know how to configure my query to avoid these two header lines?

Hubert,

There was some talk recently about adding a commandline switch to mapserv
to supress this, but looking in the code it looks like nothing was done.

So, no, there is nothing that can be done.

My msautotest test suite has special python code to strip off these mime
types, and the WxS mapscript wrappers include a mechanism to strip off
the mime type.  But I can't think of anything you can do when invoking mapserv
at the commandline.

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 OSGeo, http://osgeo.org


__________ NOD32 1.1831 (20061024) Information __________

Diese E-Mail wurde vom NOD32 antivirus system geprüft
http://www.nod32.com




--- End Message ---

Reply via email to