Mapserver 5 beta 5 windows cgi expression in URL

Daniel Morissette dmorissette at MAPGEARS.COM
Wed Aug 29 04:25:08 PDT 2007


Lars-Göran Edholm wrote:
> Hi!
> In earlier versions of Mapserver the syntax :
> ....&map_fastvisa_class_expression=([FNR]=210176493)&.....
> worked fine.
> 
> It doesn't work in Mapserver so I tried with:
> 
> ....&map.layer[fastvisa].class[0].expression=([FNR]=210176493)&.....
> error:
> loadClass(): Unknown identifier. Parsing error near (():(line 1)
> 
> 
> ...&map.layer[fastvisa].class[0]=EXPRESSION+FNR+210176493...
> error:
> loadClass(): Unknown identifier. Parsing error near (EXPRESSION):(line 1)
> 
> 

Did you try?

...&map.layer[fastvisa].class[0]=EXPRESSION+([FNR]=210176493)...

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the MapServer-users mailing list