Generating images only

Ken Lord kenlord at GMAIL.COM
Fri Dec 16 14:14:44 PST 2005


Hi Bob,

Your application could call mapserv.exe or shp2img.exe from within a
command shell with the appropriate parameters, and then grab the image
it generates.

Cheers,
Ken Lord
Vancouver BC

On 12/16/05, Bob Basques <bob.basques at ci.stpaul.mn.us> wrote:
> Brian Peschel wrote:
>
> >I have an application that needs to display a map image.  I was thinking of
> >using MapServer to generate that image for me.  I have worked through the
> >O'Reilly book and most of the tutorial and I stumbled across a question
> >which I am sure is answered somewhere, but I didn't find it searching
> >through the online documentation at http://mapserver.gis.umn.edu
> >
> >1) Is there a way to generate just the image?  I don't want all the
> >surrounding web page (ie the global.html file) just the image.  My
> >appliction will handle all the zooming, hull size, etc.  Is there a
> >parameter to the CGI to say just generate the image and not the HTML?  I am
> >dealing with an applet and would like to skip the step of reading the HTML
> >to get the image info and make a second request for the image.
> >
> >
> Look into using the CGI version of the MapServer.
>
> bobb
>
>
> >2) Is there documentation for the various *Script interfaces?  I have some
> >interest in using MapServer inside a C++ application, again, just to
> >generate the images displayed.
> >
> >Thanks in advance.
> >
> >Brian
> >
> >
> >
>



More information about the MapServer-users mailing list