Retrieving map image via URL
Armin Burger
armin.burger at territoriumonline.com
Fri Mar 23 00:18:17 PST 2001
After some trials I found the working call for wget:
wget -O d:\tmp\myimage.gif "http://..."
Important were the double quotes around the URL. With the 'mode=map' there
seems to be a direct access to the produced map image.
Armin
> and where in this example is the gif file and how to get it with wget?
> :>
> another one?
> --
> Ma
> Jaynika Barot wrote:
>>
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
--
Armin Burger
Territorium Online
Siemensstrasse/Via Siemens 19 - Bozen/Bolzano - Italia
email: armin.burger at territoriumonline.com
http://www.territoriumonline.com
tel: +39-0471-568185 / fax -- 568078
More information about the MapServer-users
mailing list