Questions tagged [wfs]

Web Feature Service (WFS) is an Open Geospatial Consortium (OGC) specification for accessing geographic features over the internet.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 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
14 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
24 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 ...
  • 141
2 votes
1 answer
19 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::...
  • 153
0 votes
1 answer
89 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: <?...
  • 19
0 votes
0 answers
64 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. ...
  • 19
1 vote
0 answers
47 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 ...
  • 874
0 votes
1 answer
20 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 ...
  • 101
0 votes
0 answers
17 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 ...
  • 101
0 votes
0 answers
48 views

Publish GeoJSON data as WFS from GeoServer with Leaflet

I can use the data in the GeoServer from the JSON file, but I cannot use it directly from the GeoServer. I can get data as WMS I'm using allow CORS as a Chrome extension (no CORS issues either). ...
  • 1
1 vote
2 answers
60 views

Detecting start and end of WFS layer loading in OpenLayers?

I have a WFS layer that takes a while to load. I would like to show a 'load', while it loads, so it doesn't get the impression that nothing is happening. Any idea? var my_layer = new ol.layer....
1 vote
0 answers
40 views

Can I get the extent that contains all the features satisfying a WFS GetFeature request from GeoServer?

With GeoServer 2.16.2, I use a WFS GetFeature request to query features from multiple layers, each having different CQL filters. Something like: <URL>/wfs?service=WFS &version=2.0.0 &...
0 votes
0 answers
38 views

I need a formula to calculate gml:pos to standard GPS coordinates

I downloaded "address points" data from geoportal and the coordinates are not readable for me. <wfs:member> <ms:prg-adresy> <gml:boundedBy> <gml:Envelope ...
3 votes
1 answer
66 views

WFS layer imported via QGIS, features are rotated/flipped, how can I correct this?

I have made a connection to this WFS layer through the QGIS data source manager: The layer takes a very long time to load, but when it does it appears flipped and rotated: I think this has something ...
1 vote
1 answer
33 views

Use Leaflet.Motion sequence capabilities with two consecutive WFS layers

The following code is my attempt to use the consecutive lines of the Leaflet motion plugin, as used in the source code of this page example https://igor-vladyka.github.io/leaflet.motion/ : a car, then ...
1 vote
0 answers
33 views

Get rid of duplicate polygons using OpenLayers

