Questions tagged [wfs]
Web Feature Service (WFS) is an Open Geospatial Consortium (OGC) specification for accessing geographic features over the internet.
1,416
questions
2
votes
1
answer
35
views
QGIS simplifying WFS features
I am trying to load features of WFS using pyQGIS.
The preview through GeoServer shows how it should look like
Now, using the following code :
uri = QgsDataSourceUri()
uri.setParam('service', 'wfs')
...
2
votes
0
answers
30
views
Is there a way to hide the WFS loading features window by default in QGIS?
When adding a WFS layer to QGIS a window pops up showing the progress loading features.
You can hide the window but I believe you have to do this each time you open a project for every WFS layer on ...
2
votes
0
answers
89
views
How to skip XML parsing errors when accessing WFS endpoint using ogr2ogr?
I am downloading data from a WFS endpoint using ogr2ogr. The WFS endpoint: https://wxs-gpu.mongeoportail.ign.fr/externe/39wtxmgtn23okfbbs1al2lz3/wfs.
The name of the layer I care about: wfs_du:...
2
votes
0
answers
97
views
Adding WFS layer through PyQGIS results in slow loading and freeze
I'm working on a QGIS plugin that adds WFS vectors from this URI: https://wxs.ign.fr/agriculture/geoportail/wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetCapabilities
I'm using the code below :
def ...
2
votes
0
answers
62
views
Downloading multiple data from multiple WFS addresses
I have a problem with downloading data from the WFS. I have about a thousand WFS addresses that I need to download in a short period of time and would like to speed this up.
Do you know of any ways to ...
2
votes
0
answers
318
views
How to download all parcel boundaries of North Rhine-Westphalia?
Context
I'd like to download North Rhine-Westphalia's cadastre parcels as GeoJSON. Their website provides a WFS URL:
https://www.wfs.nrw.de/geobasis/wfs_nw_inspire-flurstuecke_alkis?REQUEST=...
2
votes
0
answers
735
views
How to specify the output format for a WFS service using GeoServer
I'm using GeoServer 2.20.3 and I've got a published layer for which I want to set two output formats.
I've searched up and down in layer edits, in the WFS services tab, in the user's manual... and I'm ...
2
votes
0
answers
162
views
How to use WFS to update the value of a field to an empty string '', not Null?
I tried to set a field value of a feature to an empty string '' via WFS, but I didn't find a way to make it happen. I use the WFS protocol to send to Geoserver.
I tried the following three methods:
1.
...
2
votes
0
answers
340
views
Filtering and Styling WFS GeoJSON
My problem is two-fold. I am trying to load a WFS as a geojson on my map. The WFS contains universities and their information. When the map loads, all universities should be displayed, and on ...
2
votes
0
answers
325
views
How to load a WFS correctly on QGIS Server?
I am trying to load a URL for a WFS on my QGIS Server but keep on getting the following error:
<ServerException>Project file error. For OWS services: please provide a SERVICE and a MAP parameter ...
2
votes
0
answers
137
views
QGIS WFS doesn't load geometry
For some time I have had problems loading WFS Layers into my QGIS regardless of the QGIS version.
Everytime I add a Layer the metadata is still included in the attribute table but neither the Layer ...
2
votes
0
answers
167
views
Importing pg_featureserv services into ArcGIS Pro as WFS layer
I'm currently working with pg_featureserv. I have successfully added the layer to QGIS using this tutorial. I have not, however, been able to add the service to ArcGIS as a WFS layer.
Has anyone had ...
2
votes
1
answer
2k
views
Sending GetFeature request to GeoServer WFS using POST starting from a JSON like data object
Looking at this older question, I'd like to know if it is possible to make a POST request to retrieve features from a GeoServer WFS starting from a JSON data object.
I have this data object which I'd ...
2
votes
0
answers
210
views
Cannot load WFS with BBOX Parameters via Python script
I tried to load a WFS with BBox-Parameters using a python script. The script is working, but loads the whole layer, instead of just the part inside the set BBox.
The URL itself works on both the ...
2
votes
0
answers
1k
views
Using WFS-Transaction to update attribute's value of certain feature?
I want to edit the attribute's value of certain feature. I have managed to display the feature data from GeoServer layer to browser using OpenLayers. I also have managed to display some feature's ...
2
votes
0
answers
93
views
Is there a way to insert the parameter in a WFS-StoredQuery so that it does not have to be assigned
I have a StoredQuery with 4 parameters. If I assign all 4 parameters everything works as expected. This is my StoredQuery
<?xml version="1.0" encoding="UTF-8"?><wfs:StoredQueryDescription ...
2
votes
0
answers
569
views
Configuring value for numberReturned for WFS
The query
GEOSERVER/wfs?request=GetFeature&version=2.0.0&StoredQuery_ID=all&outputFormat=JSON
gives me the following answer
type "FeatureCollection"
features
0 {…}
1 {…}
2 ...
2
votes
0
answers
101
views
Is there a way to clean up the GeoServer? I have got two WFS Stored Queries with the same ID name that I can not delete
There is something strange on my GeoServer.
I have got two Stored Queries with the same id names myikkdll. I think I created it while I tested. The ListStoredQueries Request shows me this.
<?...
2
votes
0
answers
68
views
Creating layer with WFS, but no features are added to the layer
I am creating a plugin that is gathering data from a WFS client. The WFS client was recently updated, and I had to update the URL and filter encoding that I was using. I updated the code, and it is ...
2
votes
0
answers
790
views
QGIS WFS download data limit to window extend not functioning properly
The checkbox under WFS Server Connections setup that should control the amount of data that is going to be downloaded from WFS doesn't react as it should.
Each time I tried to visualize the data ...
2
votes
0
answers
262
views
WFS from ArcGIS Online download failed or partially failed
I've made a WFS service from a Feature Layer in ArcGIS Online. When connecting to the service in QGIS and adding the data to a project it works as expected. But after panning / inspecting the data I'm ...
2
votes
0
answers
53
views
QGIS. Polygon vertices automatic bind to WFS point features
I have a layer with polygons in QGIS.
I have a layer in the same project with points from a WFS.
Is it possible to bind vertices from a polygon to points from the WFS layer. So if the admin of the ...
2
votes
0
answers
571
views
Automating WFS to Shapefile Export using PyQGIS?
I'm trying to write a simple script to automate the download of several hundred WFS services and create shapefiles. All of these services have the same URL, e.g.: https://fbinter.stadt-berlin.de/fb/...
2
votes
1
answer
3k
views
Google Earth Engine - WFS, WMS, and KML feeds
I'm new to Google Earth Engine, but I am trying to determine if there is a way to produce WFS, WMS, or KML feeds with it. For KML it can't just be the file, but a web service that has a URL.
The end ...
2
votes
0
answers
146
views
Visualizing custom geo data on WFS featurecollection
I have some data that I want to visualize over on an interactive map. Basically I want to highlight certain buildings based on the data that I have. My data consists of coordinates and I need to match ...
2
votes
0
answers
355
views
Get error when QgsVectorLayer is not valid
In QGIS 2.18.16, with a custom plugin, I tried this code to create a new vector layer for WFS:
v_layer = QgsVectorLayer(uri.uri(), "my WFS layer", "WFS", False)
if not v_layer.isValid():
print ...
2
votes
0
answers
421
views
Specifying an SRS in a WFS input for a WPS operation in GeoServer
I am currently trying to perform a custom WPS operation on a set of filtered vectors in GeoServer. My plan is to specify the operation's input using a WFS query, which provides the flexibility I need ...
2
votes
2
answers
576
views
How to select featureMember by gml:id in WFS 2.0
In WFS 1.1.0 I could filter like this:
<ogc:Filter>
<ogc:GmlObjectId gml:id="5"/>
</ogc:Filter>
Is there an equivalent in WFS 2.0?
I've tried:
<fes:Filter>
<fes:...
2
votes
0
answers
116
views
Call WFS request after the map load in OpenLayers 3
I am trying to call WFS service and store the response in a variable after the map is loaded completely in OpenLayers 3. Below is my code
this.map = new ol.Map({
interactions: olgm....
2
votes
0
answers
101
views
Does WFS support what OGR calls "OLCFastSetNextByIndex"?
Background
I'm working on an application that has multiple threads getting features from the same OGR layer at the same time, but with different spatial filters. This is problematic because it causes ...
2
votes
1
answer
259
views
Could not load WFS with bbox parameter using PyQGIS
I try to load a WFS including a bbox parameter via PyQGIS. The WFS is loaded without problems, but unfortunately the bbox parameter does not work. If the bbox parameter is added to the query I get all ...
2
votes
0
answers
2k
views
How to display/render OGC WFS web service on Google Maps using Google Map JavaScript API v3
I want to display publicly available OGC web services on Google Maps. I figured out the solution for WMS but no clear solution for WFS.
Sample WFS: http://services.ga.gov.au/geoserver/boreholes/ows?...
2
votes
0
answers
494
views
Error WFS (2.0.0) GetFeature spatial query with multi-surface geometries in ArcGIS Server 10.6
In the new version of ArcGIS Server 10.6 it is not possible to request GetFeature WFS with spatial filters with multi-surface geometry. The following is an example of the query:
GML3 geometry would ...
2
votes
2
answers
419
views
How to get a color of a feature?
My code:
var inter = new ol.interaction.Select();
inter.getFeatures().on('add', function(event) {
var properties = event.element.getProperties();
var coordinates = event.element.getGeometry()....
2
votes
0
answers
182
views
Modifying OWS Server info with qgis api
i'm looking for a way to disable/enable modify OWS Server tab in project properties. Is it possible using just qgis python api ?
Currently i'm building web application, which provides spatial ...
2
votes
0
answers
2k
views
How to use CQL_FILTER as URL encoded parameter to compare a field containing numbers
I want to apply the CQL_FILTER parameter as an URL parameter in order to filter a field containing numbers (zip codes) starting with 79 (using 79% Wildcard) for instance.
So I'm using this CQL_FILTER:...
2
votes
0
answers
352
views
Using WFS layers in Virtual Layer crashing/too slow QGIS
I am trying to create a virtual layer with the following code, where the layers are provided by a WFS:
select geometry from (
select geometry from "Ancient Woodlands (England)" union all
select ...
2
votes
0
answers
177
views
WFS geometry or/and attributes issues
We have 4 people accessing shapefile data simultaneously in QGIS using a WFS from Geoserver.
We use a file as a container of shapefiles and we all have to work on the same shapefiles at the same time....
2
votes
0
answers
99
views
WMS and WFS Connections following upgrade to ArcGIS 10.4? [closed]
We recently upgraded from ArcGIS 10.3 to 10.4. It turns out 10.4 handles WFS and WMS URLs differently and we now face having to update very many interoperability connections individually, and every ...
2
votes
0
answers
320
views
Geoserver - Sql View's parameters not works in WFS service
I've created sql view which will be calculate route between 2 points which are pass over service ... so here is Sql View configuration window:
When I try preview layer I got this result on init:
{"...
2
votes
0
answers
144
views
How to determine the right strategy for WFS requests with Getotools?
I found that the strategy is selected in the determineCorrectStrategy() method in org.geotools.data.wfs.internal.WFSClient.
I don't know how reliable the suggestions are for all the strategies but e....
2
votes
0
answers
386
views
Connect ArcMap (Interoperability Tool) to GeoServer [closed]
I have GeoServer (2.8.5) and multiple layers on it. If I want to edit layers in QGIS everything works fine (auth / show layer catalog / load layer / edit layer / save changes).
If I attempt doing the ...
2
votes
0
answers
2k
views
No 'Access-Control-Allow-Origin' header is present error when requesting json response from Geoserver
I am still working to get my GeoServer WFS displayed in my Leaflet map and cannot get the Ajax response to work properly. I have already run the "getFeature" request in my browser and it returned json ...
2
votes
0
answers
518
views
Filter data from WFS request in Leaflet
In the past I have used OpenLayers in order to make WFS requests to geoserver and show features on a map. I have also used WFS rules in order to filter the data based on specific values.
Now I am ...
2
votes
0
answers
1k
views
Geoserver WFS Layer in OL3 tilted and mirrored
I am using Geoserver (2.4.2) to display a WFS-Layer in Ol3 (3.13.0). I successfully used this example from a fellow user to get things going. Here is my modified code. I am sorry for not providing a ...
2
votes
0
answers
540
views
Alternatives to Offline Editing Plugin of QGIS? [closed]
I am looking for a way to edit my postgis layers offline (in field) using a Microsft Surface Tablet.
I have been testing the "Offline Editing Plugin" unsuccessfully. These are the issues I have ...
2
votes
1
answer
487
views
QGIS feature subset with WFS
I have GeoServer running locally, serving up a large table of vector points stored in Postgres. I have enabled a time dimension on GeoServer, from a column of type TIMESTAMP WITH TIMEZONE. from QGIS, ...
2
votes
0
answers
635
views
Load Multiple WFS layers from array with OpenLayers
I have a layer on my Geoserver that contains a few dozen pipeline alignments in a single layer. My goal is to get those into the map frame as individual layers by iteratively calling WFS layers and ...
2
votes
1
answer
1k
views
OGRFeature set Multiple fields
To start off with:
Using Gdal compiled with Xerces
Coding in C++ with the QT Creator version 5.4.1
So my problem is I'm trying to use Gdal to create my own Esri shapefile, I get a strange runtime ...
2
votes
0
answers
81
views
Can you load WFS uncached in QGIS
I think this might be a bug, but we've just installed QGIS 2.10 and the WFS seems to be working strangely. When you load a WFS which is not cached the system loads all the visible features as expected....