Questions tagged [wfs]
Web Feature Service (WFS) is an Open Geospatial Consortium (OGC) specification for accessing geographic features over the internet.
1,360
questions
1
vote
0
answers
14
views
Show in OpenLayers style defined in GeoServer
I have a WFS layer working correctly.
I configured the style in the GeoServer, but I am not able to fetch this style already defined in the GeoServer to show in OpenLayers.
On the GeoServer, the style ...
1
vote
0
answers
34
views
Spatial filter (polygon) to import a WFS layer from an URL
I want to import a WFS layer from an URL, but spatial filter to import only the objets that intersect or are inside a polygon that i've drawn.
I wrote a code but it doesnt seem to work as intended ...
1
vote
0
answers
20
views
QGIS - after restarting project WFS Layer only displays after opening attribute table and changing zoom
When i close my project and restart, some WFS Layers are behaving strange. They only display the data after loading/opening attribute table and changing zoom. I've tried refreshing with F5 but it is ...
0
votes
1
answer
40
views
DiGMap WFS doesn't work on GeoServer
I'm trying to publish one of our customer Web Feature Services in Geoserver 2.19.0 and I'm getting error when I publish it. As per the customer, their WFS service is compliant to OGC standard and it ...
2
votes
0
answers
53
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 ...
0
votes
1
answer
26
views
WFS: Count available feature Types
Some WFS offer a large number of feature types, e.g. a collection of all public datasets from a municipality.
What is the right way to count the number of feature types of a WFS?
My idea was to search ...
1
vote
1
answer
32
views
GeoTools WFS Transaction modifyfeatures problem: WFSException: Invalid value for property the_geom
I'm using GeoTools WFS package to update features in GeoServer. I don't have any problem with updating literal attributes, but when I tried to modify the geometry of features I got the following error ...
0
votes
0
answers
19
views
OL6.3.1 : duplicate features displayed on a map
Despite many posts read here, I can't find a solution to avoid duplicate features in my map.
The url is a WFS from Mapserver based on a PostGis view with an unique gid field.
All the geometries are ...
1
vote
1
answer
64
views
Select specific layer to read when reading data to GeoPandas using OWSlib
I am trying to read a specific layer from a WFS service but can't figure out how to specify which the layer to read when using OWSlib.
The code was copied from: Reading data to geopandas using WFS?
...
1
vote
1
answer
36
views
How are WFS/WMS APIs secured?
Here's a dumb question, about something I barely understand. Please forgive me if even the premise of the question is wrong.
When a WFS or WMS API is secured behind a password, is it then always also ...
1
vote
0
answers
57
views
Maximum feature limit with QGIS Server published WFS 1.0.0 / 1.1.0
In configuring WFS servers, we may choose to set a maximum feature limit to be returned per Feature response. So when a maximum feature limit of 10,000 is configured for a WFS server and a feature ...
0
votes
0
answers
24
views
GeoServer WFS sortBy (v2.0.0) with multiple layers?
I'm using WFS with multiple layers, but the results are sorted by layer, not by the full result set.
For instance:
Layer A
a
b
c
d
Layer B
a
b
c
d
I want the results be a single list sorted by ...
2
votes
0
answers
48
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 ...
1
vote
0
answers
28
views
Deploy into an ArcGIS Server a map service with WMS/WFS
I just created an ArcGIS Server using: Windows Server 2019, IIS 10 and ArcGIS 10.9.1.
I have deployed a map document as a map service using ArcMap, and I can consume KMZ web services without any ...
0
votes
2
answers
41
views
Geoserver returns error when using CQL_FILTER=INTERSECTS(...) "ST_Intersects: Operation on mixed SRID geometries (Point, 3857) != (Polygon, 0)"
When I try to send request to geoserver with BBOX:
request=GetFeature
srsname=EPSG:3857
CQL_FILTER=BBOX(geom,5147051.465935892,7328515.141536634,5147051.465935892,7328515.141536634)
everething is ...
0
votes
1
answer
51
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:
<...
0
votes
2
answers
46
views
WFS intersect filter with multiple polygons
I am trying to do a WFS POST request to https://environment.data.gov.uk/spatialdata/crow-act-2000-section-4-conclusive-registered-common-land-england/wfs where I need to send a list of polygons and ...
1
vote
0
answers
39
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
1
answer
54
views
How to use WFS access point to create a GeoJSON of data displayed on QGIS canvas when ogr2ogr does not find schema?
The German state of Schleswig-Holstein has a geoportal, where they provide a link to their WFS service:
https://service.gdi-sh.de/SH_INSPIREDOWNLOAD_AI_CP_ALKIS?service=wfs&version=2.0.0&...
1
vote
1
answer
37
views
GeoServer WFS 2.0.0 Default CRS
I'm trying to retrieve DefaultCRS for one layers from WFS 2.0.0.
For the moment, only way I find is to use GetCapabilities and reduce the xml file by setting the sections like that :
https://wxs.ign....
1
vote
0
answers
60
views
Using CQL filter with different CRS than layer WFS 2.0.0
I'm trying to implement spatial cql_filter such as 'intersects' for version 2.0.0 of WFS from GET or POST HTTP request.
A working way of doing it, is by the URL below:
"https://wxs.ign.fr/...
0
votes
0
answers
126
views
Load GeoServer WFS feature layer by block in OpenLayers
I have a WFS layer on GeoServer with more than 260,000 features, which contains data from an entire municipality. Thus, it takes a long time to load the entire layer on the map.
To test, I used a ...
1
vote
1
answer
55
views
Group WMS and WFS in QGIS Browser
I've got a lot of WMS/WFS in my QGIS Browser. These services have different data types (e.g. landcover, administrative borders, ...) and they include different areas (e.g. one is for Germany, an other ...
2
votes
1
answer
41
views
How to troubleshoot WFS bbox problems?
I have trouble getting features from a WFS using a bounding box with the BBOX parameter. As soon as I specify any BBOX, the WFS returns an empty result.
Here is an example request: https://www.lfu....
0
votes
2
answers
147
views
WFS layer not showing all data in ArcGIS Pro or not showing at all in QGIS, and inconsistent preview [closed]
I have a layer in GeoServer that is pulled in from Oracle. WMS shows all data as expected. WFS exhibits these problems.
ArcGIS Pro, only a subset of the data is shown
QGIS, the layer is loaded, but ...
1
vote
1
answer
53
views
WFS request with DWITHIN operator returning wrong result for states within 1 kilometer
I am trying to retrieve US states from a point within 1 kilometer using a Web Feature Service (WFS) request with a Common Query Language (CQL) filter. I am using the following URL:
http://localhost:...
0
votes
0
answers
62
views
How to add WFS layer from geoserver to google map api script
Is there any way to add WFS Layer of Geoserver using Google map api script. I see we can add WMS layer using google map api but not able to get any document link for WFS layers.
Can any one help me to ...
1
vote
2
answers
92
views
How does QGIS extract features from the XML response of an INSPIRE WFS server?
Context
In QGIS, I add OpenStreetMap as an XYZ layer. I zoom to the Belgian-Dutch-German tripoint. I press F12 (fn-F12 on Mac) to get Network Logger up. I add a WFS connection to visualize North Rhine-...
2
votes
0
answers
126
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=...
0
votes
0
answers
31
views
WFS layer not adding correct layer
I wanted it to add the "boxes" as shown in the bottom half of the picture. However, it comes out as shown in the top half.
I'm using 3.28
Sorry for the lack of knowledge in regards to the ...
0
votes
1
answer
24
views
GeoServer layers: Default value for extra values showing up even when other value is provided
I've got a PostGIS table that I'm publishing using GeoServer (2.21.1). I have multiple overlapping vector layers for different classes. I've also got an aggregate class included that is the average of ...
0
votes
0
answers
51
views
WFS data not loading in full
I am relatively new to QGIS and WFS,
I am loading a map via WFS with GML data from The Danish Board of Data, it is a large database of geometries (contour lines) covering Denmark. However, when I load ...
1
vote
0
answers
142
views
Using environment variables in URL for data source
I have a QGIS project file that I want to distribute to a number of users. The project contains several WFS layers that users can also submit changes to. The WFS layers are hosted as a service and are ...
1
vote
0
answers
45
views
Are there any OGC API or OGC WFS servers that work with what ArcGIS Pro terms "On Demand" (and defines as "complex filtering implementing")?
I've implemented MapServer's 8.0.0 TinyOWS for (WFST), CrunchyData's pg_featureserv 1.2.0 (OGC API), and GeoServer's 2.21.2 (WFS) services for a point layer I have in PostGIS. I can get capabilities, ...
0
votes
0
answers
50
views
Changing the layer when the filter request value gets changed in OpenLayers
I am currently stuck with the example of OpenLayers Vector WFS get Feature.
The layer of the map doesn't get updated when I try to set the filter to a dynamic variable.
I shortened some of the example ...
2
votes
1
answer
115
views
How to load a WFS layer using PyQGIS
I have written the following code based on the PyQGIS Developer's Cookbook and other sources, however I can't get the WFS layer to load. The layer returns False on a validation check. I'm at a loss ...
1
vote
1
answer
150
views
Styling WFS layer in Leaflet?
I would like to know what I am missing in my code. I am trying to use the layer’s colors that I have loaded in GeoServer, called "dpv_cal", and this has three categories: white, purple and ...
0
votes
0
answers
70
views
Create And Publish WFS Service With ArcGIS Pro
The primary goal I want to reach is to have updated points every 1 minute and reflect them on the ArcGIS map using WFS Service.
I tried to publish an old table I had as a WFS Service but when I open ...
0
votes
0
answers
30
views
Can GeoJSON be used in layers without projection? [duplicate]
For the past two days I have been trying to make use of the GeoJSON layer in OpenLayers but either it appears in Africa or it's invisible. I don't know where I have made an error, but I'm desperately ...
0
votes
0
answers
52
views
Select polygons that intersect points in QGIS using WFS data
How to select polygons that intersect points in QGIS using WFS data? I am trying to select polygons from a WFS remote database that intersect a local point shapefile. The selection by location does ...
1
vote
1
answer
116
views
ogr2ogr: Retrieve multiple layers from WFS in one go
I can retrieve a layer of a WFS as, let's say, .gpkg via calling:
ogr2ogr -f gpkg svo_zonen.gpkg WFS:"http://maps.zh.ch/wfs/FnsNSWFS" svo_zonen
What is the syntax to retrieve multiple ...
0
votes
0
answers
48
views
Problems with connection GeoServer - AJAX in web map code
I'm trying to create a WFS connection to show a layer in a Leaflet map, but the layer isn't uploading. I supposedly have correctly employed the code (I've been testing the code with another GeoServer ...
0
votes
0
answers
18
views
GeoServer change polygon forms [duplicate]
GeoServer change polygon forms during consuming WFS.
Can I change something in order to keep polygon as native geometrical table?
See above the geometry the changes:
1
vote
0
answers
41
views
MapServer WFS Filter incorrectly maps PropertyName as Literal instead of MySQL Field
I've never used MapServer before, but have been tasked with migrating a legacy website which uses it to an updated server, including an upgrade to MapServer 7.6.2. Most stuff just works, but I'm ...
2
votes
1
answer
54
views
How to tell if a WFS service supports `urn` identifiers for `srsName`
Specifying a urn for the srsName parameter for a WFS GetFeatures request can be better, as it can enforce a stricter structure of the returned data. E.g. If I specify srsName=urn:ogc:def:crs:EPSG::...
0
votes
2
answers
842
views
Error filtering WFS data using cql_filter
I use cql_filter to find input values but an error occurs:
Uncaught (in promise) SyntaxError: Unexpected token '<', "<?xml vers"... is not valid JSON
This is error message in XML:
<?...
0
votes
0
answers
82
views
Speeding up WFS layer search in OpenLayers using CQL_FILTER?
I have a function to search feature in my layer and zoom, highlight to search results. But my data is quite large with more than 1 million lines so it takes quite a while for a result to be displayed.
...
1
vote
0
answers
90
views
Getting GML features with OpenLayers from Spanish Cadaster fails
I'm trying to paint parcels retrieved from Spanish land register by their API (as described here, PDF Spanish only!). It's an WFS service (complying INSPIRE) and offers the information as GML versión ...
0
votes
1
answer
46
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
0
answers
50
views
GeoNetwork 4.2.0: WFS indexing for record search
I am currently trying to understand if there's any way to perform a record search in GetNetwork 4.2.0 that leverages attribute data retrieved via WFS.
For example, say there is a dataset containing ...