Web Feature Service (WFS) specification. This is an open specification for serving geographic features over the Web.

learn more… | top users | synonyms

4
votes
2answers
2k views

JavaScript library to read data from a WFS server?

Is there a JavaScript library available to read data from a WFS server?
1
vote
2answers
410 views

OpenLayers request a WFS feature

I am trying to request features of a wfs layer and then zoom to them. The wfs layer is defined as follows: wfsLayer = new OpenLayers.Layer.Vector("University", { strategies : [new ...
0
votes
0answers
75 views

Accessing GeoServer 2.8.0 on Debian 8 using Tomcat 8?

Not been able to access my Geoserver with Javascript. The Leaflet code running natively works in other javascript/HTML pages which connect on-line GIS servers. Added ENABLE_JSONP true to web.xml ...
0
votes
0answers
53 views

How to combine owslib->WebFeatureService with urllib2->ProxyHandler in Python?

In Python 2.7, I try to do a WFS request from behind an authenticated proxy server (proxy requiring username/password). I managed to communicate to a webserver via the authenticated proxy using a ...
1
vote
1answer
65 views

Qgis2Web wfs data doesn't show

Hi i've eneabled the plugin qgis2web. after getting one WFS-layer in de QGIS I started the gis2web plugin. Because it is a wfs-layer and i want leaflet to use that wfs i don't check the Encode to JSON ...
0
votes
0answers
35 views

Strange behaviour / weird results using ogrinfo + WFS + spat

I want to use ogrinfo to get features from a WFS within a bounding box. I know I can use the "-spat minx miny maxx maxy" parameter for this, but it does not work. Here's what works, what not, and what ...
1
vote
0answers
41 views

POST (OL3-->Geoserver 2.8.1-->PostGIS 2.2)

I have a problem with post. Here is code OL3. (multi platform hybrid app - cordova) var point = new ol.geom.Point([18.25, 49.83]); var feature = new ol.Feature({ geometry: point }); ...
0
votes
1answer
89 views

OpenLayers 3 display wfs EPSG:4326 on EPSG:3857 map

Is it possible in OpenLayers 3 to project an EPSG:4326 wfs vector layer on to say a MapQuest EPSG:3857 map? I've tried the following code (modifying this example Open Layers 3 wfs example, but the ...
0
votes
0answers
35 views

Android call WFS getFeature Service returns empty

I am trying t call a WFS getFeature service to "implement" onClick get feature attribute popup (info window) but i am getting empty json . here is WFS link that i am calling ...
0
votes
3answers
2k views

WFS save problem, 'read-only' exception

I am trying to save changes via WFS-T using GeoServer: var editLayer = new OpenLayers.Layer.Vector("Edit Layer", { visibility: false, strategies: [new OpenLayers.Strategy.BBOX(), ...
0
votes
1answer
275 views

How do I use a filter on an uncached WFS layer in QGIS?

I am trying to create a filter to show only specific features based on an attribute query within a WFS using QGIS. This works fine when using the standard WFS loader and creating a filter (based on ...
0
votes
0answers
17 views

How to use getElementsByTagNameNS (with IE support) for a OGC WFS xml response

I'am using getElementsByTagNameNS() to get values from within a tag in an XML response from a WFS service. I have simplified the process in the HTML/script below. The HTML/script works fine with ...
0
votes
0answers
19 views

How to Query the WFS layer with points(coordinates from mouse click) to get the xml data in QGIS using python

I am using the following syntax to load the WFS layer: uri = "link to download the WFS layer" layer = QgsVectorLayer(uri, "WFS_Layer", "WFS") QgsMapLayerRegistry.instance().addMapLayer(layer) But i ...
1
vote
1answer
55 views

GeoServer polygon intersecting features of WFS [closed]

How to get all the features intersecting a polygon using wfs.I am able to get all the features from WFS geoserver but dont know how to pass a polygon to get only specific features which are ...
1
vote
0answers
42 views

QGIS 2.12 Server returns empty WFS data

On windows 7, QGIS 2.12 Server returns no features on GetFeature WFS request while DescribeFeatureType request and WMS requests are OK. Does anybody have similar problems with QGIS server 2.12 ?
9
votes
2answers
2k views

Only return the NumberOfFeatures in a WFS query

I'm running a GetFeature WFS query in Geoserver (looking for features within a polygon) but all I actually want is the total number of features. Is there a way of just returning this info (in the hope ...
1
vote
0answers
169 views

Attributive WFS styling?

I have a local Geoserver connected to a PostGIS database and a table with an attribute field called "style" which is of data type integer. On the OpenLayers preview of the Geoserver the data is shown ...
2
votes
1answer
59 views

GeoServer WMS correct WFS wrong coordinates for line features?

I'm calling my geoserver with WMS and later WFS to retrieve vector data (both times EPSG 4342. All features are correctly rendered in WMS and QGIS, so I'm sure the original data is fine. The original ...
3
votes
1answer
59 views

Problems in Adding AIMS WFS Layers in Openlayers 3.10

I'm working with AIMS(Autodesk Infrasture Map Studio) and openlayers 3, I have a WFS layers in AIMS Server that i want to display using OL3. it doesn't show any errors, the map appears but the layers ...
0
votes
1answer
77 views

How to add a bounding box filter to this leaflet WFS request?

I use this function to add an interactive layer to my leaflet application. It works great in most browsers, but fails due to time-out error on certain networks and browsers. The solution I think is to ...
0
votes
0answers
29 views

WFS to PostGIS with Geokettle

I am trying to use Geokettle to write records to PostGIS. Geokettle has has a WFS input step. I cannot get it to work, I cannot find much documentation about it and I wonder if anyone here has used ...
1
vote
1answer
75 views

QGIS server won't return JSON(P)

We set up a QGIS server and are using QGIS to connect to a WFS layer. Everything is working fine within the desktop application. Then we use qgis2leaf to generate a html/js web map. That all works ...
0
votes
0answers
142 views
0
votes
1answer
56 views

Download metadata .xml file from geonode / geoserver

I am new to both geonode and geoserver. I have a problem with downloading xml file from layer that I uploaded. For example, I have a.shp, a.shx, a.prj, a.dbf, and a.xml. I uploaded them to geonode. I ...
14
votes
1answer
14k views

What are the differences between WMS, WFS, WCS, WPS?

By looking at I do not really understand the differences between WMS, WFS, WCS, and WPS. Can somebody please explain the differences between them?
0
votes
2answers
77 views

Unable to view WFS as Vector Layer (OpenLayers 3)

I am trying to add a WFS to map using OpenLayers 3. There is no error message and no layer displayed on map. GeoJSON object is received in response. Styling object is also getting initialized. Need ...
1
vote
1answer
158 views

WFS height/extrusion in OL3 cesium

I am making a web application with OL3 and have integrated a 3d viewer with cesium. I have two data sets that are being loaded with GeoJSON as vector WFS. Both data sets have height information ...
2
votes
0answers
44 views

Using QGIS' “network protocol” to import data from OPeNDAP

After looking at the OPeNDAP documentation I assumed I could import data into QGIS by downloading the .ascii file OPeNDAP generates. However the downloaded OPeNDAP .ascii doesn't seem to be compatible ...
2
votes
0answers
144 views

QGIS Server WFS/WMS user and pass authentication

I configured a qgis project as follows: As you can see, QGIS Server is now serving two layers using WFS or WMS service. These two layers don't have the user/pass parameters saved in their layer ...
0
votes
0answers
88 views

Querying WMS feature using leaflet

I am using lealflet 0.7, I need to query the features based on attribute and spatially. Is there any plugin available to query the features directly from geoserver. I have already tried this to load ...
0
votes
1answer
65 views

WFS Leaflet script not working

This opens just fine in the browser and the server seems to respond positively to the WFS request.. but nothing loads. Can someone help me out here? <html> ...
2
votes
1answer
101 views

Styling multiple WFS with OpenLayers 3

Been stuck on this one a while. Let me know if you can help. In the application I am building, I am importing two GeoServer WFS vector layers and trying to set a different style to each of them. Here ...
1
vote
1answer
32 views

Iterate over polygons to convert WFS features

So my first question on stackexchance. With ogr2ogr its possible to convert WFS features to SQlite with the following: ogr2ogr -f "SQLite" OUTPUT.sqlite WFS:"INPUT_WFS_url" It works. But there ...
2
votes
1answer
3k views

Activating and deactivating of button control not working properly

I have got two buttons, one for editing purposes and one just to see all the information related to the polygon I selected. Also I added these two buttons on my panel using OpenLayers control. I am ...
1
vote
1answer
40 views

WFS polygon query of line string

I want to query the polygon geometry and get features which are intersecting borders and within the polygon , but i am getting the features within BBOX of polygon . my query is like this. ...
0
votes
2answers
5k views

OpenLayers not refresh a layer

i have a problem with refreshing layers. I have WMS and WFS layers from one source. I edit WFS and after do wms_layer.redraw(true) but layer redraw only after zoom in or zoom out. Same with WFS. i ...
1
vote
1answer
51 views

DWITHIN ECQL query of wfs is not working properly

I dont know where i am making mistake. And my url is returning the all values of feature layer queryRequest: function (layer) { if(layer!= null || layer!= undefined){ ...
0
votes
0answers
36 views

Receiving -infinity in geoserver wfs GetFeature result

I'm currently using: - Geoserver 2.7.2 - PostgreSQL 9.4.4 - PostGIS 2.1.9 When I submit the following wfs GetFeature request: ...
0
votes
1answer
32 views

Geoserver sends wrong order of coordinates from a WFS-T

I have an OL app that is using WFS-T to perform some changes on the PostGIS DB served through Geoserver. I am using Geoserver 2.8.0 (but have tried also Geoserver 2.7.2 with the same result) and ...
1
vote
1answer
58 views

ZoomIN to Feature with ol3

I have a requirement, upon user action I need to zoomin to the polygon/feature on layer. To achieve this Getting the feature object based on unique Id by using wfs?request=GetFeature Getting ...
1
vote
1answer
68 views

How can I get the popup value to change when I click on another feature, without clicking on a map area where there are no features first?

I'm working with openLayers 3, which is new to me, and I've been able to add a popup to my map that comes up when you click on a feature in a vector layer. The trouble is the popup content does not ...
0
votes
1answer
58 views

WFS from geosever very slow to load in openLayers3

I originally posted this question about trying to load a geoJSON with openLayers3: geojson very slow to load in openLayers3. Based on a suggestion given in the post I'm now loading the layer in as a ...
0
votes
1answer
79 views

Can't enable Jsonp in Geoserver 2.7.0 and then publishing my WFS request in Leaflet

I'm working on localhost:8080 and want to get WFS data in a Leaflet map. So, I've read in some posts here that I first I have to enable Jsonp in my web.xml file in Geoserver. So I put ...
0
votes
1answer
56 views
0
votes
1answer
22 views

Placing a WMS layer above a WFS layer makes WFS layer not selectable

I have two different layers which I call from Geoserver. The first one is a WMS layer with points and the second one is WFS layer with lines. I need to display the points above the lines and I also ...
3
votes
3answers
8k views

Getting WFS data from Geoserver into leaflet

I'm trying to use a ajax call to load WFS data from geoserver into a GeoJson layer in leaflet. When I do the following message in the console: XMLHttpRequest cannot load ...
1
vote
1answer
69 views

WFS won't load properly in QGIS

I am trying to access a WFS from geoserver in QGIS, and when I load it, it comes in very strangely: I can access it directly from the postgres database and it comes in fine. I'm wondering if there ...
0
votes
2answers
43 views

Getting around WFS Feature Count

Im trying to access a WFS where the feature count is limited at each extent (ie layer with 1000 feature with a limit of 100 for extent). Whether or not its to maintain performance or purely just being ...
4
votes
0answers
885 views

OpenLayers: WFS request to GeoServer to retrieve “name” & “featureNS”

Using WFSGetCapabilities I sent a GetCapabilities request to GeoServer. From the result of WFSGetCapabilities().read(), I can loop each featureType and retrieve some basic info(e.g., name, title, ...
0
votes
0answers
41 views

WFS query against SQL Server - Returned results not restricted by query

I have an SQL Server 2012 table, which contains a DbGeometry column with a spatial index. Then a Geoserver 2.7 using it. The problem is that when I do a WFS query it doesn't restrict the results to ...