Mapserver 5 beta 5 windows cgi expression in URL

Lars-Göran Edholm lged_morris at HOTMAIL.COM
Wed Aug 29 01:03:08 PDT 2007


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)


Mapfile:
.
.
layer
metadata
  WMS_TITLE "Sökt fastighetsyta"
  end
   group "Grunddata"
    classitem "FNR"
  data "admgr/regenhet_region"
     name "fastvisa"
    status on
    type line
    # 1 class Fastighetsindelning
    class
      name "Fastighetsyta"
   SYMBOL 'circle'
  COLOR 255 0 0
  SIZE 2
    end
  end
.
.
.

Lars-Göran Edholm

_________________________________________________________________
Student och ressugen – här finns bästa priserna 
http://www.ticket.se/sv/student/studentflyg.html



More information about the MapServer-users mailing list