Web Feature Service Transactions

learn more… | top users | synonyms

12
votes
5answers
26k views

How to add a simple WFS layer from GeoServer to OpenLayers map?

I'm trying to add one of the included datasets with GeoServer to an OpenLayers map. I've followed the OpenGeo tutorials, seen similar thread on here, but I can't seem to crack it. Can somebody take a ...
9
votes
2answers
1k views

How to preserve topology while editing polygons in OpenLayers?

I’m facing this issue: I have a chloropleth map based on a set of polygons with some data. Using WFS-T (postgis, geoserver, openlayers) I am able to edit the geometry of the polygons. This works fine. ...
7
votes
4answers
8k 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 ...
6
votes
4answers
2k views

How many WFS-T clients exist?

I would like to know which applications or libraries (proprietary or open source) offer transactional Web Feature Service (WFS-T) client functionality. Those include: Desktop or online applications ...
6
votes
1answer
834 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 ...
6
votes
1answer
483 views

Releasing GeoServer WFS-T Feature Lock

For some reason I'm having trouble finding any documentation about releasing feature locks in a GeoServer WFS (or any WFS for that matter). I can easily request a FeatureLock with a request like this ...
5
votes
3answers
239 views

How to serve both WFS and WFS-T from one server?

In GeoServer, how can I serve two types of WFS from one server? Setting the type of the service is done once in global settings. Is it possible to have WFS from workspace A and WFS-T from workspace B? ...
5
votes
1answer
2k 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 ...
5
votes
1answer
2k views

WFS-T: changes not saved on an OpenLayers map

I have written a script allowing to display a few WMS and WFS layers and I want to make my 2 WFS layers editable. I have all my controls and can draw / modify / drag / delete my features but, on one ...
4
votes
2answers
1k views

I want to edit corresponding postgresql data of a vector from openlayers- how to do it?

I want to edit the corresponding text/numeric data type columns of a vector through openlayres, when a user click/mouse over a vector. like, http://dev4.mapgears.com/bdga/bdgaWFS-T.html# any ...
4
votes
1answer
1k 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 ...
4
votes
3answers
4k views

WFS-T Edit using OpenLayers, Geoserver, PostgreSQL (“error performing insert”)

I tried following the tutorials: http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html and: ...
4
votes
1answer
712 views

Openlayers and Geoserver fail to reproject while editing Vector with WFS-T

I can't get the Openlayers and Geoserver work with WFS-T editing a vector layer. I have a layer of points where the Native SRS is EPSG:32639. After trying a lot of combinations, I ended up with two ...
4
votes
2answers
826 views

Updating a layer's bounding box in GeoServer after WFS-T insert

I'm creating a data store in GeoServer from an OpenLayers DrawFeature control, using WFS-T to save the geometry into GeoServer. This works great, except the data store's bounding box doesn't get set ...
3
votes
1answer
174 views

Getting Transaction Support enabled in WFS on GeoServer (Boundless OpenGeoSuite)

