Tagged Questions

Web Feature Service (WFS) specification. This is an open specification for serving geographic features over the Web.

learn more… | top users | synonyms

1
vote
1answer
11 views

GeoServer gives No XSDElementDeclaration found Exception

I have added the following WFS source to the Stores in GeoServer. http://geoservices.rijkswaterstaat.nl/verkeersscheidingsstelsel_noordzee?service=wfs&version=1.1.0&request=GetCapabilities ...
0
votes
0answers
18 views

use geoserver as source of vector layer in ol3

I am using postGis and geoserver and Openlayers3 (OL3), I connected postgis table to geoserver and published my layer. I am using following code to get the layer as vector layer: var vector = new ...
0
votes
0answers
25 views

Longitude and Latitude Mixed Up on Map

I am trying to map a WFS layer with data originally coming from a PostGIS table, and using a OpenLayers 3. At some point in this process, I believe the longitude and latitude coordinates are getting ...
0
votes
0answers
20 views

How to make a wfs request to Geoserver with Openlayers 3

This is OpenLayers 2 code I'm upgrading to Openlayers 3. 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 set of ...
0
votes
1answer
19 views

How do I use a filter on an uncached WFS layer in QGIS?

I am trying to create a filter to show only specific features based on an attribute query within a WFS using QGIS. This works fine when using the standard WFS loader and creating a filter (based on ...
0
votes
1answer
9 views

Openlayers stylemap label not working wfs

I have created a style map like following: var scadaPointStyle = new OpenLayers.StyleMap({ "default": new OpenLayers.Style("null", { "rules": [ new ...
1
vote
1answer
36 views

QGIS WFS-T not updating data

I have asked for help on this topic a few times, but i'll go one more time; with a bit more info. I am trying to edit a WFS from geoserver (using PostGIS data) within QGIS. This is the request as ...
0
votes
1answer
11 views

Geoserver intersect filrter error with sql view publish

I have created a geoserver service with sql view. The service is serving rivers. I want to select rivers in a polygon. So I am trying geoserver demo request tool. <wfs:GetFeature service="WFS" ...
1
vote
1answer
15 views

Geoserver WMS get request by id

I have a layer on geoserver and I want to get JSON result of a single river. For example get river id=2541. I see examples that using BBOX. But I do not use BBOX on my wms query. ...
2
votes
0answers
25 views

Geotools wfs getFeature

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 ...
2
votes
1answer
57 views

Automatically publishing WMS/WFS in Geoserver

Does any one know how to automate publishing of a WMS or WFS Layer in Geoserver given any data source (vector shape-files) using script or programming language (preferably Python) Any Help is ...
0
votes
0answers
17 views

Using WMS proxy with WFS protocol

I have created a WMS proxy script with PHP, and used it on my customized WMS layer. OpenLayers.ProxyHost="http://myproxydomain.com/proxy.php?url="; var myWMSLayer = ...
2
votes
0answers
34 views

how to get a feature from coordinates in geotools [closed]

I'm working on web services in Java and using GeoTools java api for wfs operations. I have a wfs store and a lot of features in it. I do some operations via geotools wfs api for example buffer, ...
3
votes
2answers
37 views

is OpenLayers proxy access secured?

I have secured my layers on Geoserver. Users can not access my layers without authenticated username and password. Now I created a proxy script with PHP. Proxy script sends request with username ...
1
vote
1answer
34 views

Geoserver WMS, WFS and Rest difference

I am new at geoserver. I connected to databse from admin panel and published layers. But I could not understand difference of WMS, WFS and Rest service. What is the difference?
0
votes
2answers
86 views

Using AJAX to run PostGIS SQL statements and display results via GeoServer

I am learning Web GIS, and I can't find a good example that gives a big picture of a web interface of running spatial analysis using PostGIS. What I am looking for is a graphical/GIS version of ...
1
vote
0answers
31 views

geoserver xml header for cors xmlhttprequest

I'm running geoserver-2.5.2. From an external server i would like to call it as a wfs source with ol3. For this I would like to allow this external server to access the data. It seams I need a header ...
1
vote
0answers
33 views

Issues with QGIS WFS editing/PostGIS rendering

I want to be able to view and edit spatial data within a postgis database. I have tried using a WFS with Geoserver - but constantly get 'Empty Response' error and the Network log says the request ...
2
votes
0answers
29 views

how to display 2 wfs layer at the same time from mapserver?

I have two wfs vector layers. When i show only one layer, it works. But doesn't work when i'm trying to show 2 wfs layers at the same time. How to show 2 wfs layers together? I'm using OpenLayers. ...
1
vote
0answers
44 views

Parameters in a SQL View (Geoserver) and WFS Layer (Openlayers): can't get them to work properly

I'm relatively new to GIS, openlayers, geoserver and javascript in general. I have the following problem: I need to display a choropleth map by coloring the different areas in my map based on a ...
1
vote
0answers
20 views

geoServer WFS call to iterate/loop over a string

I would like to make a WFS call via POST that takes a value and checks if it is in a range on the features attributes. the attribute looks like this: <###:range>F 301-436,438-500,G ...
1
vote
1answer
32 views

how to show wfs and wms sources in boundlessgeo gxp viewer

I'm using boundlessgeo gxp viewer. I have a lot of different wms and wfs link and want to show those remote sources in my map viewer application. I have a geoserver and basic layers in it. I can add ...
1
vote
0answers
43 views

WMS or WFS for selecting features and show attributes?

I am beginner in MapServer and Openlayers. I want to be able to select features and show their attributes by user click. I don't need to edit any feature. I know this is possible with WFS, but ...
1
vote
0answers
40 views

How to add a WFS layer to an OSM base layer from GeoServer

I'm sorry if I'm repeating what has been asked several times! I'm a novice in open layers and java script , please can some one tell me where i am making a mistake , below is the code which i used ...
0
votes
1answer
29 views

OpenLayers 2: WFS layer not being portrayed in map canvas

I have a "rich" application (OL 2.13 + GeoExt 1) where some layers must be styled dynamically according to user input. I am able to add a vector layer using WFS and then apply a style rule. Recently, ...
1
vote
0answers
59 views

What is wrong with my WFS-T protocol setup?

So I want to transfer some Vector Layer Features from javascript code to my geoserver and then to postGIS, my code looks like this: saveStrategy = new OpenLayers.Strategy.Save(); ...
1
vote
1answer
21 views

Unique Attribute in WFS Layer

Can I force an attribute in my WFS Layer to be unique, thus, don't allow mutiple feature with the same value for the attribute?
3
votes
1answer
110 views

Can't get WFS working in Openlayers 3

I try to get my WFS working but with no success. Actually I use nearly the same Code like in the OL3-Examples. In Firebug I can see a lot of WFS-Requests and a GML-Response which looks fine to me. ...
1
vote
1answer
27 views

WFS with EPSG:3301 projection using Leaflet

I am adding WFS points to Leaflet map, but don't see them on the map, however in console I see that all points I wanted is here with all properties and geometries. But the problem here is in ...
1
vote
1answer
53 views

Geoserver WFS features query inaccurate using SQL Server Backend with spatial index

I´m using Geoserver to query features through WFS in an Web Application with Openlayers as client. The queried layer is using SQL Server as backend storage. When applying a spatial index to the ...
2
votes
0answers
20 views

ArcGIS dissolve analysis output issues in geoserver wfs/ PostGIS

I have an ArcGIS dissolve analysis output (parcel data) that needs to be loaded on PostGIS and published as a wfs from geoserver. The issue is that the ArcGIS dissolve output shapefile, although can ...
0
votes
0answers
12 views

WFS works only in IE browser. Any work around is available for this issue? [duplicate]

WFS works only in IE browser for me. Its not working in any other browser. I dont have much expertise in checking browser compatibility, could someone suggest me how to resolve this issue or Any work ...
0
votes
1answer
29 views

GeoTools exception: failed to connect to EPSG database

I downloaded the GeoTools 11.2 binary and am attempting to get it to run in my Netbeans java application. I tried to run this part of code: ... SimpleFeatureSource source = ...
2
votes
4answers
132 views

Openlayers Vector Rendering

I've just added a couple of more WFS backed vector layers to a map and the performance has dropped. Whilst debugging this I've noticed that openlayers is considering every feature in the visible ...
0
votes
0answers
9 views

How to re'display feature after using my 'filterFeature()' function?

The code below is a function that hides a certain region in the map. The problem is that I can't redisplay it. I've tried by removing this line: wfs2.features[i].style = {visibility:'hidden'}; but ...
2
votes
1answer
67 views

Send query to ArcGIS REST from OpenLayers app

I am using OpenLayers application and sending WMS query to my geoserver. My polygon is sending to server and gets intersected features. var feature = Mypolygon; var filter = new ...
2
votes
0answers
72 views

Getting JSON/JSONP/GeoJSON from GetFeature WFS request to ArcGIS for Server?

I'm trying to perform a GetFeature request to an ArcGIS 10.2.1 for Server WFS service and would like to get response in geoJSON format. If I look at the GetCapabilities from the service the only ...
1
vote
1answer
29 views

How to calculate the intersection between WFS layer and a PostGIS table

I need to calculate the intersections betweek a WFS layer and the geometries stored in PostGIS table. Then I should save the geometries of the intersections in a separate PostGIS table. Do you have ...
0
votes
1answer
32 views

WFS with authentication to PostGis (or to shape)

Is there a way to import data from a WFS layer to a Postgis table (or to a shape)? there are blogs explaining how to do it in 3 steps (http://anitagraser.com/2012/09/26/wfs-to-postgis-in-3-steps/) or ...
1
vote
1answer
41 views

Obtaining feature using ArcGIS for Server and WFS based on featureid?

This has baffled me for hours, I've tried nearly every combination of request parameters without success. I have a points coverage published in arcgis and can download the feature GML via WFS for the ...
2
votes
0answers
33 views

Incomplete type description in Geoserver WFS 1.1.0 and 2.0.0

I have a PostGIS database (2.1.3 on PostgreSQL 9.3.5) exposed as a WFS service with the geoserver (2.6-RC1). This table has 4 columns: an id, a String, a Date and a Point Geometry. When calling ...
0
votes
1answer
26 views

Is it possible to know last update of data behind a WFS service?

I need to use several WFS service which are not mine and convert them to shapefiles. I'd like to update the shapefiles whenever the data is updated in the WFS services without downloading the whole ...
0
votes
0answers
87 views

Proxy.cgi for OpenLayers reading from GeoRSS but not from WFS

I'm having trouble with the standard proxy.cgi written in Python for OpenLayers. Here's my code: #!C:/Python27/python.exe -u """This is a blind proxy that we use to get around browser restrictions ...
1
vote
2answers
41 views

WFS Spatial Operator Query - Crosses AND Within

I'm trying to query my wfs service with a polygon. I want the service to return both features that are inside the polygon and partially inside the polygon. However, when I use the "Within" spatial ...
2
votes
1answer
21 views

And/or query on WFS service? [duplicate]

Is it possible to use "and" & "or" queries on a WFS service through the URL? Here's my current URL: ...
1
vote
1answer
40 views

featureId filtering in wfs openlayers

I want to define a featureId fiter for wfs layer like below: wfs = new OpenLayers.Layer.Vector("WFS Vectore", { strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy], projection: ...
0
votes
0answers
29 views

How to configure a write only layer on Geoserver?

This is probably a wrong way of doing it, but I was exploring this option only because I do not know how to implement the right solution. We have a layer to which features are added using WFS-T. We ...
0
votes
0answers
57 views

Return features based on users credentials Geoserver WFS

We are using LDAP based authentication with geoserver which is connected to a PostGIS database. Users insert rows (features) into the table (layer) using WFS-T after authentication. Now when users ...
1
vote
2answers
69 views

ArcGIS JavaScript API - WFS workaround?

Does anybody know of an existing script or a workaround that will convert WFS returned data into something that the ArcGIS JS API can digest and display? Essentially, it would be some sort of script ...
0
votes
2answers
30 views

Can't figure out wfs url filter - what am i doing wrong?

I'm trying to figure out how to use the filtering function on a WFS layer. Anywhere I look, there is not an example of the xml AND the query alongside it explaining how it works. In the url query ...