[mapserver-users] Runtime Substitution Not Working

2012-05-21 Thread Ryan Dussiaume
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

Re: [mapserver-users] Runtime Substitution Not Working

2012-05-21 Thread Helen San Segundo Navazo
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'

RE: [mapserver-users] Runtime Substitution Not Working

2012-05-21 Thread Ryan Dussiaume
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

Re: [mapserver-users] runtime substitution not working

2010-03-14 Thread pcreso
(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 li...@remoteinformation.com.au wrote: From: Ben Madin li...@remoteinformation.com.au Subject: Re: [mapserver-users] runtime substitution

Re: [mapserver-users] runtime substitution not working

2010-03-14 Thread Joshua Hevenor
: From: pcr...@pcreso.com 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 one won't behave. If I use like '%spp%' pass spp=TAR

Re: [mapserver-users] runtime substitution not working

2010-03-14 Thread Robert Sanson
the wildcards at the mapfile level. like '%' || '%spp%' || '%' Josh --- On Sun, 3/14/10, pcr...@pcreso.com pcr...@pcreso.com wrote: From: pcr...@pcreso.com pcr...@pcreso.com Subject: Re: [mapserver-users] runtime substitution not working To: mapserver-users@lists.osgeo.org Date: Sunday, March 14

Re: [mapserver-users] runtime substitution not working

2010-03-13 Thread Ben Madin
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: [mapserver-users] runtime substitution not working

2010-03-12 Thread Lime, Steve D (DNR)
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 not working Hi, I'm obviously

[mapserver-users] runtime substitution not working

2010-03-11 Thread pcreso
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)