Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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&

0
votes
1answer
21 views

QGIS: WFS LAYER with BBOX query loads all data (URL works fine in Browser/FME workbench)

I want to pull data from Berlins Geo portal (FIS BROKER). When I do the query in the browser (firefox) or through FME Workbench, it returns fine: Eg.: https://fbinter.stadt-berlin.de/fb/wfs/data/...
0
votes
0answers
16 views

Filter a WFS URL

I have to filter this ArcGIS Online WFS in an URL: https://dservices5.arcgis.com/wbN76kmEQ2ue8VQm/arcgis/services/Protected_Areas_of_Greenland_WFS/WFSServer?service=WFS&request=GetFeature&...
1
vote
1answer
35 views

WFS: how to do relative dates?

How would you query a WFS using relative dates/ranges in a single URL call? For example, I can do this: https://my.server/geoserver/ows?service=WFS&version=2.0.0&request=GetFeature&...
1
vote
0answers
24 views

QGIS Load WFS everytime different Output

I want to load a WFS in QGIS and execute some queries. I tried different versions of QGIS. QGIS 2.18 number of objects: 160036 (first query) QGIS 2.18 number of objects: 80018 (second query) QGIS 3.2....
0
votes
2answers
100 views

GeoServer WFS viewParams for complex features

In GeoServer, I installed an app-schema linked to a PostGIS database. When I call the layer via the WFS GetFeature I have an INSPIRE compliant GML file that looks like (small portion of the GML): <...
0
votes
1answer
300 views

WFS GetFeature from coordinate

