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
1answer
25 views

GeoServer v2.14 Responses to DescribeFeatureType Requests

A browser's (Chrome) DescribeFeatureType request to GeoServer version 2.12 returns an inline XML response in the browser's window. Using that same browser to send a DescribeFeatureType request to a ...
0
votes
0answers
19 views

How to display points from Geoserver WFS on OpenLayers map [duplicate]

I'm try to display my points set from Geoserver in Openlayers map. I want to use WFS service, but at the moment I see one point, additionally in wrong place! I want to display all at EPSG 4326. I ...
-2
votes
0answers
28 views

I am trying to execute WPS using owslib “gs:UnionFeatureCollection” from GeoServer in Python and getting Bad request error [closed]

from owslib.wps import WFSQuery, WFSFeatureCollection from owslib.wps import WebProcessingService from owslib.wps import printInputOutput from owslib.wps import monitorExecution wfsUrl = "http://...
0
votes
0answers
24 views

WFS 2.0 with get request outputformat gml3 returns body using wfs 1.1.0 schema, is this expected?

I am making GET requests against a wfs service specifying version 2.0, when I do not specify an outputformat in the request it returns a body using the schema namespace for wfs 2.0 (wfs:), when I ...
0
votes
1answer
48 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
votes
0answers
19 views

General standard for loading WFS layer on leaflet Map [duplicate]

I've been trying to load wfs layer on leaflet map irrespective of the Provider Server (eg. MapServer, GeoServer or ArcGIS). in fact I need a general standard code in javascript and leaflet to handle ...
-1
votes
0answers
47 views

Is there any WMS/WFS to get soil data of US?

I am developing a QGIS script that requires Soil Data as Input. Without automation one can go to this link, upload Area of Interest Boundary, and download the data. https://websoilsurvey.sc.egov.usda....
2
votes
1answer
36 views

GeoServer WPS request “Failed to retrieve value for input geom”

I am trying to do a buffer with WPS request builder of GeoServer. I copied the URL of the gml3 output in GeoServer: and I pasted it as the input URL I ran the process and I received the following ...
1
vote
2answers
45 views

How to use SQL view request for WFS from GeoServer: Apply PostGIS function depending of zoom

