Questions tagged [wfs]
Web Feature Service (WFS) is an Open Geospatial Consortium (OGC) specification for accessing geographic features over the internet.
1,380
questions
1
vote
3
answers
4k
views
Use Geoserver geojson in Leaflet
I am trying to load a GeoJSON layer from my GeoServer WFS and have followed the many question responses but still cannot get it to work.
If i enter the url into a browser the GeoJSON appears with all ...
2
votes
1
answer
96
views
How to replicate QGIS's Identify Features functionality with ogr2ogr when downloading data from WFS endpoint?
I am working with this WFS endpoint:
https://wxs-gpu.mongeoportail.ign.fr/externe/39wtxmgtn23okfbbs1al2lz3/wfs
In QGIS, I do: Layer -> Add Layer -> Add WFS Layer..., then add the above endpoint. ...
0
votes
1
answer
20
views
Does GeoServer support FILTERs in GetFeature requests?
I have a web client that filters WFS layers from various servers such as MapServer and GeoServer.
The following URL (encoding and removing whitespace does not make a difference):
https://ows-demo....
1
vote
0
answers
19
views
How to call WFS from a WPS in GeoServer
I have a custom WPS process, and from that, I need to call WFS to insert Transaction request, because I don't want to make two requests. I tried looking into GeoServer transaction test code but was ...
2
votes
2
answers
1k
views
What is the dimension used in OpenLayers stroke width?
In OpenLayers, when you are giving a style to layer, say a WFS layer, we can give stroke width, like this:
var layerWFS = new ol.layer.Vector({
source: sourceWFS,
title: 'plot_layer',
...
0
votes
1
answer
130
views
GeoServer WFS: namespace not returned for fields on DescribeFeatureType
I am connecting to a WFS server and have done a DescribeFeatureType request. The layer I am querying is in a namespace.
Doing a GET request with the following body to an endpoint ending in /geoserver/...
0
votes
0
answers
13
views
QGIS Server WFS features are initially not displayed in project
I created a blank new QGIS project in 3.32.
I added a shapefile layer with LineStrings. It is valid. The extents are correct.
I went Project Properties -> WFS/OAPIF and published the single layer.
...
1
vote
1
answer
302
views
WFS layer from GeoServer with OL4 - String index out of range error
I need to load a WFS layer from GeoServer 2.8 to a web app using OpenLayers 4.6.5 and JQuery 2.2.3 so that I can use Select to highlight a feature on click.
I can preview the line layer as a WMS with ...
0
votes
1
answer
22
views
Finding the OGC API Features endpoint of a FastCGI QGIS server
I have a QGIS Server (3.28) accessible via FastCGI at https://example.com/cgi-bin/qgis_mapserv.fcgi?
I can access WFS1/2 fine via e.g. https://example.com/cgi-bin/qgis_mapserv.fcgi?MAP=/path/to/...
1
vote
0
answers
31
views
Handling intermediate service layer errors in Python
I have a QGIS project with a WMS (QgsRasterLayer) and a WFS (QgsVectorLayer) layer.
These layers might encounter random issues, e.g. missing network access or parsing errors.
How can I be notified ...
0
votes
0
answers
34
views
GeoServer WFS datastore PostGIS - submission hanging when there are multiple polygons / points
I have an web application in PHP / Symfony that communicates with the GeoServer in order to submit and retrieve points and polygons. The GeoServer communicates with a PostgreSQL database, where it ...
0
votes
1
answer
77
views
Need to publish raster layers with WFS in QGIS Server, but not available
In a QGIS project, I have several raster layers---satellite imagery for specific areas--and I wish to serve these via QGIS Server. WMS works nicely, and they show up for WCS. But I cannot see the ...
0
votes
1
answer
137
views
Time-enable a WFS to use on ArcGIS Online
Is it possible to time-enable a WFS with a date field properly coded as DATE in ArcGIS Online to use with the new timeline widget in Experience? If so, how?
1
vote
1
answer
24
views
Accessing WFS from Geobasis NRW with QGIS
I am trying to access a WFS-Layer with QGIS and no matter what I do the result is nothing I can work with.
The WFS is this one: https://www.wfs.nrw.de/geobasis/wfs_nw_inspire-existierende-...
1
vote
2
answers
400
views
Error when I try insert a simple point into a geoserver point layer with wfs-t
I try insert a simple point into a geoserver point layer the commands are:
var config = {
headers: {
'Content-Type': 'text/xml',
'type': 'POST',
'dataType': 'xml',
'...
1
vote
1
answer
19
views
Serve a styled WFS via QGIS server
I recieved a huge data-dump with several hundrets of layers. I need to style those layers and make the data including the style available to different GIS-Softwares (MapInfo, QGIS, ESRI). I thought, ...
2
votes
0
answers
2k
views
GeoServer: Get styles from PostgreSQL/PostGIS table
We're running GeoServer with all layers coming from a PostGIS data source. Most people work directly on the PostGIS database, but we have one person sitting 10.000km away, and for him, connecting to ...
0
votes
1
answer
181
views
OpenLayers.Filter.Comparison value charecter encoding
I am using vector layer with WFS protocol
var adressVector = new OpenLayers.Layer.Vector("Adress", {
strategies: [new OpenLayers.Strategy.BBOX()],
protocol: new OpenLayers.Protocol.WFS({
...
0
votes
1
answer
22
views
Geoserver Replace wfs transaction is not working with a postgres table containing multi type geometry [closed]
Does anybody have a solution for making Geoserver work with WFS-T replace on multi-type geometry layer? When I replace any feature, it gets updated as POINT(0,0). Is it geoserver Internal problem?
WFS-...
1
vote
0
answers
26
views
WFS Authentification in QGIS
I have created and saved an authentication in QGIS for a password protected WFS service. In our company the login always consists of our username and the windows password.
Now a few days later I had ...
0
votes
1
answer
35
views
EPSG transformation just swaps coordinates in GeoServer GetFeature request
First time I've done much of this so I may not be using the correct terminology.
Also, I'm aware it could probably be resolved with post processing, but I'd like to fix it with this context, if ...
2
votes
1
answer
1k
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 ...
0
votes
1
answer
142
views
Providing credentials to arcpy.conversion.WFSToFeatureClass()
I need to pull in some data from a Web Feature Service (WFS), into a local feature class/file geodatabase.
https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/wfs-to-feature-class.htm
...
4
votes
2
answers
290
views
Snapping does not work for WFSLayer in ArcGIS JavaScript API 3
I have a web application that I now need to use WFSLayer for some of the map layers. The problem is that snapping does not seem to work for WFS layers.
The layer I use for drawing is a FeatureLayer. ...
3
votes
1
answer
368
views
Null Pointer Exception while querying WFS Getfeature using Stored Query and getParameter
This is my StoredQuery
<?xml version="1.0" encoding="UTF-8"?><wfs:StoredQueryDescription xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fes="http://www.opengis.net/fes/2.0" xmlns:wfs="...
0
votes
0
answers
23
views
Connecting to EGDI WFS in QGIS 3.28 fails
I'm trying to connect with the EGDI WFS (https://data.geus.dk/egdi/wfs/?whoami=youremail&typenames=egdi_mineraloccurrences_inspire) in QGIS.
After creating a new connection in Data Source Manager &...
6
votes
2
answers
15k
views
Access-Control-Allow-Origin Openlayers WFS
I try to use a WFS service with OpenStreetMap to request GeoServer GeoJSON file. First I had a error message on the Firefox Cross-Origin Request Blocked: The Same Origin Policy disallows reading the ...
4
votes
1
answer
375
views
Configuring QGIS new OAuth2 support for WMS or WFS
Has anyone successfully configured QGIS new OAuth2 support for a WMS or WFS service?
I have an ArcGIS 10.6.1 service published as a WFS service but cannot get past the OAuth2 authentication.
1
vote
1
answer
63
views
QGIS Server: Show value in abstract field of published WFS service
I published layers from a QGIS project as WFS Service using QGIS Server and everything works fine. Now I want to add a description to each layer, but can't find documentation on how to fill out the ...
0
votes
2
answers
70
views
How can I connect a WFS or WMS connection in QGIS from an .xml file?
I'm new to working with WFS and WMS in QGIS, but most connections I tried so far have worked the usual way with the "GetCapabilities"-link.
Some public servers provide however an .xml file ...
2
votes
2
answers
4k
views
Selecting multiple polygons or points from WFS or WMS GetFeatureInfo
Is there a way to select multiple polygons and/or points from a WFS or WMS service and then get the feature information for each selected item?
There are numerous examples on the OpenLayers website ...
0
votes
0
answers
79
views
ArcGIS Pro 3.1.2: Why link for new WFS Server does not work in ArcGIS Pro but works on QGIS?
I am using ArcGIS Pro 3.1.2 and would like to connect a new WFS server to the software. The link works in QGIS 3.22.16.
Would it work in ArcGIS Pro?
Under the "Insert" menu, I clicked on &...
0
votes
1
answer
606
views
Specifying join on multiple datasets in a WFS URL request (CQL/Filter)?
I’m using a WFS and trying to join two/three datasets together in a URL query.
Two of the datasets are linked via an aspatial table in the middle like so:
| Table 1 | | Table 2 | ...
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 ...
0
votes
1
answer
175
views
GeoServer - WFS-GetFeature Request error: Unable to retype FeatureReader<SimpleFeatureType, SimpleFeature> (origional does not cover requested type)
I am running a WFS-GetFeature-Request via a proxy-Script on GeoServer. The response sent to GeoServer seems to be fine, see xml-head in the first logs.
Part of the xml-head:
<...
1
vote
1
answer
130
views
Objects on WFS-Layer don't display, ave/adv server
For some time I've been trying to add WFS-Layer to my QGIS Projects - without success.
Every time I try the regular way (add Layer->WFS-> enter settings-> choose Layer->add) I don't get ...
0
votes
1
answer
66
views
Trouble with CQL_Filter with GeoServer 2.18 w/Tomcat 9 over O.S. Debian (same coding worked well under Windows/Geoserver 2.6 w/Jetty)
We've migrated infrastructure from Windows+Jetty+GeoServer 2.6 to Debian10+Tomcat+GeoServer 2.18.0
We had a client application that uses filtered features from WFS using cql_filter=Codigo IN (9999) (...
1
vote
1
answer
409
views
Leaflet Javascript: zoom to layer only on load
I have a WFS layer, updated in a loop, and I want the view to be centered on it only the first time the map is loaded; next, when the user moves the map or waits 20 secs, there is a movend function ...
0
votes
0
answers
37
views
Problems with WFS in QGIS 3.22.16
I am using QGIS version 3.22.16 LTR and I have problems using WFS services. I want to include the following WFS service in QGIS:
https://geoportal.umwelt.sachsen.de/arcgis/services/boden/bk50/...
0
votes
0
answers
91
views
Error when opening WFS layer in QGIS (Cannot do natural order without a primary key)
We want to open a Geoserver WFS layer in QGis but ending up with the error:
Exception occurred while computing reprojected bounds
java.io.IOExceptionCannot do natural order without a primary key, ...
0
votes
1
answer
101
views
Can't connect ArcGIS Pro to GeoNode/GeoServer WFS
I'm having problems connecting ArcGIS Pro to GeoNode WFS/WMS server using basic authentication. I can connect fine with QGIS. In QGIS I just setup the connection to https://gis.mygeonode.com/gs/wfs ...
0
votes
2
answers
995
views
GeoServer, WFS Raise java.io.IOException: Wrong magic number, expected 9994, got 15
The "WFS_transactionInsert.xml" demo request in "GeoServer Demos" results into:
java.lang.RuntimeException: java.io.IOException: Wrong magic number, expected 9994, got 15
The complete exception ...
1
vote
0
answers
462
views
Preventing IllegalArgumentException with GeoTools WFS GetFeature request [closed]
I want to retrieve the feature Collection from a WFS server with the Java library GeoTools. I tried this code, but unfortunately the program fails to execute.
public class App {
public static void ...
0
votes
2
answers
965
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 ...
1
vote
2
answers
288
views
ogr2ogr convert WFS data, when WFS has password and username
I am trying to use ogr2ogr on a WFS with username and password.
I tried to follow this answer here
Import data from password protected WFS using OGR2OGR
Does anyone have some examples of doing this?
...
0
votes
0
answers
39
views
Double Colon in WFS GetFeature Request Causes Issue
When using QGIS 3.28.3 to query for a feature layer via a WFS GetFeature request, the request fails and the following in in the QGIS log:
WFS exception report (code=none text=The value for parameter ...
0
votes
1
answer
489
views
Connecting to several WFS using python/OWSLIB/OGR2OGR
I'm trying to download a lot of datasets from different WFS URLs using ogr2ogr (and to an extent, owslib) in Python. My problem arises when I try to connect to a second WFS.
In my test code, I have ...
2
votes
1
answer
242
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
1
answer
6k
views
Request WFS from GeoServer with Jquery AJAX using INTERSECT cql_filter error
I am trying to make an AJAX request from a Leaflet map with Jquery to GeoServer to return a WFS selection using the INTERSECT sql_filter param. I have it working fine using the BBOX sql_filter.
...
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 ...