I am using Openlayers with Tiled Layers, and when I click on a map (and get the clicked coordinate), I would like to query a (GeoServer) WFS GetFeature service to see if I clicked on a Feature. (I can ...
0
votes
2answers
197 views

How to request WFS propertyName containing parentheses

I'm trying to call getFeature with a list of property names, not including the geometry column. I'm getting this frustrating error message for a property that includes a parenthesis: Requested ...
0
votes
1answer
78 views

GetFeature request issue with WFS

I have this WFS: http://sg.geodatenzentrum.de/wfs_vg1000?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=vg1000:vg1000_sta&MAXFEATURES=5&BBOX=47.567208267268484,10....
1
vote
2answers
261 views

problem with Bounding Box GetFeature WFS

I have a WFS with two different feature types and I am trying to work with BBox. This KVP is working: http://inspire.maaamet.ee/arcgis/rest/services/public/au/MapServer/exts/InspireFeatureDownload/...
2
votes
0answers
189 views

Error WFS (2.0.0) GetFeature spatial query with multi-surface geometries in ArcGIS Server 10.6

In the new version of ArcGIS Server 10.6 it is not possible to request GetFeature WFS with spatial filters with multi-surface geometry. The following is an example of the query: GML3 geometry would ...
3
votes
0answers
172 views

Framing of WFS GetFeature request using polygon intersect filter

I am trying to frame a Web Feature Service GET Request applying the INTERSECT filter but I am getting the following error. : <ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows" version="1....
1
vote
2answers
151 views

How to get a color of a feature?

My code: var inter = new ol.interaction.Select(); inter.getFeatures().on('add', function(event) { var properties = event.element.getProperties(); var coordinates = event.element.getGeometry()....
1
vote
1answer
460 views

Trying to perform A WFS CQL_FILTER for multiple TYPENAMES with different GEOM name identifiers

Using a WFS service https://geo.onroerenderfgoed.be/geoserver/wfs I want to retrieve the features with a CQL INTERSECT query. I need to get results from 2 TYPENAME: vioe_geoportaal:vast_htp,...
2
votes
2answers
476 views

WFS GetFeature request with CQL_FILTERS with SPATIAL OPERATORS does not retrieve correct results

I have a WFS service : https://services.ovam.be/geoserver/wfs?REQUEST=GetCapabilities&SERVICE=WFS Where I'm trying the following: http://services.ovam.be/geoserver/wfs?SERVICE=WFS&REQUEST=...
1
vote
1answer
574 views

How to SortBy a GetFeature WFS request by FeatureId (fid) in XML?

This is my XML for a GetFeature request. I want to Sort By FeatureId (fid) but this doesn't work. I can't find an example of how to format this XML correctly: (SEE THE ogc:SortBy SECTION) <?xml ...
3
votes
0answers
200 views

Stored Query on nested elements from an INSPIRE WFS 2.0 download service

Is there a way to create a stored query from this WFS 2.0.0 service that filters exactly an nested element? http://geoportal.ancpi.ro/arcgis/rest/services/AU/AU_Download/GeoDataServer/exts/...
3
votes
2answers
285 views

WMS returns but WFS does not return same SRS and BBOX values [duplicate]

I am using WMS and WFS services on GeoServer. My WMS query returns the image result for features: http://localhost:8080/geoserver/wms?service=WMS&request=GetMap&layers=Gis:Poi&version=1.1....
2
votes
2answers
333 views

MapServer WFS Request via POST

Using MapServer 6.0.1-2 "<GetFeature service="WFS" version="1.1.0" srsName="EPSG:900913" xmlns:topp="http://www....
4
votes
4answers
482 views

Can any WFS server accept ECQL filter as a POST request parameter

I believe GeoServer requires that filters passed in a WFS POST request are in the OGC XML based format. If you make a GetFeature request to GeoServer using a GET request the filter can be CQL or ...
6
votes
1answer
2k views

GeoServer WFS GetFeature with BBOX returns too many elements?

My data is stored in PostGIS in EPSG:3035, and I query the data using WFS GetFeature as follows (in CoffeeScript) params = { service: 'WFS', version: '2.0.0', request: 'GetFeature', ...
1
vote
1answer
486 views

GeoServer (CQL) query to return just the boundary polygon of a filtered feature

I have a polygon layer (in GeoServer). The goal is to just get the bounding box of a filtered feature. From the (E)CQL docs I thought the boundary filter should do the work, but I could not get it to ...
5
votes
0answers
686 views

WFS GetFeature request failing with srsName

I have a WFS 2.0 GetFeature request that works when I query a point layer but when I use essentially the same request on a line layer it throws the following error: Error: JSON does not allow non-...
1
vote
1answer
96 views

Filtering WFS exposed data in GeoServer?

I want to create web map of the recycling facilities that will display the nearest facilities with the information on what can be recycle as well as enable the user to search for facilities that ...
4
votes
1answer
434 views

Parametrized SQL Views with GeoServer and WFS

I ran into this problem that is (almost) nowhere on the internet and thought I'd share the solution. GeoServer supports parametrized SQL views for Web Feature Services (WFS) but the documentation ...
0
votes
1answer
642 views

WFS - GetFeature by Polygon Intersects

I need to get features by following URL: http://services.land.vic.gov.au/catalogue/publicproxy/guest/dv_geoserver/wfs?service=WFS&request=GetFeature&typeName=datavic:CROWNLAND_PLMGEN& I ...
3
votes
1answer
1k views

How to do a WFS version 2.0.0 GetFeature request with OL3?

How to obtain information about the feature WFS layer in different versions of WFS 1.0.0 / 1.1.0 / 2.0.0 ? The OL documentation says Feature format for reading and writing data in the WFS ...
1
vote
0answers
27 views

WFS altimetric curves that intersect geometry?

I have a WFS with altimetric curves and I would like to perform a spatial query. I would like to load from the WFS only curves that intersect or overlap a geometry from a shapefile, so only curves of ...
2
votes
1answer
434 views

Is there a way to enable CSV or JSON output formats for MapServer WFS GetPropertyValue requests?

In a MapServer map file, it is possible to set up a variety of output formats for WFS GetFeature requests. However, it doesn't seem possible to do the same for a WFS GetPropertyValue request, which ...
1
vote
1answer
548 views

Add WFS layer (JSON) in Leaflet using Leaflet layer tree control

I'm using the layer tree control to manage the display of layers. When I add WMS services, it works fine. But when I add WFS, this is not loaded. I'm using the Leaflet layer tree plugin code and ...
0
votes
1answer
538 views

Android call WFS GetFeature Service returns empty

I am trying to call a WFS GetFeature service to "implement" onClick get feature attribute popup (info window) but I am getting empty JSON. Here is WFS link that I am calling: http://geo-polis.gistemp....
1
vote
0answers
124 views

QGIS 2.12 Server returns empty WFS data

On Windows 7, QGIS 2.12 Server returns no features on a GetFeature WFS request while WFS DescribeFeatureType request and WMS requests are OK. Does anybody have similar problems with QGIS server 2.12 ?...
2
votes
1answer
536 views

Lat/Long WFS GetFeature query - ArcGIS verses GeoServer geospatial data servers

We could be querying a GeoServer or ArcGIS server for WFS features (v1.1.0). However I'm finding that GeoServer takes the envelope bounds in LONG/LAT and ArcGIS takes them in LAT/LONG. The use of ...
1
vote
1answer
678 views

WFS version issue with DWITHIN CQL_FILTER in GeoServer

If my WFS version is 1.0.0 as below: service=WFS&request=GetFeature&version=1.0.0&typename=XXXX&outputFormat=json&srsname=EPSG:3857&cql_filter=DWITHIN(geometry,POINT(63....
1
vote
1answer
516 views

DWITHIN ECQL query of WFS is not working properly

I don't know where I am making mistake. And my URL is returning all values of the feature layer: queryRequest: function (layer) { if(layer!= null || layer!= undefined){ ...
0
votes
1answer
1k views

Using GeoServer WFS to GetFeature by clicking on the map

Can someone point me to document of crafting a GeoServer WFS GetFeature request with CQL_Filters? I've already read the GeoServer CQL_Filter Geometric filter section I have a GeoServer WMS set up to ...
3
votes
1answer
37 views

GetFeature throws IndexOutOfBounds exception

I can run a query like this using WFS 1.0.0 and 1.1.0 (the response is slightly different). But, why do I get IndexOutOfBounds exception when I try with WFS 2.0.0? http://localhost:8080/geoserver/...
3
votes
1answer
3k views

WFS GetFeature query where typeName is a Layer Group not a Layer

I am loading layers in OpenLayers, and dynamically building a protocol for "identifying" elements in that layer when the user clicks the map, and that layer was the selected "Identify" layer. This is ...
1
vote
0answers
876 views

Download WFS features as shapefile using ArcGIS Server

I've been looking everywhere for a way to output a shapefile in ArcServer. A sample ArcServer WFS GetCapabilities response says all the output is either in GML, KML, or JSON. This is is very easy ...
0
votes
1answer
407 views

Use cql_filter with several parameters

I retrieve a specific feature from my WFS Layer with a GetFeature request: request=GetFeature&cql_filter=myattr1=x& Now, I want to filter for two attributes, thus, I make: request=...
1
vote
1answer
2k views

DWithin WFS filter is not working

I'm new to GeoServer andI want to buffer an area around a point. I'm using a DWithin WFS filter but not getting any results. Please tell me the correct format to use DWithin. My GET request: http://...
3
votes
1answer
1k views

CQL_FILTER that joins two feature types in WFS

I want to join two feature types in my WFS in a union. How can I achieve this using CQL? E.g. http://localhost:8080/example/ows? service=WFS& version=2.0.0& request=GetFeature& srsName=...
2
votes
0answers
380 views

GeoServer WFS 2.0 CSV output multiple features/typeNames

I'm setting up an export function so that users may download data from a GeoServer WFS 2.0 service in a variety of the supported formats. The service has multiple FeatureTypes which should be ...
1
vote
1answer
670 views

GeoServer WFS 2.0 GetFeature query with wildcard for typeNames/featureTypes

Just looking through GeoServer docs trying to find a way to construct a WFS 2.0 query to get all features within a BBOX - regardless of feature type. The service I'm consuming will be changing over ...
4
votes
3answers
7k views

Specifying input coordinate reference system for WFS?

GeoServer allows to specify output CRS by parameter srsName in WFS GetFeature. Is there a way to specify the input CRS? I am displaying layers of different CRSs in my map - all reprojected to EPSG:...
1
vote
1answer
552 views

How to invoke a WFS service from command line?

I've the following WFS GetFeature request... http://map.sitr.regione.sicilia.it/ArcGIS/services/CART_2000/Numeri_Civici/GeoDataServer/WFSServer?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&...
1
vote
2answers
377 views

OpenLayers WFS GetFeature large amount of data

I am using WFS GetFeature request to GeoServer from OpenLayers application. And highlight different color that return features on map. This is working fine for 990 records. But not returning for 1800 ...
1
vote
1answer
198 views

Can you have a GetFeature response from GeoServer without coordinates in the response?

I have following URL of a GeoServer WFS layer; it takes very long time to get a response http://54.225.240.244:8080/envision/BaseMaps/ows?service=WFS&version=1.0.0&request=GetFeature&...
2
votes
1answer
2k views

How to make a WFS request to GeoServer with OpenLayers 3

This is OpenLayers 2 code I'm upgrading to OpenLayers 3 (OL3). A set of filters (for example fromDate and toDate to for query) are created and inserted. How can I do this in OpenLayers 3? I have a ...
2
votes
0answers
417 views

How to prevent an IllegalArgumentException with GeoTools WFS GetFeature request? [closed]

I want to retrieve the feature Collection from a WFS server with the Java library GeoTools. I tried this code, but unfortunately the program fails to execute. public class App { public static void ...
0
votes
1answer
157 views

GeoServer features in layers are not displayed in GML when requested by their FeatureID

My GeoServer WFS service behaves strangely: http://myserverurl.de/geoserver/my:layer/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=Ahaus_neu:Graeber&maxFeatures=50& I ...