0
votes
1answer
17 views

Multiple FeatureType in WFS Protocol

I would like to pass multiple featureTypes to WFS protocol in order to accomplish a search feature in my app. the idea worked just fine with one featureType, but now I need to add another one to ...
0
votes
0answers
17 views

Multilinestring WFS version problem

I want to show multilinestring with openlayers . But i can't achive it. I think because of WFS version 1.0.0 can't support multi geometry type. my code is below. how can we solve it? var aa = new ...
0
votes
1answer
18 views

How to define filter in WFS layer in order i can show new filter reult layer for new filter condition (i.e.redraw the layer according to filter)

I am using openlayer 2.12 for this wfs filter purpose. I wanted to redraw filter layer as conditions in filter changes dynamic. Following is my code in for wfs: var ...
1
vote
1answer
17 views

How do you update the maxFeatures setting of a WFS layer in OpenLayers

I have a WFS layer which a protocol in the definition. The protocol states that the maxFeatures returned should be 1 to avoid downloading a large amount of data. I can update the value for ...
-1
votes
0answers
47 views

how can i get features from Wfs

I want to take my wfs layer features value with some javascript code. I find some code for it. For example when I write "alert(map.layers[3].name)" it works perfectly but when I write ...
1
vote
0answers
58 views

Select features of layer which is not on top in OpenLayers

I have posted this question before on the general StackOverflow forum: http://stackoverflow.com/questions/16278569/select-features-of-layer-which-is-not-on-top In short my problem is that I have a ...
1
vote
0answers
59 views

How to add legend in WFS openlayers

How i can publish WFS openlayer with legend, have tried different examples such as http://api.geoext.org/1.0/examples/vector-legend.js. But when i used tried this fire-bug shows an error=> ...
2
votes
1answer
48 views

Styling a WFS layer, how to control title in legend?

I have a problem with styling a WFS in OpenLayers. I tried different ways (from the examples) to style the WFS, but I could only get the default style in orange. Then I found one way, which worked for ...
0
votes
0answers
35 views

How to obtain the center of Vector layer created using WFS query?

I created a vector GML layer using a WFS query with a filter. The layer renders fine . However, the layer does not appear to have any features associated with it (layer.features.length is 0 ) I need ...
0
votes
0answers
27 views

Rotation on label in PointSymbolizer

I have a point symbolizer that should display a symbol image and a label text. Rotation on the symbol works, but I have not found out how to rotate the label text. This is what I have: ...
0
votes
1answer
53 views

OpenLayers WMS - TypeError: this.resolutions is undefined

I'm trying to setup a map with WMS and WFS Layers by using Geoserver. However, when I'm combining WFS and WMS (with some Google basemaps) together in one map I got following error in Firebug: ...
0
votes
1answer
70 views

Load a feature from geoserver using WFS protocol on localhost

I am a student enginner in GIS , I want to load my features from geoserver using WFS protocol. I'm using this code but it's not appearing in my browser OpenLayers.ProxyHost = ...
0
votes
2answers
65 views

WFS reprojection problems

