[Mapserver-users] CGI variables
Frank Koormann
frank.koormann at intevation.de
Mon Jan 5 01:29:17 PST 2004
Davide,
* Palle Due Larsen <palle at mail-online.dk> [040104 21:52]:
> Hi,
>
> Looks like the same old thing: You must specify a pattern for data in
> the url. DATAPATTERN "*" in the map file should do it. I assume you are
> using mapserver 4.0x.
>
> Best regards
>
> Palle Due Larsen
> Carl Bro GIS&IT
>
I addition to what Palle said (which is correct):
- In your example both path strings are equal. If you really tried this
you shouldn't get a change in background image.
- In your example is a typo in the URL (Backgruond)
- I haven't checked the mapserver parsers in detail but the
layer name (Background_10k) might be a problem too. You may change
this eg to Background10k just for a check.
Regards
Frank
> -----Original Message-----
> From: "Davide Prati" <d.prati at arpalombardia.it>
> To: <mapserver-users at lists.gis.umn.edu>
> Date: Sun, 4 Jan 2004 20:37:58 +0100
> Subject: [Mapserver-users] CGI variables
>
> > Hi all,
> >
> > I'm newbie in mapserver, and obviously I've any questions.
> >
> > I'm trying to change the DATA parameter for a layer
> > The layer setup is:
> > LAYER
> > NAME Background_10k
> > STATUS default
> > MINSCALE 0
> > MAXSCALE 10000
> > DATA "c:\catasto\cartine\a4d1.tif"
> > TYPE RASTER
> > OFFSITE 255 255 255
> > END
> >
> > and this load a 1:10000 image for the background
> > Now I will change the name of the file using:
> >
> > map_Backgruond_10k_data="c:\catasto\cartine\a4d1.tif"
> >
> > But it does not work! The image showed stay the same.
> >
--
Frank Koormann <frank.koormann at intevation.de>
Professional Service around Free Software (http://intevation.net/)
FreeGIS Project (http://freegis.org/)
More information about the MapServer-users
mailing list