All,

Isn’t there some way to grab the width/height parameter values  (%width%) from 
within the Mapfile.

I tried for width by adding in a validation line:

VALIDATION
'pin' '^[0-9]{12}$'
'qstring' '^[0-9]{12}$'
'width' '^[0-9]{5}$'
END

but I get an error:

[Thu Sep  7 11:05:31 2017].805273 msApplySubstitutions(): Regular expression 
error. Parameter pattern validation failed.
[Thu Sep  7 11:05:31 2017].805313 layer (Parcels-Query-Edges-Tabulation): 
failed to validate (width=1389) for regex (^[0-9]{12}$)

. . . .


Thanks

bobb





"This telephone has too many shortcomings to be seriously considered as a means 
of communication. The device is inherently of no value to us."  -- An internal 
Western Union memo, 1876




_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to