There is quite a lot of good reading on the Mapserver web site, for example: http://mapserver.gis.umn.edu/new_users
MapServer is designed to be a map server that delivers maps through http for web clients. It does sometimes create image files on server disk and of course you can seach and use those files. Normal usage is still to use some http client for sending map requests and doing something for the image that will be sent back. By running mapserv.exe from command line you won't get much more out of it than program version number and a list of formats it supports. In order to capture a Mapserver map into an image file I use mostly wget. It has also a written manual, see http://www.gnu.org/software/wget/manual/wget.html The commandline you may be searching for is likely close to this: wget -O outputimage.jpg http://localhost/cgi-bin/mapserv.exe?map=c:\ms4w\apps\maps\John_Smith.map&mode=map -Jukka Rahkonen- -----Alkuperäinen viesti----- Lähettäjä: [EMAIL PROTECTED] puolesta: John Smith Lähetetty: ti 18.3.2008 18:13 Vastaanottaja: [email protected] Aihe: Re: VS: [mapserver-users] [UMN_MAPSERVER-USERS] can i pass variablestoshp2img? frank, ok so it's easier to get to the image using shp2img.exe since mapserv.exe dumps the image in /temp/ under a random name. but how'd i get the image name just using mapserv.exe from commandline? jzs On Tue, Mar 18, 2008 at 10:12 AM, Frank Warmerdam <[EMAIL PROTECTED]> wrote: > John Smith wrote: > > thks so what's the difference between mapserv.exe and shp2img.exe? i > > find the naming a little confusing (map2img? mapserver_cli?) > > John, > > shp2img is commandline oriented, and doesn't allow nearly as many > things to be controlled as you can with mapserv. shp2img also only > does the "drawMap" operation, not legends, templates, etc. > > In fact, map2img would have been a better name, but I'm very against > change, so I wouldn't want to change it now. It would break all my > test scripts. > > 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 _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
