Re: [mapserver-users] run-time substitution

2016-07-11 Thread Jeff McKenna
Hello Eva, Testing with MS4W 3.1.4 (MapServer 7.0.1) on Windows, I am able to pass "_name=testing" in the url and the resulting GetCapabilities response correctly replaces that in the wms_onlineresource value. Note that my validation block is slightly different than yours: WEB

[mapserver-users] run-time substitution

2016-07-11 Thread Eva Jelínková
Dear mapserv people, does anybody has an experience with runtime substitution in MAP->WEB: METADATA section of mapfile (MapServer 7)? http://mapserver.org/cgi/runsub.html#parameters-supported I am trying to substitute part of 'wms_onlineresource' value, using default value in VALIDATION.

[mapserver-users] Run-time substitution

2012-06-09 Thread scott159
Hi, I would like to use run-time substitution in a mapfile to insert variables like %firstname%. Is it necessary to specify validation block in the mapfile to use it ? It doesn't work without this validation pattern. Second problem, how to specify this validation pattern to use characters with

Re: [mapserver-users] Run-time substitution

2012-06-09 Thread Rahkonen Jukka
...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] k#228;ytt#228;j#228;n scott...@free.fr [scott...@free.fr] puolesta Lähetetty: 9. kesäkuuta 2012 12:22 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [mapserver-users] Run-time substitution Hi, I would like to use run-time substitution

[mapserver-users] Run-time Substitution

2012-03-20 Thread Paul Maddock
Dear anyone willing to help, I'm having a hard time interpreting how to properly execute runtime cgi variable substitution using an input of type=text. If I replace '%county%' with a sample county attribute value in single quotes the EXPRESSION works and is displayed on the returned html

[mapserver-users] Run-time Substitution and Raster file problem

2012-03-16 Thread teknocreator
This is somewhat related to the post by Kathleen Hirst on Feb 27. We're using MapServer 6.0.1 and I'm attempting get around the fact that one isn't able to change the PROCESSING BANDS= directive via Run-time Substitution. I couldn't find a way to do it through modifying the URL that's passed

SV: [mapserver-users] Run time substitution - Like instead of =

2012-02-13 Thread Thomas Ellett
; mapserver-users@lists.osgeo.org Emne: Re: [mapserver-users] Run time substitution - Like instead of = Tom, What I am using with a database connection is a default value of 1=1 so that is always true, it returns all records. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers

[mapserver-users] Run time substitution - Like instead of =

2012-02-03 Thread tellett
Hi All, I'm using runtime substitution to replace the value of an expression and thats working fine, however, if I don't set the expression value in the url, I want the layer to show all the records. For example my class looks likes this: CLASS NAME 'FKB-A' EXPRESSION '%pn%'

Re: [mapserver-users] Run time substitution - Like instead of =

2012-02-03 Thread Smith, Michael ERDC-CRREL-NH
Tom, What I am using with a database connection is a default value of 1=1 so that is always true, it returns all records. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 2/3/12 11:30 AM, tellett thomas.ell...@statkart.no wrote: Hi All, I'm using runtime

Re: [mapserver-users] Run time substitution - Like instead of =

2012-02-03 Thread Rahkonen Jukka
Hi, Perhaps someone can tell if you could use the default value to NOT something_very_off, which would then select everything for you. -Jukka Rahkonen- tellett wrote: Hi All, I'm using runtime substitution to replace the value of an expression and

[mapserver-users] Run-time Substitution in mapserver using php

2011-08-04 Thread Lokendra Singh
Dear, I am having problem in code for Run-time Substitution for Regular Expression in mapserver using php. If anyone has code for the same than please provide. -- Regards, Lokendra Singh. ___ mapserver-users mailing list

[mapserver-users] Run Time Substitution and Mapscript questions

2011-07-12 Thread ChiefDan
I am attempting to use python mapscript to generate some maps, however I am running up against some problems. My mapfile layer has a CONNECTION of http://127.0.0.1/cgi-bin/wms/rs/seacoos_rs_test?TIME_OFFSET_HOURS=%time_offset_hours%; My mapscript test script has an OWSRequest that has a

Re: [mapserver-users] Run-time substitution

2009-03-18 Thread Gregor at HostGIS
I want to confirm that LAYER NAME is not supported in run-time substitution before I re-work everything. It sure isn't, confirmed. A recompile, though, should be able to enable it. If you have elementary C skills and are used to compiling MapServer from source, that may present little

Re: [mapserver-users] Run-time substitution

2009-03-18 Thread Steve Lime
It's not (and won't be) supported. There may be other ways to structure things but you'd need to tell the list a bit more about your setup. Steve On 3/18/2009 at 12:58 PM, in message 5b61c6c50903181058t1e90456gf70858e15eb57...@mail.gmail.com, Ian ians...@gmail.com wrote: Hello, I have ~50

Re: [mapserver-users] Run-time Substitution vs. Variable Substitutionand what are the Parameters Supported?

2008-09-15 Thread Steve Lime
Variable substitution refers to those parameters that can have part of their value changed remotely. The supported parameters are: LAYER: data, tileindex, connection and filter CLASS: expression Setting up parameter validation is STRONGLY encouraged. In your layer metadata you'd define