Retrieving map image via URL

Jaynika Barot JBarot at digmap.com
Thu Mar 22 14:39:16 EST 2001


http://localhost/mapserver/bin/mapserv.exe?mode=map&layer=layer1&imgext=3641
07.000000+3773595.000000+365719.000000+3774689.000000&map=c%3A%5CInetpub%5Cw
wwroot%5Cms_demo%5Cdmpdemo.map


-jaynika
-----Original Message-----
From: Ma [mailto:marin at here.is]
Sent: Thursday, March 22, 2001 9:28 AM
To: mapserver-users at lists.gis.umn.edu
Subject: Re: Retrieving map image via URL


one wget example how to get the gif file via URL ?

--
Ma


Stephen Lime wrote:

> Sure. All you need to do is change the mapserver "mode" by adding
&mode=map to the
> URL. Remember the default mode is "browse" which returns HTML/URL
(redirect).
>
> Steve
>
> Stephen Lime
> Internet Applications Analyst
>
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> 651-297-2937
>
> >>> Armin Burger <armin.burger at territoriumonline.com> 03/22/01 09:00AM >>>
> I would like to retrieve the map image from a ms server only via its URL
> using a program like wget or curl. When I'm using the normal parameter
like
> in the URL line of the browser I get the html document back. Can I define
> the URL request this way that I will get back the gif image of the main
map
> with certain layers and a certain extend etc.?
>
> Armin
>
> --
> Armin Burger
> Territorium Online
> Siemensstrasse/Via Siemens 19 - I-39100 Bozen/Bolzano - Italia
> tel: +39-0471-568185 / fax: -- 568078
> _



More information about the mapserver-users mailing list