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
0answers
12 views

WFS Service CRS error, swapped coordinates?

I'm having trouble getting the USDA WFS services described here to display features in QGIS. I've used various versions of this as my WFS service URL: https://sdmdataaccess.nrcs.usda.gov/Spatial/...
0
votes
1answer
31 views

DWithin implementation in GeoServer

I have a question about GeoServer comportment when sending a GetFeature request with a DWithin filter. <wfs:GetFeature version="2.0.0" service="WFS" outputFormat="JSON" count="10" xmlns="http://...
0
votes
1answer
21 views

New GeoServer WFS error NoSuchAuthorityCodeException

What is causing this error? org.opengis.referencing.NoSuchAuthorityCodeException: No code "EPSG:4326," from authority "European Petroleum Survey Group" found for object of type "IdentifiedObject". ...
-2
votes
1answer
63 views

Obtain data attributes from a WMS/WFS? [closed]

I'm new to QGIS and also new to Geographic Information Systems vocabulary so I have been learning with practice. I'm working on a map which is only available at ESRI REST, WMS and WFS extensions. I ...
1
vote
1answer
28 views

GeoServer upgraded to 2.17, WFS extra dimension returned in linestrings, causing exception Invalid ordinate index: 3 calling geom.Coordinate.setM() [duplicate]

I've recently upgraded an older Geoserver from 2.8 to 2.17. I simply downloaded the latest WAR file. When it started, it used the same data_dir folder, and all looked great. This may be relevant to ...
1
vote
2answers
55 views

Vector layer from MapServer WFS not displaying in OpenLayers 6

I want to display a WFS layer in GeoJSON format on my map via OpenLayers. All my layers in WMS appear, only the one in WFS does not appear. I did create a "WEB" block in the mapfile. And my layers are ...
0
votes
0answers
5 views

WFS Spatial Filter Help

I'm trying to add a WFS layer to an AGOL web map and filter it to only display data within 2km of some polygons that I have in my content. I've managed to load the WFS Layer but not sure how to ...
0
votes
0answers
19 views

Soil Data WFS accepting request in WGS84 but not in NAD83

Soil Data has two WFS servers. https://sdmdataaccess.nrcs.usda.gov/WebServiceHelp.aspx I have made a successful URL to request from WGS84 server: https://sdmdataaccess.sc.egov.usda.gov/Spatial/...
1
vote
1answer
25 views

OpenLayers style doesn't work on certain GeoServer WFS layer

I want to change styling of the GeoServer WFS layer using OpenLayers. The problem is, there is a layer that the style can be changed, but there are other layers that can't be changed. Using this code ...
0
votes
0answers
36 views

How can I convert polygon features stored in Shapefile, GeoJSON or GML (over WFS) into obj file

I am currently working on an augmented reality application using ARKit. The required file formats are DAE or OBJ. My clients would like to display information stored within Shapefiles, GeoJSON or GML ...
0
votes
0answers
20 views

Missing gml_id when using ogr2ogr from WFS to PostGIS / GPKG / GML

I am trying to find the way to download on our PostgreSQL+PostGIS database the content of several WFS at regular intervals. It has to be done at regular intervals so we want to the whole thing to be ...
0
votes
1answer
49 views

GetFeature WFS request with Spatial Filter throws an error

I'm using the following request in order to get the closest feature from a layer given some specific coordinates: http://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_PPHH_2012/wfs?&VERSION=...
1
vote
0answers
18 views

GeoServer WFS buffer function

I am trying to check intersection with buffered area of shape: --This works &cql_filter=INTERSECTS(shape, POLYGON((-90 40, -90 45, -60 45, -60 40, -90 40))) --This does not &cql_filter=...
0
votes
1answer
35 views

GeoServer Microsoft SQLServer view not visible as WFS

I am running a GeoServer 2.16.2 that connects to a Microsoft SQL Server 2008 database using the SQL Server extension and the Microsoft JDBC Drivers. Java Version: AdoptOpenJDK: 1.8.0_242. I can ...
0
votes
0answers
12 views

Return the intersection geometry from a GeoServer WFS service

The behavior I'm looking for Suppose I have a layer called 'states' in GeoServer exposed as a WFS. With the attributes 'name' and 'geometry'. Ex: Name: 'Texas', Geometry: 'a polygon representing ...
0
votes
0answers
57 views

