Tagged Questions
0
votes
1answer
96 views
OpenLayers.Filter.Logical not working
I have the following code:
var map = {};
var googleMercator = new OpenLayers.Projection("EPSG:900913");
var wgs84 = new OpenLayers.Projection("EPSG:4326");
var lyr_osm = {};
var texas ...
3
votes
1answer
314 views
Openlayers: OGC Filter problem
I have a problem with OGC filter.
My layer in OpenLayers has this filter:
filter: new OpenLayers.Filter.Comparison({
type: OpenLayers.Filter.Comparison.BETWEEN,
property: ...
3
votes
2answers
222 views
OpenLayers.Filter.Comparison.LIKE doesn't filter special characters!
it seems like OpenLayers.Filter.Comparison.LIKE doesn't filter special characters!
for example,
filter = new OpenLayers.Filter.Comparison({
type: OpenLayers.Filter.Comparison.LIKE,
...
3
votes
2answers
525 views
OpenLayers spatial filter polygon problem
I've got a dataset of English Counties (currently cut down for testing) that I'm serving from SQL 2008 using MapServer and OpenLayers. The features in my dataset are appearing in the right location on ...
0
votes
0answers
159 views
Openlayers WFS Features returned but not drawed
I've managed to get features return by a WFS filter layer but I can't add them on top a google map layer.
var map, Geographic, Mercator, wfsLayer;
OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;
...
1
vote
1answer
189 views
Openlayers - Vector Layer - Combining hide/show features using style property
I am trying to filter vector layer features according to their attributes. I have 4 check boxes: type_1, type_2, shape_1 and shape_2 Note that I am using Extjs for interface.
at beginning I could ...
1
vote
1answer
265 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
384 views
How to show vector features in OpenLayers after hiding it?
I did change some vector features style (through check-boxes) using style property :
var features = layer.features;
for( var i = 0; i < features.length; i++ ) {
//features[i].style = { ...
0
votes
0answers
91 views
Using an xml based filter with openlayers
I have been trying to figure out how to send a filter to geoserver using wfs.
The filter that I want to send is:
filterXML = '<Filter>'+
...
1
vote
1answer
313 views
Having difficult time to implement a Rule using OpenLayers.Filter.Function
I'm trying to set up a Rule using the Function Filter.
But it does not work: the lines on that layer are just black. And more importantly, the filtering function is never executed.
Can someone please ...
1
vote
2answers
491 views
Passing selected polygon to INTERSECTS filter in a WFS request
In the code below,
<ogc:Filter>
<ogc:Intersects>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<ogc:Function name="querySingle">
...
0
votes
1answer
229 views
GeoServer: Cross Layer Filtering vs Layer Groups
To pull features using WFS from several layers in one request, I have two options: One, create a layer group, and then get features from the layer group, as opposed to individual layers. Two, use ...
1
vote
1answer
450 views
Filtering a loaded kml file in OpenLayers
I'm trying to create an interactive search engine (for finding event tickets) of which one of its features is a visual map that shows related venues using OpenLayers. I have a plethora of venues ...
2
votes
0answers
287 views
combine two OCG filters in Openlayers : ERROR: invalid input syntax for integer
i need to combine two OCG filters. each one works fine separably but if i combine them using Filter.Logical.OR, the first one works only.
var c_filter = new OpenLayers.Filter.Logical({
type: ...
1
vote
3answers
2k views
OpenLayers WFS protocol: work with filters if the protocol is defined out of layer constructor
follow question:wfs-load-feature-check
the scenario is: i am trying to load a WFS layer, since it takes a while to load all features, I want to give user a notice while waiting for response. the ...
3
votes
2answers
2k views
OpenLayers: Combine multiple OGC filters
I have two OGC filters client side:
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo matchCase="true">
...
4
votes
3answers
2k views
How to properly utilize DWITHIN Spatial Filter in OpenLayers
Given the following code:
var points = [];
points.push(new OpenLayers.Geometry.Point(-110, 38));
points.push(new OpenLayers.Geometry.Point(-108, 40));
var lineString = ...
