Proposing to support for creating maps with mapserv.exe using the command line

Frank Warmerdam warmerdam at POBOX.COM
Wed Jun 21 13:09:26 EDT 2006


Tamas Szekeres wrote:
> Frank,
> 
> My primary aim was to enable the image creation by using mapserver as
> a command line tool by utilizing the sophisticated funcionality
> provided by mapserv.exe. The implementation suggested was obvious
> requiring few line to be changed. Suppressing the header seems to be
> equivalent for me and i am ready to move into this direction if
> needed.
> However i am a bit uncertain about the benefit using the OWS
> functionality this way. It requires to change much amount of code that
> i haven't addressed.
> I am not disagreed about the latter if someone can convince me of the
> usability of this functionality.

Tamas,

I think similar uses would apply.  You could use a query string that
is a WFS request, and capture the resulting GML to a file for instance.
Currently this sort of use is frustrated by the manditory return of the
content type which must then be stripped off somehow.

I would agree that applying the change more widely would require
touching more code.  But as long as you leave routing to a file to
normal shell redirection, it would not be necessary to alter hard stuff,
just control whether content-type headers are emitted.

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



More information about the mapserver-dev mailing list