[Mapserver-users] Variable substitution 4.0.1

Johansen Per Henrik phj@norgit.no
Tue, 6 Jan 2004 17:05:11 +0100


Hi,

I am a bit puzzled with the variable substition features in Mapserver. It seems to work fine in some cases, like in the layer object, but when I try to use this functionality in the reference object, I get a parser error. getString(): Symbol definition error. Parsing error near (%)
I use it like this to use a dynamically created reference image:

REFERENCE
        IMAGE %refimage%
        ...
END

I have also tried to overwrite the IMAGE value by referencing it as map_reference_image=... in the cgi call, but with the same result. 
Am I right to suspect that the REFERENCE objectdoes not support variable substitution and cgi referencing?

Regards,

Per Henrik

--
Interconsult NORGIT AS
Per Henrik Johansen
Systemutvikler/Systems developer
Tel: + 47 69 394805   Mob: + 47 950 71822
icq: 4975767
Web: http://www.norgit.no


_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users