OpenLayers 6, Mapserver 7 I have defined a vector source like this : const presc = new ol.source.Vector({ format: new ol.format.GeoJSON(), loader: function(extent, resolution, projection, success,...
  • 1,085
2 votes
2 answers
37 views

Incorrect geopackage field type when exporting via GeoServer

When downloading geopackages via GeoServer from the data provider datamap.gov.wales (e.g. this one) I get a geopackage containing the designation_date field, which is marked as TIMESTAMP. The raw WFS ...
  • 6,484
0 votes
0 answers
20 views

GDAL WFS - Not able to get features from dataset: Failure writing output to destination

I'm using the GDAL 3.0.3. OGC WFS driver in a Java Environment using SWIG GDAL bindings. After rolling out code to various test machines, one of the machines is not able to get features from a Layer, (...
1 vote
1 answer
38 views

Problem with WFS Consuming by using CQL_FILTER

for the past couple of days I have been trying to consume a WFS through Python. I was using owslib but I noticed that the client only uses version 1.0.0 and i tried to apply cql_filters by doing like ...
1 vote
0 answers
35 views

Get feature from WFS based on the location from points

I have several hundred GPS points which I want to join additional data to (e.g. corresponding district). Since the points are spread over a whole country it seems not possible to pre-load every ...
  • 143
0 votes
0 answers
18 views

A generic approach to setting up validation and helpful widget/autosuggestion for attribute values in a WFS layer in QGIS

Its my impression that validation of attribute values is generally approached by defining these constraints in the database schema. Simple example of a constraint: Feature 'lamps' has a '...
0 votes
1 answer
24 views

How to aggregate data from different sources in QGIS into one table

This is a very basic beginner question and i need just a direction what keywords to look for. I have GPS waypoint data from my GPS tracker. Just Long + Lat + Id. And i have infos from a wfs server as ...
  • 143
0 votes
1 answer
38 views

How to get all parcels of Mecklenburg-Vorpommern to GeoJSON? WFS export in QGIS seems to export part of the data only

I am aiming to download parcel boundaries of the German state Mecklenburg-Vorpommern. I found this geoportal, where this data seems to be available: https://www.geoportal-mv.de/portal/Geowebdienste/...
  • 356
3 votes
3 answers
141 views

Accessing Spanish cadastral data via QGIS

Problem I would like to have access to cadastral data (= land parcels) of Spain in vector format, so I can do further processing on them and put them into a database. I tried to do this multiple ways, ...
  • 356
0 votes
1 answer
94 views

Using Make Feature Layer from URL with token in ArcPy

I have a Python script tool that makes use of a feature layer hosted on a map server. Originally, I got the layer by making a feature layer using the code below. lyr = arcpy....
1 vote
1 answer
34 views

Querying WFS with bounding box and also clip the returning feature coordinates to be within the bbox

Looking at the following request https://ows.emodnet-humanactivities.eu/wfs?SERVICE=WFS&VERSION=1.1.0&request=GetFeature&OUTPUTFORMAT=json&srsName=EPSG:4326&typeName=emodnet:...
0 votes
0 answers
45 views

WFS for dataset in S3 using QGIS Server

I have some data in FlatGeobuf format sitting on an AWS S3 bucket. I would like to provide some Web Feature Services (WFS) for this dataset using QGIS-Server. I have successfully deployed QGIS-Server ...
2 votes
1 answer
35 views

Zoom to layer after CQL in WFS format

I'm using a dropdownlist to CQL each WFS layer. How to zoom extend to the selected CQL layer? $("#district").change(function() { var statekod=document.getElementById("...
0 votes
1 answer
24 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
1 vote
0 answers
39 views

Only one WFS layer is invoked out of multiple WFS layers

How to add multiple WFS layers and get response simultaneously for all with bbox strategy? In my code only one of WFS call is invoked each time. Even I tried adding separate callback function names. I ...
1 vote
1 answer
28 views

Extrapolate URI from a WFS connection

Purpose: to create and add a vector layer instance to the project with Python This is what is written in https://docs.qgis.org/3.22/en/docs/pyqgis_developer_cookbook/loadlayer.html#id1 to connect with ...
1 vote
1 answer
59 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
26 views

Deploy GeoServer layer located in PostgreSQL as a vector layer to ASP.NET application

I try to deploy one of my GeoServer layers located in PostgreSQL named "ADA" as a vector layer to ASP.NET application. What should be the URL link? const merkez = ol.proj.fromLonLat([35....
2 votes
1 answer
91 views

Multiple WFS layers in Leaflet, loaded with Ajax with bounding box, do not display correctly

The following example is a code for three WFS layers on Leaflet, loading only inside a Bounding box in order to save resources. Layers can be turned on in the Layer Control as featurelayer1, ...
0 votes
0 answers
59 views

GeoServer Geofence WKT WFS problem

I have more than 400 users, each has its own layer view area on the map, I was able to implement this using Geofence, I added layers to the layer group in GeoServer, and configured roles in Geofence ...
0 votes
1 answer
81 views

Leaflet, L.WFST : show a Popup for the attribute

could you please help me on this ? It's not showing the Attribute in Bindpopup of a map in Leaflet with this Javascript: https://mappingforyou.eu/javascript/leaflet-wfst.src.js function onEachFeature(...
0 votes
1 answer
59 views

Export WFS Features as Shapefile giving Error number: (8, '') using PyQGIS

I am new to PyQGIS and trying to export a WFS Feature as a Shapefile called Test.shp. uri = r"https://www.geoportal.rlp.de/mapbender/php/wfs.php?INSPIRE=1&FEATURETYPE_ID=2939&VERSION=2.0....
1 vote
1 answer
108 views

Leaflet.js: draw objects into PostGIS database, through Leaflet.draw, WFS-T plugin, GeoServer

I'm trying to draw objects from Leaflet (Leaflet.draw) into a PostGIS database. From https://www.npmjs.com/package/leaflet-wfst it's the Flexberry one if I'm right I enabled JSONP in GeoServer, I ...
0 votes
1 answer
70 views

Using Leaflet.motion plugin on geometry returned by WFS service?

I'm back with my Leaflet.motion service because I'd like to link it to an existing WFS service for easier and live updating. The Javascript plugin for WFS and Leaflet motion are: <script src=&...
0 votes
1 answer
38 views

How to properly craft a LineString CQL for WFS GET filter?

A helper class I'm working on has to make an occasional requests to a GeoServer. These can be GET calls and I'd prefer them to be. These are filtered with CQL. Here is an example, which is returning ...
  • 1,357
0 votes
1 answer
52 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/...
  • 157
1 vote
1 answer
22 views

Get only a filter value ols:PROPERTIES from this API response

curl --location --request GET 'http://localhost:8080/geoserver/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=ols:ols&srsName=EPSG:4326&maxFeatures=1&format_options=...
1 vote
1 answer
56 views

Send a WFS GET request using lat lng information only to get data that are bound with that layer

curl --location --request GET 'http://localhost:8080/geoserver/wms?REQUEST=GetFeatureInfo&SERVICE=WMS&SRS=EPSG%3A4326&STYLES=&TRANSPARENT=true&VERSION=1.1.1&FORMAT=image%2Fpng&...
1 vote
2 answers
57 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/...
  • 21
2 votes
1 answer
49 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 ...
0 votes
0 answers
54 views

QGIS-Server - getPrint does not work if project contains external layer

I want to create a pdf with a get-print request. My project contains layer which are imported from another server via WFS. With this imported layer my request does not work with Format set to pdf but ...
  • 21
0 votes
0 answers
39 views

QGIS: unable to get geometry from WFS

I try to add bicycle lanes (TRASY_ROWEROWE) from a WFS layer from this server: https://wfs.um.warszawa.pl/serwis. After connecting and loading, the layer appears only as an attribute table, but with ...
  • 1
1 vote
0 answers
33 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
41 views

WFS layer with format GML3 is not shown in OpenLayers 6 map

I am using OpenLayers 6.6.1 . A parcel layer is queried via WFS 1.1.0 and output format GML2 respectively 3. If I use GML2.1.2, the parcels are displayed on the map. However, GML2 has a problem with ...
  • 1
0 votes
0 answers
50 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

1
2 3 4 5
27