[mapserver-users] Leading zeros removed from variabel when
passed to map file
graeme.gould at grandunionhousing.co.uk
Tue Dec 8 06:14:52 EST 2009
Solved the problem by adding quote marks at the beginning and end of each
ref_no so that the variable is seem by the map file as a string rather than
> Im just starting out with MapServer and have a bit of a stumbling block.
> The following script should identify a property based on the "ref_no"
> string variable passed to the map file.
> DATA "geometry from snh_properties"
> FILTER "placeref = %ref_no%"
> This works for all ref_no's beginning with a whole number, however if the
> re_no begins with a zero then it does not work. Has anyone come across
> this before and is there a solution that hopefully wont tax my brain too
View this message in context: http://n2.nabble.com/Leading-zeros-removed-from-variabel-when-passed-to-map-file-tp4125557p4131812.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the mapserver-users