[mapserver-users] Run time substitution - Like instead of =
Jukka.Rahkonen at mmmtike.fi
Fri Feb 3 14:26:37 EST 2012
Perhaps someone can tell if you could use the default value to "NOT something_very_off", which would then select everything for you.
> 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
COLOR 254 150 254
OUTLINECOLOR 1 1 1
and when I use this request:
I get back 1 record which is correct. However, if I drop the &pn=LACHVE11 of
course I get no results back. Is there any way of changing this so that I
can get all the records of the table returned?
I thought about using the 'default_pn' option in the metadata and using
wildcards but as this is an '=' expression rather than a 'LIKE' expression
wildcards are useless. Maybe its just because its friday afternoon, but I
just can't see a way of doing this, help!!!
View this message in context: http://osgeo-org.1560.n6.nabble.com/Run-time-substitution-Like-instead-of-tp4362317p4362317.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
mapserver-users mailing list
mapserver-users at lists.osgeo.org
More information about the mapserver-users