In geoserver i have a layer in EPSG:4326. In OpenLayers i add it on map as WFS: markerLayer = new OpenLayers.Layer.Vector('Markers',{ strategies: [new OpenLayers.Strategy.BBOX()], ...
0
votes
1answer
32 views

Draw line as a text in wfs

I have a WFS for addresses where geometry is a line with 2 points. Is it possible to have an SLD that draws a text (i.e. house number) along the line using the line as vector defining the text ...
1
vote
0answers
22 views

openlayers Arcgis WFS mousehover

i have a problem using ArcGIS wfs layer in openlayers. I would like to add the layer to the map as vector layer and then using a mousehover to highlight the features. However i cannot bring it to ...
1
vote
0answers
84 views

Multipolygon WFS Layer do not show

I am new in GIS and I am exploring OpenGeo for a weeks. ->What I am trying to do? Show in a map (using Goolgle Layer), 1 Layer representing administrative areas of my country (witch is Portugal). ...
1
vote
0answers
49 views

How can I parse the SLD file that sits in Geoserver so that I can apply the styling to WFS layer?

I have a layer that can be configured to render as WFS or WMS. I want to apply the same sld styling that I have defined in Geoserver to make it consistent. But when I try to get the SLD text from ...
0
votes
1answer
90 views

how to configure WFS layer with openlayer in PHP wampserver with windows?

I have a problem to display WFS layer outside the Geoserver. My code working fine in geoserver, but when I tried my code in wampserver(PHP), only WMS layer is being to displayed. I gone through many ...
0
votes
1answer
98 views

WFS in Openlayers

I am new in Openlayers and web services in general, but until now I have managed to create a WMS (published by ArcGis to a server provided by uni) and connect it with Openlayers. Projection etc works ...
0
votes
0answers
36 views

Slow Wfs Loading

i use postgis 2.0, geoserver and openlayer for my gis development. i ceate simple wfs which have 100.000 polygon . i try to use it with openlayers. but this wfs layer load about two minutes. because ...
0
votes
1answer
95 views

Proxy issues using WFS from Cadcorp GeognoSIS

I have web and WMS/WFS servers hosted on the same machine, although on different ports. I'm currently using OpenLayers to consume the WMS feeds which works well, but now I need to allow the user to ...
1
vote
2answers
97 views

OpenLayers and TInyOWS WFS won't load - 'InvalidParameterValue'

I've got a tinyows on localhost that works fine (both through browser GetFeature and QGIS). But my OpenLayers code fails. I've checked here: Display a WFS layer with OpenLayers and here : How to add a ...
1
vote
0answers
129 views

working with multiple wfs-t layers

I am using multiple wfs layers and using editing tools in that like edit,draw,save etc. The code is shown here...... var district = new OpenLayers.Layer.Vector("district(wfs)", { ...
2
votes
3answers
260 views

GetFeature request giving variable results

I have a map with a tilecache baselayer and a wms property layer. By clicking on a property a GetFeature request is done using OpenLayers.Protocol.WFS.fromWMSLayer for the protocol. A test version ...
1
vote
1answer
130 views

OpenLayers Zoom To Feature Help

I have been struggling with something for a while that I figured would be simple. I have a WMS layer with many (millions) polygon features. This is a PostGIS layer (WMS). Each polygon has an ID in an ...
1
vote
0answers
62 views

Programmatically change geometry column in OpenLayers WFS layer

is there a way to programmatically change the geometry column on which a WFS layer is based and displayed? WFS (from GeoServer) is correctly returning me two geometry columns, I want to change "on ...
0
votes
1answer
277 views

How to add WFS layer from geoserver to openlayers

Ok, I know that this question has been asked here many times and I apologize for asking it again but I've looked all answers and I still can't fix my code to work. I would really appreciate if someone ...
2
votes
1answer
50 views

How to stop features to redraw unwillingly in OpenLayers

I have a problem where when editing features from a wfs vector layer. After some changes are made to the geometry, the feature redraws itself and the changes are lost. Usually the problem occurs more ...
0
votes
2answers
126 views

Applicable OpenLayers settings for WFS layer

I am trying to display a WFS layer on an OpenLayers map. Here are the appropriate portions of GETCAPABILITIES response. <ows:Operation name="GetFeature"> <ows:DCP> <ows:HTTP> ...
0
votes
1answer
134 views

WFS Layer in OpenLayers queries server for data but doesn't display the data

I have added a WFS layer to a map and can see (using Fiddler) a request being made to the server for the layer data. The server uses GML as the data format and the data being returned is valid. ...
1
vote
1answer
87 views

How can I load a single WFS vector feature where the user clicks the map on OpenLayers?

I am creating a web app that allows users to easily edit feature attributes as well as geometry. I have editing working by loading a WFS layer, but it slows the app to a crawl when there's more than a ...
1
vote
1answer
128 views

Problem overlaying WFS on top of Bing maps using OpenLayers

I have a simple set of 99 polygons loaded into GeoServer from PostGIS. They were loaded from GeoJSON using ogr2ogr. (I'm using OpenGeo Suite 3.1 if it matters.) When I go to the layer preview and ...
2
votes
0answers
189 views

how to search a vector/wfs layer

I'm using Geoserver/PostGIS/openLayers I've succesfully set a vector layer. And now I'm trying to create a search functionality. But something goes wrong. First I set up the layer and add some basic ...
3
votes
1answer
303 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: ...
0
votes
2answers
159 views

How can I use CQL in WFS layers in openlayers

I've tried a lot of times to use the OpenLayers CQL example but nothing changes. Is there any way to use CQL or filter.
2
votes
1answer
113 views

Bug With Adding Multiple Controls for Selecting Features in OpenLayers

I am trying to add functionality to my WFS layer which will allow me to do: Hover over a point and display a tooltip with information about the feature Click on the point to zoom in on it I have ...
1
vote
0answers
146 views

Displaying WFS Features Based on Zoom Level

I have a WFS feature layer with ~25,000 features and have been experiencing significant performance issues with my OpenLayers map. My first approach to solving this has been to pre-compute feature ...
0
votes
0answers
104 views

Openlayers cluster strategy: zoom to layer (WFS) extent

For some reason, when I enable the cluster strategy the zoom to layer behavior is zooming to the first cluster in the layers features array, rather than the whole layer data extent. I tried (with no ...
0
votes
1answer
93 views

How to display partially a WFS layer? (just the content within a box)

I need to know how to display a WFS layers, but not the whole content, only the part within a rectangle. I have this code: var SMap = new OpenLayers.Layer.Vector("Status map", { strategies: [new ...
4
votes
1answer
69 views

How to display some Ushahidi's layers (WFS) in my Web portal?

I'm working on a VGI Web portal. I'm using OpenLayers and the application is running throw the TomCat server. I would like to know if it's possible to display layers from Ushahidi or others VGI tools ...
2
votes
2answers
411 views

Is it possible to configure WFS layer to use GET requests?

Accordingly specification manipulation with WFS services can be perform using POST or GET (for example, ...
1
vote
2answers
355 views

WFS layer not visible in openlayers

I'm trying to add a WFS layer in openlayers and it's not working. Can anyone point me in the right direction. The data is stored in postgis and I've added it to geoserver. I am aware that I'm using ...
2
votes
1answer
334 views

Openlayers - Get extent of WFS vector layer and zoom to that extent when map

I would like to do the following: 1) While loading an OpenLayers map object get the lat/long Bounding Box of a WFS vector layer served from GeoServer. 2) Use the extent from the WFS vector layer to ...
3
votes
1answer
296 views

How do I set attributes when creating vectors using OpenLayers and WFS-T?

I have published a WFS-T layer (using geoserver) and am able to add, edit and delete features using OpenLayers and it's Vector layer. But, I don't know how can I populate additional attributes using ...
1
vote
0answers
350 views

Add wfs layer to openlayers map

(UPDATE QUESTION) Hi guys. I have a problem with WFS request, mine is follow: var wfs = new OpenLayers.Layer.Vector("WFS",{ strategies: [new OpenLayers.Strategy.Fixed()], ...
3
votes
2answers
513 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
154 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; ...
2
votes
1answer
225 views

LoadingPanel - Waiting for Vector & WFS loading

I have vector layer with WFS protocol. and because I have a huge amount of data, there is a while before features loaded on the map. So i need to tell user to wait a moment until they load by ...
2
votes
2answers
409 views

How to update a Vector layer with WFS protocol, after updating the filter?

I am using a Vector Layer with WFS protocol to show only a subset of the data. The filter which defines the subset, changes dynamically from the code. How do I refresh the layer, to show only the data ...
1
vote
2answers
195 views

How to edit using a WFS service, without showing it on the map in OpenLayers?

I have a service with about thousand points. I wish to enable the user to edit the attributes of the features. Since there are so many points, I don't want to display them as a vector layer (using ...

1 2 3