I have a task to allow a single WFS request to return two different responses depending on zoom: return usual SELECT * FROM table if zoom level >n and return SELECT ST_SimplifyPreserveTopology(geom, ...
2
votes
0answers
13 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
0answers
25 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 ...
0
votes
0answers
14 views

Why returns the GetFeature operation a limited selection of features from the data source?

The query GEOSERVER/wfs?service=WFS&request=GetFeature&version=2.0.0&typeNames=EKR_ALKIS:sg_flurstueck_f shows me only 4 features. But there are significantly more features in the data ...
1
vote
1answer
13 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="...
3
votes
1answer
39 views

WFS and Geoserver - what exactly is FES and what is the correct syntax?

If I want to list stored queries I get this error: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 735; The element type "null:ValueReference" must be terminated by the matching end-tag "&...
1
vote
2answers
26 views

WFS Stored Query: RuntimeException: Parsing failed for PropertyIsEqualTo: java.lang.IndexOutOfBoundsException

My goal is to filter data using WFS and Stored Queries. I want to set the value for 4 properties via a GET variable in the URL and filter them with AND. I started with on property. When I am trying to ...
1
vote
1answer
29 views

Get label pop up on active layer only

I have this layer from Geoserver which I overlay in PNG Format on my leaflet map: ///// Geoserver Layers in WMS format var pop_tot = L.tileLayer.wms("http://localhost:8081/geoserver/cite/wms", { ...
1
vote
1answer
12 views

How can I check if a WFS Stored Query has been created and if it has been created correctly?

I have created a Stored Query. function CreateStoredQuery() { var CreateStoredQueryRequest = $.ajax({type: 'POST', url: 'http://172.16.206.129:8080/geoserver/KRE_ALKIS/...
2
votes
0answers
19 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. <?...
1
vote
0answers
29 views

How to query data from the WFS Server via the request `GetFeature` using StoredQuery

I managed it to set up a WFS StoredQuery. The Request ListStoredQueries shows my new created query with the id test and another StoredQuery that was on the server - i did not build this. <?xml ...
1
vote
0answers
16 views

How to use WFS Request CreateStoredQuery

I would like to filter by WFS. I started with the request CreateStoredQuery. I created this file. <html> <head> <title>WFS Test</title> <script src="...
1
vote
1answer
28 views

WFS - Which values should I enter as `namespace` and `featuretype` - Where can these values be read?

I like to use WFS - GetFeature request, that should return a selection of features from a GeoServer data source. The request http://localhost:8080/geoserver/wfs?service=wfs&version=2.0.0&...
1
vote
1answer
37 views

WFS DescribeFeatureType

Here I read, that the WFS-Request DescribeFeatureType requests information about an individual feature type before requesting the actual data. Because I want to inform myself about the FeatureType ...
1
vote
1answer
23 views

How do I find out how to put together a WFS GetFeature query?

I am new with WFS and GeoServer. My goal is to search objects on a GeoServer via WFS. To get started, I use the documentation. I already have problems at the beginning. The request http://...
2
votes
2answers
40 views

Programmatically defining WMS/WFS sources?

I would like to locate a QGIS project on a shared ressource. This project makes use of WMS / WFS data. Is there a way at project opening to programmatically define theses sources (if not existing on ...
0
votes
0answers
20 views

ogr2ogr MSSQLSpatial ERROR 1: Got Multipolygon geometry as polygonMember instead of MultiPolygon

I'm very new to using ogr2ogr so I hope I've provided enough detail to my problem. It's worked in the past. I'm trying to retrieve GIS data from a WFS feed and saving it into SQL using the following ...
0
votes
0answers
24 views

QGIS2.18.27 changelog

I know it is an old version, but I have a plugin that works fine on 2.18.16 (developed in 2.18.15), but it won't work on 2.18.27 and above. I am hoping that the changelog might help me figure out why, ...
0
votes
0answers
15 views

WSDL & XSD files for WFS and WMS services

I am working on creating a proxy for OGC WFS and WMS services using C#.NET WCF service. For that purpose, I need to create a reference to a WFS service so that I can get its classes and data types (Or ...
1
vote
1answer
24 views

WFS getFeature request no longer working [closed]

I am trying to do a GetFeature with this parameters: POST request: Url: https://inspire.navarra.es/services/CP/wfs Body: <GetFeature xmlns="http://www.opengis.net/wfs" service="WFS" version="...
1
vote
1answer
47 views

WFS from PostGIS view

It is not possible to see in QGIS 3.4 data in WFS service from PostGIS view, it is only possible to see data in services created from tables. Is it not possible to create services from SQL views?
1
vote
0answers
21 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 ...
0
votes
1answer
94 views

Publish WFS from PostGIS SQL view [closed]

I am trying to create a public WFS service with GeoServer from a PostGIS SQL view, but this does not load in QGIS. If I publish from a PostGIS table the WFS service is loaded normally. Is it possible ...
1
vote
0answers
46 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 ...
0
votes
0answers
19 views

GeoServer GetFeatureById Stored query not working

I can't get the stored query GetFeatureById to work. The GetFeature request with id works: https://opendata-view.smhi.se/svar2012_coast-sea/wfs?service=WFS&request=GetFeature&typeNames=...
0
votes
0answers
24 views

Creating a buffer around point features in GeoServer and serving it as WFS

I am using an old version of MySQL that does not support buffer process. I want to publish the data in the internet using GeoServer. In addition, I need to create a buffer around each point of danger ...
1
vote
0answers
41 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 ...
1
vote
1answer
26 views

Limit WFS GetCapabilities document

Does anyone know if you can limit what's shown in the GetCapabilities document for a GeoServer WFS service? I have restricted the workspace to read only mode (..r=* and ..w=NO_ONE). I hoped that ...
0
votes
0answers
12 views

WFS metadata open in MAP

I am working to replace our current version of GeoNetwork 2.8 to 3.6. We currently have WMS, WMST, and WFS type metadata. For WMS files when we change his link in the metadata register (in resource ...
1
vote
1answer
45 views

How to select only one feature of a vector layer from a drop down list using OpenLayers?

I am working on a project using OpenLayers(v5.3.0) and javascript which displays a vector layer. Using a dropdown list , vector layer features can be selected. Now the project works like, when I ...
2
votes
2answers
29 views

Feature becomes invalid when reading through WFS/GML in GeoServer [duplicate]

I'm working with the TIGER shapefiles, specifically the Tract layer, and my I'm trying to read selected features via WFS using GeoServer, then save those to a new layer. However, when the shapes come ...
0
votes
0answers
46 views

QGIS Cloud: WFS error Download of capabilities failed: Protocol “” is unknown

I published a map with several vector layers from QGIS 3.4 to QGIS cloud (with the plugin).I activated WFS in the project proerties. However, when I try to connect to WFS in QGIS desktop, the ...
2
votes
1answer
49 views

Layer displaying correctly with OpenLayers and GeoServer as WMS but giving CORS error when trying to display the same layer as WFS

I have the following map which works perfectly: import 'ol/ol.css'; import {Map, View} from 'ol'; import TileLayer from 'ol/layer/Tile'; import TileWMS from 'ol/source/TileWMS'; import BingMaps from '...
0
votes
1answer
40 views

GeoServer Timestamp/Timezone error convert

Date format in PostgreSQL, -> 2019-10-30 08:46:44 Created WFS, but got a problem. GeoServer is converting the date. I think it somehow something with timezones. Output WFS -> 2019-10-30T07:46:44Z ...
1
vote
1answer
24 views

Getting strange exception since switching to GeoServer 2.16 from 2.8 with WFS queries in OpenLayers 2

Here is the error in the GeoServer log (as it is returned to the caller): 2019-10-28 17:03:59,021 INFO [geoserver.wfs] - Request: getServiceInfo 2019-10-28 17:03:59,053 ERROR [geoserver.ows] - ...
1
vote
1answer
34 views

Display the gml:id of WFS layer as an attribute in QGIS

I have loaded a WFS layer in QGIS and want to display the gml:id of the features in the attribute table. Is this somehow possible? I can see the gml:ids in other applications (ex FME).
1
vote
0answers
41 views

ArcGIS Pro, WFS error, wrong place!

Created a local WFS layer with GeoServer. Loading in ArcGIS Pro seems, X and Y turned and rounded!?? Features are all in Holland with 4,xxxx and 51,xxxxx So now all the records come in rounded 51,...
1
vote
2answers
91 views

Save WFS (~100000 features) as geopackage with QGIS

I am trying to load a WFS (address: https://fbinter.stadt-berlin.de/fb/wfs/data/senstadt/s_fb_berlinbtk) into QGIS 3.4 in order to save it as a geopackage. I can connect to the WFS but adding it ...
1
vote
1answer
64 views

Access WFS with authentication from PyQGIS

I struggle with accessing a WFS (Cyclomedia Atlas Recordings) with the following code from a PyQGIS plugin: import urllib.parse from qgis.core import QgsVectorLayer, QgsDataSourceUri wfs_params = {'...
0
votes
0answers
81 views

OpenLayers performance issues adding features to vector layers

I have a fairly standard looking setup (standard in my eyes) but my performance is dreadful. My issue is that any fix stands me up for a fairly large reactor so I was hoping to get some advice. I ...
0
votes
0answers
21 views

ArcGIS Server WFS 2.0.0 GetFeature request responds with mimetype text/xml

My ArcGIS Server GetFeature request to WFS 2.0 responds with Content-type text/xml in the header, even if the WFS GetCapabilities response claims, the output should be application/gml+xml; version=3.2 ...
0
votes
1answer
51 views

Displaying Layer Group in QGIS Server with WFS?

I want to display layers with QGIS server, but the group layer doesn't get displayed, instead I get a bad request response from the server: The request: http://myserver/cgi-bin/91589/qgis_mapserv....