I recall that the original proposal was:

http://www.nabble.com/Proposing-to-support-for-creating-maps-with-mapserv.exe-using-the-command-line-p4976104.html

As far as I remember against this proposal suppressing the header was
the desired approach, however suppressing the header at all places
like the OWS requests seemed to be a PITA.

Tamas


2006/10/30, Hubert Asamer <[EMAIL PROTECTED]>:




---------- Továbított levél ----------
From: Frank Warmerdam <[EMAIL PROTECTED]>
To: Hubert Asamer <[EMAIL PROTECTED]>
Date: Thu, 26 Oct 2006 15:55:24 -0400
Subject: Re: mapserv stdout png problem
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






Reply via email to