Hmmm... If you make a request against the WFS server outside MapServer what 
does the result look like? Ideally you'd have the WFS server do the filtering 
and avoid sending extra features over the wire.

Steve
________________________________________
From: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] on behalf of Chrishelring 
[christianhelr...@gmail.com]
Sent: Tuesday, January 28, 2014 3:42 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Help with expression

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.
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

Reply via email to