1
vote
1answer
118 views

MapServer: Default spatial filter

I have MapServer setup to display data (both WMS and WFS), however I'm having a problem adding a default filter. There's is an area on the map that users should not be able to retrieve features from. ...
0
votes
1answer
133 views

[mapserver]: layer filtering with layerObj.setFilter()

I'm trying to filter a layer (using mapserver) backed by a Shapefile using layerObj.setFilter() but this doesn't seem to have any effect on the returned tile(s). Sample code: layerObj = ...
1
vote
0answers
283 views

How to use SLD to filter a WMS layer but without setting any styles?

I'm trying to filter (using OpenLayers) a WMS layer, served by MapServer. I've got this working by building the appropriate OpenLayers.Filter rule(s) with an empty Polygon symbolizer (so no specific ...
0
votes
0answers
161 views

OpenLayers Mapserver spatial filter INTERSECTS format problems

Trying to get hand-drawn polygon delimiter for spatial query via OpenLayers to mapserver (then postgis). I can get the WKT of the drawn polygon and can substitute the dynamic values, but am having ...
0
votes
1answer
68 views

Mapserver 6.2 concatenate attributes in FILTER

Back in version 5.0 I had: FILTER ("<tcode:expression/>" eq '[STATE][COUNTY]') final version = FILTER ("11000" eq '[STATE][COUNTY]') so I would filter out the features with state = 11 and ...
0
votes
1answer
93 views

Intersects Filter on WFS 1.0.0

I use WFS=1.0.0 on the Mapserver v5.6.6 and v6.0.1 with MS4W package. I want to get the Intersects of Spatial Operator. When I make getcapabilities request I see just "Intersect" like: ...
1
vote
1answer
593 views

OpenLayers / Mapserver WFS Filter: <gml:null>missing</gml:null>

I'm trying to filter features in OpenLayers when moving a JQueryUI slider. It works like this: EDIT: full files available here on GitHub. JQueryUI slider When moving the slider cursor, minSelection ...
1
vote
2answers
326 views

How can I tell mapserver to ignore a filter that is set in a mapfile?

How can I tell mapserver to ignore a filter that is set in a mapfile? I am displaying a wms layer with point features using mapserver. In one of the layers in my mapfile I have defined a filter ...