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 [wfs-t]

Web Feature Service Transactions

1
vote
0answers
151 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(); ...
3
votes
4answers
2k views

QGIS WFS Error - Could not commit changes to layer

I have a PostGIS database being served by Geoserver. I can load the layers I want into QGIS no worries; however whenever I try to edit the layer I get this error message: Could not commit changes to ...
1
vote
1answer
2k views

GeoServer, OpenLayers and updatable views: unable to edit data of WFS-T feature layer

I am developing an web application, where the user is able to view and update some feature attribute of a WFS layer. My problem: the edited data is not saved at all. Here's the situation: GeoServer ...
2
votes
1answer
665 views

Problem saving added point to GeoServer WFS-T via OpenLayers?

I want to add a point and then with WFS-T, save this to db. I work with Openlayers and GeoServer. saveStrategy = new OpenLayers.Strategy.Save(); wfs = new OpenLayers.Layer.Vector( "WFS Vectore", { ...
2
votes
0answers
170 views

Adding feature to GeoServer vector layer using WFS-T in absence of fid index?

I want to add a feature to GeoServer vector layer with WFS-T. When I use saveStrategy.save(), an error returned that said: java.io.IOException: current fid index is null, next must be called ...
2
votes
1answer
387 views

How to get public access to edit a layer in geoserver [closed]

I want to develop a GIS system with OpenLayers and GeoServer which is installed with OpenGeo Suite 4.1 and I need to edit a layer with no GeoServer authentication. This means that guest members should ...
2
votes
1answer
276 views

Using WFS-T in OpenLayers?

How can I use WFS-T in openlayers-2? I'm using geoserver in server side.
0
votes
1answer
371 views

How to insert a feature using WFS-T based on a criteria?

I am pretty new to WFS/WFS-T and need help with some suggestions on how the following requirement can be implemented. We have a need to insert a feature into a PostGIS database based on the following ...
2
votes
0answers
884 views

Problem inserting feature into GeoServer empty layer via WFS-T

I'm facing a strange issue with GeoServer (2.4) (on PostgreSQL 9.4/PostGIS 2.1). The problem is I am not able to insert a feature via WFS-T if the layer is empty; it returns me the following error: &...
1
vote
0answers
697 views

Same Origin Policy Problem using WFS-T with Geoserver & OpenLayers 3

I'm trying to use a WFS-T Service to insert a simple Point from OpenLayers 3 into Geoserver in a VirtualBox (test environment). There is always the same error message: Failed to load resource: ...
2
votes
1answer
894 views

Transactions in Geoserver / WFS - Is it possible to know which “action” failed?

I'm trying to implement transactions for some queries to Geoserver. I'm using plain HTTP Post to make the requests, from Java. One of those queries looks something like : <wfs:Transaction service=...
2
votes
1answer
215 views

Problem Inserting feature with Geotools WFS

With this tutorial http://docs.codehaus.org/display/GEOTOOLS/Data+Writing When I try to insert a feature try { DataStore geoToolsClient = getGeoToolsClient(); Transaction transaction = new ...
2
votes
1answer
451 views

Openlayers filter strategy on wfs deactivate problem

I have a filter control which works nicely. However, when I try to reset/remove the filter, I don't get the original features back. The debugger shows my features array as still only being the reduced ...
0
votes
2answers
126 views

WFS protocol - Update method

I have a question related to the Update method, in case the feature doesn't exists, the update method will generate a new feature? (i.e. will behave as Insert)? Or maybe, in contrast, an insertion ...
2
votes
1answer
277 views

OpenLayers WFS no FID being passed from TinyOWS

I have a webapp - OpenLayers<->tinyows<->postgis. With 1 layer I have a problem. On localhost all works well - here is a snip of the XML I get back: <gml:featureMember> <tows:trad ...
1
vote
1answer
1k views

Issue with a point insertion into a Geoserver points layer. WFS-T

What is the best way to insert a feature from the client side into an existing GeoServer layer? Maybe using an AJAX call and JSONP? Or OpenLayers (i can't figure out how to have the proxy working)? ...
0
votes
1answer
776 views

WFS-T demo with local Geoserver not responding

i have installed the geoserver in my local system and i tried to run the example code from openlayers the code as below <!DOCTYPE html> <html> <head> <meta http-equiv="...
0
votes
1answer
453 views

How to provide a WFS in multiple projections

I would like to set-up an editable web feature service (WFS-T) for serving my geospatial data. The data tables are in a PostGIS database on the same server. For security reasons my server admin doesn'...
0
votes
0answers
266 views

Draw point on google map

i try to add google map on my own wms and wfs layer. everything works but when i create point, i intersect point geometry and my geojson data. So without googlemap it was run. But when add google map, ...
1
vote
1answer
614 views

overlay wfs google in openlayers

map = new OpenLayers.Map('map', options); // BASELAYER var google_maps = new OpenLayers.Layer.Google( "Google Maps", { numZoomLevels: 20 } ); var ...
0
votes
1answer
84 views

DeleteFeature without click

controlPoint = function (feature) { alert(feature); pointNumber = 1; draw.deactivate(); noktasil(feature)...
1
vote
0answers
69 views

Removing message after wfs-t transaction

Is there a way to remove the alert message after adding new objects to the database with WFS-T. I am using code from demo example from GeoServer. The code is shown below var drawPoint = new ...
1
vote
1answer
859 views

Openlayers vector layer with WFS protocol not refreshed properly after Insert,Update and Delete operations

In my web map application, I have added the wfs vector layer for feature editing. Everything is working fine except the refresh function of wfs vector layer. Refresh function with force ture option ...
2
votes
1answer
2k views

Problem with WFS-T save strategy in Openlayers

In my web map application, I have added the editable wfs vector layer for feature editing. But in save strategy method, Insert and Update Geometry is working fine.But Update Attributes is not saved in ...
1
vote
1answer
504 views

Openlayers map projection not working while saving the features into PostGis

In my web map application, I have added the wfs vector layer for feature editing. There is no issue When I save the feature in postgis after editing. But when I refresh the wfs layer, its showing the ...
2
votes
1answer
1k views

Getting layer in WMS and editing in WFS-T with OpenLayers [closed]

I have huge datasets on PostGIS. For example building table includes more than 100k features in POLYGON geometry. When I want to get all data in QGIS (2.1) or other GIS software by using direct DB ...
3
votes
1answer
482 views

Generate WFS-T requests

I want to create WFS-T update/insert/delete requests in my java application. As a result I want to save the requests in XML encoding, as specified by the OGC standard. Does someone know a library (...
3
votes
1answer
894 views

Problems saving moved points via OpenLayers

I am trying to implement what is described by @underdark in this post but have hit a snag. I have a point layer stored in PostGIS and served via GeoServer to a webpage using Openlayers. The data ...
1
vote
1answer
485 views

Update Point using WFS Transaction with GeoServer

I am trying to update a Point inside my PostGIS database that is connected with GeoServer. I specify the new coordinates in the WFS-Transaction post message like this: <gml:Point srsDimension="2"...
0
votes
2answers
219 views

How to drag a point and then use savestrategy in OpenLayers

Im trying to use the wfs-t in openayers using the savestrategy. I have created a savestrategy and it works when I for example uses the DrawFeature Control to add a point. A new point is added to the ...
1
vote
1answer
964 views

Also can't see WFS-T layer with OpenLayers and GeoServer (Windows)

I am in the process of learning for doing WFST - OpenLayers in web. I followed this tutorial in the GisTutor. But I am stuck with two problems: the WFS-T layer is not appearing the feature created ...
1
vote
1answer
156 views

Problems editing geometry in JS script using a find task in a web application

I've generated a javascript code to my app based on the sample "Show find task results in a DataGrid" of ArcGIS API for JavaScript and I am using editable layers (WFS-T) and it works, but when after ...
1
vote
2answers
76 views

Is WFS:native mandatory to get OGC compliance?

I am a newbie to this domain. I am using WFS 1.1.0 and found out that is has a wfs: native operation. I wanted to know whether I can get OGC compliance without implementing WFS: native or is it ...
0
votes
0answers
730 views

WFS Transaction geoserver Openlayers POST method

I tried to make a transaction data using WFS protocol with the save strategy and when I click on the save button and fetch with firebug I figure out that the POST method didn't receive any response ...
1
vote
1answer
141 views

OpenLayers - possible to display detailed GIS data?

I have an OpenLayers app to plot point features, but need to read in a very detailed multipolygon vector layer to plot an accurate location. I'm currently loading the polygon layer via TinyOWS. I've ...
0
votes
1answer
448 views

OpenLayers2 how to get feature info on form submit?

I have an OpenLayers pop-up with a form on selectFeature (WFS-T). Can I recover the feature.attributes in the form's onSubmit? e.g: the form in the popup var content = '<form onSubmit="...
1
vote
1answer
174 views

Can I prevent OpenLayers from losing my WFS-T feature edits?

Using openlayers (2.12) and drawing some vector features against a WFS-T interface (offered by geoserver). Problem is, when I draw some geometries and pan a little bit too much, openlayers sends "wfs:...
2
votes
1answer
1k views

How can I use Oracle views with Geoserver and WFS-T?

What goes on when Geoserver handles updates to my table using WFS-T? I have a table AREA ( ID NUMBER(10) NOT NULL PRIMARY KEY, SOME_OTHER_ID NUMBER(10) NOT NULL FOREIGN KEY REFERENCES FOO(ID), ...
2
votes
2answers
449 views

Is it possible to load large non georeferenced pictures in Geoserver?

I use Openlayers as a viewer of very large pictures, they are tiled and the navigation is exactly what I need. I also can add a vector layer and draw on it. But when it comes to save those drawings, ...
2
votes
1answer
733 views

How to auto-update WFST store with GeoExt/Openlayers?

I built an WFS-T with a grid panel (Ext.grid.EditorGridPanel) to edit features' attributes. Now, I want the feature store (GeoExt.data.FeatureStore) to reload/update automatically so that other users ...
2
votes
0answers
792 views

Android Apps to edit WFS-T

Are there any mobile Android Apps where you can edit the Features served via a WFS-T?
3
votes
1answer
245 views

Implementing access control for WFS-T updates?

I'm implementing a system which has structure like in my question: What's role of WFS-T in webapp? There's spatial data which is updated through WFS-T and non-spatial data which is updated ...
4
votes
1answer
2k views

Java client for WFS-T?

I have a geoserver with a postgis database on one server and an Java application on a different server. Now I need to connect these two servers so that the Java application can manage (create, alter ...
5
votes
1answer
3k views

How do I set attributes when creating vectors using OpenLayers and WFS-T?

I have published a WFS-T layer (using geoserver) and am able to add, edit and delete features using OpenLayers and it's Vector layer. But, I don't know how can I populate additional attributes using ...
7
votes
1answer
2k views

Geoserver basic authentification problem

I have Geoserver 2.1.3 set up for WFS transaction. I am using basic authentification and I have set up the following: A role(ROLE_RMP_WFS) A user(user_rmp) which belongs to the role above Data ...
3
votes
1answer
2k views

adding polygon to database in openlayers

I want to add a polygon to the database. I used the following code. The problem is that I am to able to save in database. Whatever polygon I draw on map it gets save temporary and as soon as I reload ...
1
vote
2answers
1k views

How to edit using a WFS service, without showing it on the map in OpenLayers?

I have a service with about thousand points. I wish to enable the user to edit the attributes of the features. Since there are so many points, I don't want to display them as a vector layer (using ...
7
votes
4answers
16k views

How to get JSON from Geoserver using AJAX request

I am building a web mapping application using Leaflet and a sort of customized WFS-T API to place and retrieve features from PostGIS. I have the script for putting features in PostGIS tables down ...
2
votes
1answer
2k views

Editing layers in GeoServer with web application

I wanted to edit layers in GeoServer where they are store in PostGIS database. I have refereed http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-...
6
votes
1answer
3k views

Can't see WFS-T layer with OpenLayers and GeoServer (Windows)

I am trying to implement a simple test of a OpenLayers + WFS-T + GeoServer -setup. I have followed the instructions by populating PostGIS and configuring GeoServer, and can see the WFS-T layer data in ...