I am trying to publish my feature service using the Boundless GeoServer. It appears that in order to have edit capabilities (I want to be able to add new points to an existing point layer tied to my ...
3
votes
3answers
657 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 ...
3
votes
1answer
2k views

Cant 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 ...
3
votes
1answer
1k views

Is there a WFS and WFS-T Java library that plays nicely with Android?

I have a GeoServer database and various programs that query it and so forth using GeoTools. Now I'm making a map app for Android, but not only is GeoTools quite large with all it's dependencies (15 mb ...
3
votes
1answer
931 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 ...
3
votes
2answers
605 views

Design question: what's the role of WFS-T in this kind of webapp?

I have more experience in "traditional" (Java EE) webapp development, and I am trying to figure out a decent design for a mapping web application. My application has a map, and users can see and edit ...
3
votes
1answer
70 views

Openlayers-3 wfs-t save coordinates displacement?

I'm using openlayers-3 in client side and geoserver in server side. I have a vector layer. I get this layer from geoserver as follow: var url = ...
3
votes
1answer
181 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
529 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 ...
3
votes
1answer
193 views

Building a ol3 webapplication with dynamic content and user registration

My setup: currently i'm using a postgis database, get it with a geoserver and display it with openlayers 3. I use the wfs data to display the features in clusters and i'm able to edit them with wfs-t. ...
3
votes
0answers
3k views

How to edit Attributes on WFS Layer through Popup?

I am working on a project for university. So far I have displayed WfsLayers which can be select from a panel, also I can click on my points whereupon a Popup will show up with some information which ...
2
votes
2answers
144 views

Using wfs-t in OpenLayers 3?

I'm using OpenLayers-3.6.0 in a web application. I have wfs layer as follow: var url="http://localhost:8080/geoserver/wfs?&" + ...
2
votes
1answer
222 views

OpenLayers 3.5 WFS-T update to GeoServer 2.7 raises StringIndexOutOfBoundsException

I am using ol.format.WFS.writeTransaction() (OL3.5) to generate WFS-T statements. This works well for insert and delete. The problem is with the update statement. Any update statement returns ...
2
votes
1answer
315 views

Save Polygons as new Features in geoserver

I enabled the functionality to draw Polygons, as in the example. http://dev.openlayers.org/examples/draw-feature.html Now I want that, once I created a polygon, this polygon is saved as a feature ...
2
votes
1answer
521 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
3answers
1k views

adding non spatial attributes using geoserver

I am using Openlayers + geoext to perform transaction operations in postgis database using geoserver . i can insert spatial data into postgis but cannot insert other data like road name, road type in ...
2
votes
1answer
69 views

How save modified features in server side with java and geotools?

I'm developing a gis Application with java. I use Spring 4.0.1 and GeoTools-13-RC1 in server side and OpenLayers 2.13.1 in client side. In client side, I have a wfs layer and it is as follow: var ...
2
votes
1answer
281 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
1answer
94 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
2answers
308 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
191 views

How to implement access control for WFS-T updates?

I'm implementing a system which has structure like in my question: Design question: what's the role of WFS-T in this kind of webapp? There's spatial data which is updated through WFS-T and ...
2
votes
0answers
117 views

'Read Only' Exception - WFS

I am getting the below exception while editing and saving data in spatial table. Response <ows:ExceptionReport version="1.0.0" xsi:schemaLocation="http://www.opengis.net/ows ...
2
votes
1answer
47 views

How do I catch PostgreSQL/ PostGIS RAISE messages in OpenLayers?

Is it possible to catch Raise Warning, Raise Notice and Raise Exception in OpenLayers while using a WFS-T-Layer (stored in a PostGIS-Database) to save edits? Example: A trigger is used to check values ...
2
votes
1answer
349 views

Geoserver WFS-T insert no response. bug?

I use Geoserver + Openlayers and want to add and save some new Points via WFS-T. I created insert transaction (correct) and sent it, but no response (include errors) was returned. In console was only: ...
2
votes
0answers
90 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
69 views

How can I use WFS-T in openlayers?

How can I use WFS-T in openlayers-2? I'm using geoserver in server side.
2
votes
1answer
72 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
1k 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 ...
2
votes
1answer
500 views

Getting Layer in WMS and Editing in WFS-T on 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 softwares by using direct DB ...
2
votes
1answer
423 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
0answers
442 views

Android Apps to edit WFS-T

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

Why don't set Geometry column in OpenLayers wfs-t request to geoserver?

I want to edit a vector layer(its a point layer) using OpenLayers 3.6 and then save it with wfs protocol. I'm using Goserver 2.8 in server side. I define my layer as follow: var ...
1
vote
1answer
1k 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 ...
1
vote
1answer
92 views

Webmapping js library with best support to WFS-T

I've tried to use WFS-T in ol3 but it was really a hard task, it seems that WFS-T is badly undocumented feature and it's much complicated to implement, and i'm looking for recommandations concerning ...
1
vote
1answer
274 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 ...
1
vote
1answer
112 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 ...