Questions tagged [wfs]
Web Feature Service (WFS) is an Open Geospatial Consortium (OGC) specification for accessing geographic features over the internet.
1,371
questions
1
vote
2
answers
246
views
Why do filter parameters on OGC WFS not work?
On the website https://www.bezreg-koeln.nrw.de/brk_internet/geobasis/webdienste/anleitung_wfs.pdf is shown how to use filters in OGC WFS. There is also an example request:
https://www.wfs.nrw.de/...
2
votes
1
answer
115
views
Clip WFS layer with QGIS on import
I have a large WFS polygon layer and I want to use query builder to clip it before importing to desktop app.
To do this, I have created predefined polygon ( QGIS layer named: clip_boundary ) which I ...
1
vote
0
answers
69
views
Download/Export complete Dataset of WFS with limited amount of features in QGIS
I want to export a WFS Dataset with over 14.000 Features in it. The Amount of features one can download is limited to 300.
Is there any way to extract all features to one shapefile in QGIS, even if ...
0
votes
0
answers
124
views
SQL Query to limit loaded feature from WFS Layer to the extent of a feature in another layer
I am trying to download all the features from a WFS layer (Land_Parcel_Layer) and save them locally. The layer contains the land parcels for the whole federal state in Germany. The service URL is: ...
1
vote
2
answers
448
views
QGIS not displaying WFS layer
I have a QGIS project where I am importing various WFS layers from a number of sources.
One layer (from one provider) is not displaying while all the other layers from various other providers do ...
0
votes
0
answers
259
views
QGIS 3.22 - WFS will not load gives CRS Bounding Box error
QGIS 3.22 does not appear to be compatible with my businesses WFS product but has been in the past.
When importing my WFS I receive two errors: "Used a ballpark transform from EPSG:4326 to EPSG:...
0
votes
0
answers
339
views
Filtering by Time in a WFS GetFeature request
I have a WMS layer that uses a 'time' dimension parameter to filter the view by time. I want to perform WFS GetFeature requests against this layer, taking into account the 'time' value.
I can do this ...
0
votes
1
answer
82
views
GeoServer GML Direct
I have GML documents which I wish to serve with GeoServer WFS. Essentially, I want to be able to copy the documents to some place e.g. data_dir store and when a GetFeature is done have GeoServer ...
0
votes
1
answer
53
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
462
views
How to get all records if WFS output limited to 1000?
I use WFS quite a lot to collect my data with the script below. It works most of the time, but I notice that some of the WFS-services I come across have a limited output, as only 1000 records are ...
0
votes
0
answers
244
views
How to avoid WFS filtering CORS error in XAMPP
The XAMPP is serving as webserver and the website is accessible via http://localhost/Portal/Basic/. I am using WFS (Web Feature Service) from the external server https://geoservices.krzn.de/security-...
0
votes
0
answers
165
views
GetFeature request inside WPS request fails to execute
I'm trying to make a WPS request with a GetFeature request inside of it but I'm getting an error. The idea is to get features with a spatial filter and then get a Multipolygon with the "gs:...
5
votes
1
answer
412
views
How can I be sure I have downloaded all data from a WFS service?
I need to download all data from a WFS service as CSV files and be sure I've downloaded all data.
I'm using Python to download chunks of 20 000 rows at a time:
import urllib.request
import os
...
0
votes
1
answer
211
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
73
views
ArcGIS Server 10.7.1 and QGIS 3.24.1 - Why WFS do not display in QGIS?
I created a WFS Service in ArcGIS Server 10.7.1. This service works ok in ArcGIS Pro and Portal for ArcGIS. However, it does not display in QGIS 3.24.1. Is there any reason? Any setting to adjust in ...
1
vote
1
answer
131
views
Accessing GeoJSON properties after loading the WFS features on the map
I use the following code to get WFS features on the map.
let WFSlayer = new ol.layer.Vector({
title: layer,
source: new ol.source.Vector({
url: "/proxy/?layer_name=" + layer +...
0
votes
0
answers
142
views
Receiving the error "Cannot do natural order without a primary key" while trying to download some WFS layers with ogr2ogr
I want to automate getting some public WFS data with ogr2ogr. When I check the data on QGIS the data looks perfectly fine:
On QGIS, I can get all data with the WFS service with no problems and I can ...
2
votes
0
answers
429
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 ...
3
votes
2
answers
136
views
Building a WFS whose features hold lists of records
I've got two tables in a PostgreSQL/PostGIS database:
UTM (geom geometry(Polygon,25830),utmcode character varying(6))
Species (species_name character varying(50), utmcode character varying(6), ...
1
vote
1
answer
675
views
Extracting ArcGIS REST Server from Webmap URL
I would like to view certain Webmap information in my desktop GIS software, and I'm looking for a way to extract a REST server (or, in future situations, WMS/WFS/WCS URLs) from a webmap website.
I ...
8
votes
2
answers
687
views
Download a small part of a WFS map in QGIS
I have a WFS layer I want to download a small excerpt from, so that I can derive data from its attributes. Currently, since the dataset is so large, I can't even open the attribute table without QGIS ...
0
votes
0
answers
125
views
Creating WFS server with GDAL
I am trying to create a WFS server.
My intention is to answer the GetFeature request by GDAL.
Here is the scheme I am working on:
MyString CreateResponse(const MyVectorDataLines & data) {
...
3
votes
1
answer
520
views
Adding spatial filter to WFS layer request not working
I'm trying to load big WFS layers to my project by mean of a Python script but since I only need to display features located in the south west of France I thought I could easily add a bbox filter in ...
0
votes
1
answer
380
views
Save simple WMS as WFS layer
I wonder if there is an easy way to transfer my WMS files to shapefiles/WFS.
With satellite images I understand it isn't so easy to do this in an accurate way, but perhaps with my layers it is. What I'...
0
votes
0
answers
80
views
Invalid keyword argument when specify coordinate system for a WFS GetFeature
I am trying to get features from a WFS in the form of a shapefile using OWSlib package in Python. I am able to download the shapefile as a zip but when I specify the coordinate system while defining ...
1
vote
1
answer
644
views
How to get features from WFS as a shapefile?
I have a WFS running on URL that is mentioned in the code below. i want to get all the features available in the service as a shapefile so i can open it and visualize it in QGIS or any other GIS ...
2
votes
0
answers
109
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.
...
1
vote
0
answers
112
views
Show WFS within Leaflet view
I have a Leaflet map where I use Leaflet-WFST. I use WFS layers to display on the map, but since I have a lot of them, I use new L.Filter.BBox('lin', map.getBounds(), L.CRS.EPSG4326); so that my ...
2
votes
0
answers
267
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 ...
0
votes
1
answer
2k
views
Specific WFS error - Fiona: fiona.errors.DriverError: '/vsimem/4ec3f86c094340cc8704fe5b9aa0f517
I am trying to receive some data through several WFS servers. While two work with my code, one gives an error. I don't have enough experience with WFS to see how this one is different from the others.
...
2
votes
1
answer
947
views
WFS GetFeature query, is MAXFEATURES guaranteed to work based on typeNames order?
I perform a GetFeature query in multiple layers (typeNames according to spec), which is limited to a certain number of MAXFEATURES, let's say 500.
Let's say layer A has 10 features that match, and ...
2
votes
1
answer
659
views
How to solve: DriverError: unsupported driver: 'WFS' - when reading wfs to geopandas
I am trying to download some Dutch open data through a WFS, but I get a DriverError. It seems to be a geopandas problem, but I cannot find or think of a solution.
I'll provide my code below and ...
1
vote
1
answer
69
views
GeoServer not mapping the hostname in schemaLocation
I'm trying to access my WFS service from the public network but I can't establish the connection; and when checking the URL:
https://geo.gporellana.gob.ec/geoinfo/datoslibres/ows?service=wfs&...
0
votes
0
answers
58
views
Adding a specific layer to ArcGIS Online WebMap/API Application via GeoServer WFS
I am hosting a few different workspaces and layers on my GeoServer WFS, and would like to add a specific layer from that collection to my ArcGIS Online WebMap and also a simple web mapping application ...
0
votes
1
answer
211
views
QGIS 3.24 (and 3.18) can't load WFS layer from MapServer (MS4W)
I have a MapServer (MS4W on Windows) setup with WFS in a mapfile. I cannot load WFS layers from this MapServer, they all return this warning in QGIS:
WARNING Analysis of DescribeFeatureType ...
0
votes
1
answer
125
views
Using FAO Geonetwork Data WFS or WCS in QGIS
Does anyone know how to connect to FAO Geonetwork Server (https://data.apps.fao.org/map/catalog/srv/eng/catalog.search#/search?facet.q=type%2Fdataset) as Web Feature Service (WFS) or Web Coverage ...
2
votes
1
answer
255
views
WFS Insert transaction through geoserver cannot find declarations for schema elements
I am attempting to post the following xml through geoserver to make a WFS insert:
<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs/2.0" service="WFS" version="2.0.0&...
0
votes
1
answer
115
views
WFS requests taking 60 seconds to load
I have a website and GeoServer running on an Ubuntu LAMP stack. GeoServer is running through Tomcat. Everything is working except WFS requests are taking way too long (~60 seconds). I have a ...
1
vote
1
answer
96
views
Describe feature request for a WFS
I have been given a WFS GetCapabilities link as
https://sedac.ciesin.columbia.edu/geoserver/ows?service=WFS&version=1.1.0&request=GetCapabilities
and asked to make Describe Feature Request ...
0
votes
1
answer
301
views
Dynamically adding lat, lon filter to WFS request in Leaflet
I want to run my wfs_url for all the points/cities returned by:-https://demo.pygeoapi.io/master/collections/ogr_gpkg_poi/items?f=json request? such that my result will show the no of earthquake data ...
0
votes
0
answers
122
views
Setting extents of base layers to the extents of newly added layer on the map in OpenLayers
I am querying two layers, based on which I am adding the resultant layer (having lesser polygons than the original one) on map
Suppose this is the base layer,
After querying, I get this resultant ...
0
votes
1
answer
172
views
GeoServer WFS proxy error
I'm getting a 502 proxy error when sending a wfs GetFeature request. I think there might be multiple problems, but I'm not sure. This URL is not working.
https://WEBSITE.com/geoserver/wfs?service=...
0
votes
1
answer
136
views
QGIS Server in HTTPS, redirecting HTTP
We have testing the set-up of a QGIS Server on a web-server in HTTPS. The GetCapabilities of the WFS service can be obtained with a HTTPS query, which works well and answer with the layers that we ...
0
votes
0
answers
405
views
UnsupportedGeometryTypeError from GML
I'm trying to download a layer from the WFS service:
import geopandas as gpd
from owslib.wfs import WebFeatureService
wfs_service = WebFeatureService(url="http://wms.pcn.minambiente.it/ogc?map=/...
1
vote
1
answer
56
views
Syntax for Masking Polygons which do not contain line using cross-layer filtering in GeoServer
I have two vector layers in GeoServer.
One is a polygon like;
and another one is a polyline like;
By cross-layer filtering, I want to select only those polygons from 1st layer which are crossed by ...
0
votes
0
answers
122
views
Filtering a WFS layer using a shapefile in QGIS
I want to perform a spatial filter on a WFS service (QGIS) so that I can only see the elements that correspond to my work area.
The layer doesn't have any spatial IDs, which would make it much easier, ...
1
vote
1
answer
243
views
Adding popup with attribute characteristics to features in Leaflet?
I need to show popup for GEOJSON data with its attributes. However, I don't have any idea on showing popup for GEOJSON data added through url of wfs. The geojson data is earthquake data added through ...
0
votes
1
answer
293
views
Why spatial filter (DWITHIN) is not working in WFS
I am working using spatial filter Dwithin for WFS. I have worked using a simple filter using to show no of earthquake data for the year 2020 in GeoJSON format from the given WFS:-
https://emidius.mi....
1
vote
1
answer
474
views
Leaflet show or hide layers WFS cql_filter
I use the library Leaflet-WFST. So I have both WMS and WFS layers. With WMS, everything is simple there is cql_filter. I am writing a code where cql_filter is applied when clicking on the checkbox, ...
0
votes
1
answer
106
views
Error while performing WFS Update Geometry in demo request under geoserver
I was trying to perform WFS Transaction Update Geom from demo request section under geoserver.
But it is throwing error as Service WFS is disabled. Though I have already enabled it for all the ...