[mapserver-users] Help with expression

Chrishelring christianhelring at gmail.com
Tue Jan 28 01:42:49 PST 2014


Hi,

Thats right. :) Below is the full section from the map-file.

layer
  name 'lokalplaner-udarbejdelse'
  status off
  type polygon
  connectiontype WFS
  connection 'http://geoservice.plansystem.dk/wfs?'
 
  metadata
 "wfs_version" "1.0.0"
"wfs_request_method" "GET"
"wfs_typename" "lokalplan"
  end
 
  class
    expression ('[status]' = 'K' AND [komnr] = 175 AND [datoforsl] = 0 AND
[datovedt] = 0 AND [datoaflyst] = 0)
 
    style
      width 3
      outlinecolor 0 0 0
    end
    name 'Lokalplaner under udarbejdelse'
 
    label
      type TRUETYPE
      font arial
      color 0 0 0
      outlinecolor 255 255 255
      size 8
      position cc
      offset 5 0
      antialias true
    end
  end
  labelitem 'plannavn'
  group 'theme-lokalplaner_udarbejdelse'
 
  projection
 "init=EPSG:25832"
  end
end

As you can see, and maybe I should have mentioned that is that the layer is
a WFS. Could that be the issue?

Christian



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Help-with-expression-tp5100327p5100398.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list