1
vote
0answers
24 views
WFS - From PostGIS to Shapefile with GeoServer
From Server side, I'm using GeoServer and from client side I'm using OpenLayer to allow the users see the layers(PostGIS) on the map.
The new requirement is that the users may download layers in ...
1
vote
0answers
19 views
WFS filter query does not return points (selected from polygon)
I'm a newbie to OpenLayers (and JavaScript for that matter) and hoping you can offer some advice. I have been referring to examples http://openlayers.org/dev/examples/wfs-filter.html and ...
0
votes
0answers
73 views
Unable to display WFS using Geoserver and OpenLayers [closed]
I have trawled through this site and found a lot of questions similar to my issue and I have checked that I am complying with the answers. However, I still cannot get my WFS layer to display so I ...
1
vote
1answer
145 views
Geoserver, OpenLayers so slow for WFS! Why?
I am displaying 100 000 points in a layer via WFS protocol. I need about 5 minutes. However, 100 000 does not seems so much...
My points are stored in PostGIS, in a column defined this way : ...
1
vote
1answer
44 views
Probleme with WFS protocol in OpenLayers
Sorry for disturbing. I know my problem look common, but I really don't know what to make.
Here is my code for getting a WMS layer in OpenLayers from Geoserver.
var wfs2 = new ...
2
votes
2answers
78 views
+50
Why do I need to restart tomcat when using WFS from GeoServer across different apps and workspaces?
I've built a couple of apps that consume WFS 1.1.0 from GeoServer 2.2.2. I organise my layers in different workspaces, and they have a range of sources including shapefile, oracle, postgres etc.
...
0
votes
1answer
24 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
20 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
34 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
21 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
vote
1answer
83 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
112 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
80 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
41 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
35 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
71 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
90 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
90 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
2answers
41 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
26 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
68 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
155 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
117 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
41 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
101 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
115 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
144 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
315 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
176 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
71 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
357 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
57 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
139 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
147 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
91 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
138 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
223 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
329 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
192 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
127 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
159 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
112 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
120 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
75 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
499 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
388 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
387 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
365 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
364 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
569 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 ...



