Worked like a charm, thanks!
Ryan
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Helen San Segundo
Navazo
Sent: May 21, 2012 12:23
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Runtime Substitution Not Working
hi Ryan,
try to add the validation pattern inside the layer tag
METADATA
'file_validation_pattern'"[A-Z0-9._%+-|'\(\)]"
'default_file'"ultima_imatge" #---> this is to give a
value when you don't put the &file=value in the url call
END
VALIDATION
'file'"[A-Z0-9.
Hi,
I'm trying to use runtime substitution to replace the DATA setting of the
Mapfile at runtime. I'm running in tile mode and using GRD raster format.
Here's the mapfile:
MAP
NAME Blah2
STATUS ON
SHAPEPATH "C:/Contours/FSGrids"
PROJECTION "init=epsg:26918" END
LAYER
rpreted.
Or you could try if this is the case and you want to force the wildcards at the
mapfile level.
"like '%' || '%spp%' || '%"'
Josh
--- On Sun, 3/14/10, pcr...@pcreso.com wrote:
From: pcr...@pcreso.com
Subject: Re: [mapserver-users] runt
'%"'
Josh
--- On Sun, 3/14/10, pcr...@pcreso.com wrote:
From: pcr...@pcreso.com
Subject: Re: [mapserver-users] runtime substitution not working
To: mapserver-users@lists.osgeo.org
Date: Sunday, March 14, 2010, 1:29 PM
Hi Ben...
I have it working in other setups fine - just this
; in the SQL hence the double % sign. I have this working
elsewhere fine (but with different versions of mapserver & Postgis)
Capitalisation might be the problem... I'll try that...
Thanks,
Brent
--- On Sun, 3/14/10, Ben Madin wrote:
> From: Ben Madin
> Subject: Re: [maps
G'day Brent,
It might not matter, but you have double %% in the DATA statement you have
passed,
and for whatever reason - I recevied advice from this list or OpenLayers list -
I have all my variable names capitalised in the query:
WHERE transferdate >=
re creating an
image.
Steve
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of pcr...@pcreso.com
Sent: Thursday, March 11, 2010 10:22 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] runtime substitution no
Hi,
I'm obviously doing something wrong, but can't see what it is... I have a
Postgis table of species occurences & I want to pass a variable to the mapfile
to select which speciesusing runtime substitution.
The relevant DATA statement (joining species in the catch to locations in the
station)