OpenLayers 4 - select and highlight feature by attribute not working

I am working on a web app using OpenLayers 4.6.5, with a WFS layer from PostgresSQL via GeoServer 2.5. I first click and use forEachFeatureAtPixel to get all the feature names at a given location. ...
0
votes
0answers
22 views

Is there a workaround to get WFS 'FeatureTypes' in a list with Python? I get timeout issues etc. with OWSLib

I have successfully been able to get the Feature type list from below answer, but only for smaller WFS datasets. Importing all layers available on server for WFS in PyQGIS? I need a workaround to ...
1
vote
1answer
36 views

Geoserver WFS GetFeature query that matches entire word in string

I am trying to write a WFS getfeature query for some GeoServer JSON data that returns features that match a part of a string only if the entire word matches. The word can be in the start, middle, or ...
0
votes
1answer
32 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
0answers
28 views

GeoServer OpenLayers and WFS Performance

Currently I'm using GeoServer to dispatch WFS GeoJSON data to OpenLayers using Bbox strategy, the map is made of a WMTS base layer via loaded via MapBox API, although the WFS layers are not so big ...
1
vote
1answer
23 views

Error Loading .xml file to WFS in QGIS

In this link xml-link, there is a .xml file from a website (WFS) which contains vector data regarding water bodies for a specific area. I saved it as .xml by just right-clicking -> "Save as" and I ...
0
votes
1answer
51 views

GeoServer Application Schema GML output without geometry

I am working on an Application Schema example. The dataset is being built, the layer will be rendered as WMS, but the WFS-GML Output produces an empty tag where a Point geometry would be expected. I ...
0
votes
1answer
60 views

Reading composite types of PostgreSQL in GeoServer or MapServer?

I'm creating a data model with user defined types (Composite Types) https://www.postgresql.org/docs/10/rowtypes.html to implement INSPIRE EU Data Model. And I want to publish my data with Web Feature ...
0
votes
0answers
29 views

QGIS Ubuntu 3.4 SQL Query Composer in WFS Connection Dialog

The QGIS 3.4 documentation mentions the procedure of filtering the features of a WFS through the connection dialog box either by double-clicking on the layer of interest, or by clicking the "Build ...
2
votes
0answers
60 views

Using WFS-Transaction to update attribute's value of certain feature?

I want to edit the attribute's value of certain feature. I have managed to display the feature data from GeoServer layer to browser using OpenLayers. I also have managed to display some feature's ...
1
vote
0answers
33 views

Adding Geomedia WebMap WFS to ArcGIS Online maps

I'm having troubles adding a WFS layer, published through Geomedia WebMap, to an ArcGIS Online map. It recognizes the URL and the layer of the features, but doesn't show any features in the map (or in ...
0
votes
0answers
39 views

WFS request using layer extent or spatial query QGIS3

I'm trying to request features from wfs-service by using a virtual layer. Is it possible to load features by using a layer extent from a virtual layer? I know how to add dimension for a request with ...
1
vote
1answer
67 views

Equivalent of GetFeature POST request using GET? GeoServer

Right now I'm making GetFeature requests using WFS with http POST method. Due to project requirements I need to make these requests using GET method. I'm facing serious issues traslating the POST ...
1
vote
0answers
35 views

WFS-T returns 'Success' but doesn't delete feature

I have a layer on my local GeoServer. I have published it, now I can successfully access it with WFS operations (DescribeFeatureType, GetFeature etc.). I have also enabled the transactions on WFS and ...
0
votes
0answers
24 views

Change WFS data source / Authentication

My objective is to make a .qgs project with a series of pre-set WFS layers which is ready for other people to use. The WFS is linked to accounts and therefore requires authentication. After I made ...
1
vote
0answers
34 views

WFS GetFeature request with box failed on OGR datastore [closed]

I prepared an OGR datastore and imported features from a GeoJSON data set using REST. If I now send a wfs?request=GetFeature&bbox=....., I get an error message: java.lang.NullPointerException: ...
0
votes
1answer
57 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 ...
0
votes
0answers
30 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
131 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 ...
0
votes
1answer
78 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
88 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
83 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
15 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
45 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
16 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
25 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
63 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
46 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 ...
2
votes
1answer
70 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
31 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
28 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
45 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
23 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
72 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
2 3 4 5
22