Questions tagged [getfeature]
GetFeature is a request parameter value used as part of a request to a Web Feature Service (WFS) to retrieve feature data. Usage: request=GetFeature&
152
questions
0
votes
0
answers
14
views
Calling Filter Encoding Specification function Centroid breaks on error while making WFS request
I'm trying to include centroid data in WFS response by utilizing Filter Encoding Specification(FES) function called Centroid.
/geoserver/wfs?service=wfs&version=2.0.0&request=getFeature&...
1
vote
1
answer
80
views
WFS GetFeature outputformat
If I execute a WFS GetFeature request on a QGIS Server, specifying outputformat=application/json and srsname=EPSG:32633, I obtain result in EPSG:4326; if I omit outputformat to obtain result in GML ...
1
vote
1
answer
110
views
How to filter by a list of values in a WFS request?
I'm using the following GetFeature POST request (to http://localhost:8080/geoserver/wfs) trying to query the sample "bugsites" layer that ships with GeoServer. The request is supposed to ...
1
vote
1
answer
103
views
How to filter by date in a WFS request?
I'm using the following GetFeature request to filter features by a date field. (The layer is, for testing purposes, hosted by a local GeoServer instance and its data is stored in a GeoPackage file on ...
0
votes
0
answers
66
views
Import features QGIS WFS
I am trying to import features via the WFS. I can connect and it shows me the layer names. However, depending on what layer I choose it just adds a table, sometimes with giberish as content, sometimes ...
0
votes
1
answer
119
views
Filtering with a WFS GetFeature request
At the moment I am working on a school project and I want to customize a WFS-url.
The WFS-url (https://service.pdok.nl/lv/bag/wfs/v2_0?request=GetCapabilities&service=WFS) shows five featureTypes ...
0
votes
1
answer
148
views
EPSG transformation just swaps coordinates in GeoServer GetFeature request
First time I've done much of this so I may not be using the correct terminology.
Also, I'm aware it could probably be resolved with post processing, but I'd like to fix it with this context, if ...
0
votes
0
answers
52
views
Double Colon in WFS GetFeature Request Causes Issue
When using QGIS 3.28.3 to query for a feature layer via a WFS GetFeature request, the request fails and the following in in the QGIS log:
WFS exception report (code=none text=The value for parameter ...
2
votes
1
answer
309
views
Geoserver exception when requesting paged results: Failed to get property: boundedBy
Any clues as to what might be going wrong here?
We are running the following Geoserver:
GeoServer Version
2.22.2
Git Revision
78e7383a361356dabfc16b992ebcb0d9e623b831
Build Date
17-Feb-2023 17:46
...
0
votes
2
answers
623
views
Using filter on WFS
We used to use this WFS-URL in a Python script with a filter on (see below) to filter out features in a certain geographical area, more specifically our town-borders.
https://geoservices....
1
vote
0
answers
176
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
140
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 ...
4
votes
1
answer
324
views
QGIS-Atlas get feature with multiple values
I am looking for an expression to get_feature with two values from two different fields.
At its core is the question:
How can I transform a chain of values which define a point into a valid geometry ...
0
votes
2
answers
820
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
402
views
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:
<...
2
votes
1
answer
427
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
0
answers
33
views
Repetitions on regexp_replace [duplicate]
I'm using regexp_replace to replace expressions like 'Xm1 and Xm2'but also 'Xm11 and Xm2' or 'Xm22 and Xm11' with a text i have on a spreadsheet;
Basically i want to make a VLOOKUP on Qgis between the ...
1
vote
0
answers
403
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
&...
1
vote
0
answers
311
views
Limiting loaded feature from WFS to the extent of feature in another layer with SQL
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: ...
0
votes
0
answers
825
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 ...
6
votes
1
answer
970
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
...
3
votes
1
answer
1k
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
0
answers
153
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
2k
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
1
answer
2k
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 ...
0
votes
0
answers
939
views
WFS GetFeature with coordinates get response without geometry
I'm working on a ReactJS project that used OpenLayers for displaying map. When app users are in map component, they can click on the specified address (coordinates) represent on the map and get the ...
3
votes
0
answers
292
views
GetFeature URL not UTF-8 which leads to an error
I'm cascading an external WFS to my own WMS and ran into this. The external WFS uses å in a property name. Which the GeoServer has no trouble reading into my layer and I can see the geometrics in a ...
2
votes
1
answer
1k
views
Using a CQL Intersects filter with WFS GetFeature request in JavaScript
I am using OpenLayers to create a web app which allows users to define a polygon as an area of interest, and then query the features which fall within the bounding box and return the data to present ...
0
votes
1
answer
145
views
GeoServer - Can't find a response parser factory for GET_FEATURE/'text/html'
I am rerouting my GetFeature-Request using a Proxy-Script. The Script is returning the feature collection as an xml but I can not see them when using the layer-preview and get an error:
Can't find a ...
0
votes
2
answers
667
views
AUTHORITY:NUMBER error in GeoServer request with bbox filter
I am trying to get some features from GeoServer if they are inside a certain area, after making a request to the local GeoServer I get the following error:
org.opengis.referencing....
2
votes
2
answers
2k
views
How do I filter WFS GetFeature results?
I am new to GIS. I am trying to work out how I can return a limited set of results for the WFS GetFeature query.
For instance, what is the URL to only return results where the ADD_POSTCODE is 3350 ? ...
0
votes
0
answers
223
views
WFS filter without specifying exact geometry structure
I'm trying to query a WFS-server for polygons with an Intersects-filter. The problem is that the server does not recognize "MultiSurface" or "surfaceMember" objects in a query, ...
1
vote
1
answer
202
views
QGIS 3: WFS and local shp
I am new with using WFS layers.
My issue is the following :
I have a local shapefile which contains a column with a unique id for each entity. I would like to download from a WFS only the vectors that ...
1
vote
0
answers
594
views
GeoServer and Leaflet GetFeature problem with bounding boxes on click location
I have a Leaflet map with WMS layers from GeoServer. I want to click on a determinate location and make a GetFeature request to GeoServer so that I can show a GeoJSON on Leaflet of the features ...
2
votes
1
answer
744
views
BBox and GetFeature
I have connected my PostGIS data to GeoServer and I want to GetFeature with a OpenLayers user created BBox. I have implemented a BBox to my app like this:
var select = new ol.interaction.Select();
map....
0
votes
0
answers
1k
views
WFS GetFeature with cql_filter=Intersects not working for cascaded layers
I have a cascaded (WFS store) layer in my GeoServer. I want to download the data of the layer in Excel format for a provided polygon. In a normal scenario I export the data as below:
https://my-...
5
votes
1
answer
4k
views
WFS GetFeature with propertyName get response without geometry
I have a WFS request send to a GeoServer:
http://localhost:8600/geoserver/aa/ows?service=WFS &version=2.0.0&request=GetFeature&typeNames=aa:bb&outputFormat=json&propertyName=attr1,...
1
vote
1
answer
457
views
Intersects filter in WFS
I try to use Intersects filter but I get an empty geometry in return. What did I miss in the syntax?
https://data.gov.au/geoserver/brimbank-stormwater-pits/wfs?request=GetFeature&version=1.0.0&...
2
votes
1
answer
2k
views
Sending GetFeature request to GeoServer WFS using POST starting from a JSON like data object
Looking at this older question, I'd like to know if it is possible to make a POST request to retrieve features from a GeoServer WFS starting from a JSON data object.
I have this data object which I'd ...
1
vote
1
answer
2k
views
GeoServer WFS getFeature POST responds exceptionCode="NoApplicableCode", Error occurred getting features [closed]
I am trying to make a getFeature POST request to a WFS published with GeoServer with OpenLayers like so:
getWFSFeatureFromCoord(map: Map, coord: Coordinate): void {
const baseUrl = environment....
2
votes
1
answer
224
views
Joining attributes from point layer to line layer which the endpoint's geometry matches the point geometry
In QGIS 2.18 I have 2 layers, one is a multiline layer and the other is a point layer.
The point layer contain every endpoints of that multiline layer and saved some of the point's own attributes.
I'd ...
4
votes
1
answer
1k
views
QGIS: How do I specify the layer for an get_feature expression in the model builder?
I'm trying to calculate a field (Field calculator 2) in the model builder with an get_feature expression which should look something like this attributes(get_feature('LandUse_TD_HYBAS_dissolved_calc', ...
0
votes
2
answers
656
views
WFS query do not preview all records for GeoJSON file
I am running a GetFeature request against a WFS server which does not support to download all data at once. I have 910 features and only 200 are visualized. Here is what I tried:
http://localhost:8080/...
0
votes
1
answer
998
views
GetFeature WFS request with Spatial Filter throws 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
1
answer
568
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 ...
1
vote
0
answers
113
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 ...
1
vote
1
answer
1k
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
0
answers
106
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: ...
2
votes
0
answers
327
views
Exporting QGIS layer as shape through REST API
I would like to export a layer described in QGIS Server project file as Shape through REST API. For example GeoServer's GetFeature accepts outputFormat parameter value shape-zip which in turn returns ...
1
vote
0
answers
391
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 ...