Questions tagged [wfs-t]

Web Feature Service Transactions

Filter by
Sorted by
Tagged with
1
vote
1answer
2k views

Make a WFS-T Insert request to geoserver and add non spatial values to the layer

My question is somehow related with my previous one Failed to insert data to geoserver layer with WFS-T. I use python and requests in order to create a new feature in a geoserver layer. I have managed ...
1
vote
1answer
998 views

Failed to insert data to geoserver layer with WFS-T

I am trying to make a POST request to geoserver in order to Insert a new feature. I am using the example provided by the Demo section of geoserver. I have modified it as following: <wfs:...
1
vote
1answer
104 views

Prevent some layers being modified via WFS? - Geoserver

I have a workspace in Geoserver and I have some layers on it. I have enabled Complete WFS in that worskpace. Now I want just some specific layers from there prevented from being edited via WFS ...
0
votes
1answer
183 views

Wrong typeName generated by wfs-t update request in xml

I am editing features on a map using Openlayers 3 and Geoserver 2.8 linked to a postgresql Database. for adding features there is no problem but when it comes to update features I get a wrong xml code ...
3
votes
1answer
1k views

PostGIS View, WFS-T and Geoserver

I'm using a PostGIS View as a layer to join multiple lookup tables. I published this view through Geoserver to edit using WFS-T. My first question is that this is right strategy using a VIEW as a ...
0
votes
1answer
634 views

Inverted lat lon on drawn polygons in Openlayers 3

I am working on a map in openlayers 3 with geoserver I display the layers as WFS and I added the draw and modify interactions, but when I save the drawn polygons the coordinates of the newly drawn ...
1
vote
0answers
424 views

Multiple geometry types layer in Geoserver?

I am using OpenLayers and Geoserver in a web map application in which I'd like to implement editable layers by drawing features on it. I followed this tutorial to save the created features with WFS-T ...
1
vote
0answers
602 views

Publishing in QGIS Server (WMS, WFS-T) only certain map extent

I am trying to publish a layer in WFS-T but I only want to publish a certain zone ( 10% of the whole layer ). So I choose my extent in QGIS canvas and I go to Poryect Properties / OWS Server and I ...
1
vote
1answer
1k views

Modify attributes of WFS layer in OpenLayers 3

I need to modofy attributes of features appeared on a map using OL3. The features live in a postigs db and they are serverd through Geoserver. What I want is to modify some of the non spatial ...
3
votes
1answer
3k views

The layer is not a valid layer and can not be added to the map - QGIS WFS

I created workspace, store and layer in Geoserver. Data source is SQL Server 2012. When I connected Geoserver WFS to QGIS, it worked. But when I tried to save changes to layer, it crashed with error "...
3
votes
1answer
510 views

Available Python client libraries for WFS transactions?

I am looking for a Python module to allow me to use WFS-T. Everything I found so far only supports getting data out via WFS, I need to INSERT and UPDATE. owslib does not support WFS transactions (yet?...
2
votes
1answer
331 views

Getting Response “XML request isn't valid” when inserting a feature using wfs-t

I am using Tinyows to perform wfs transactions. Here is my snippet of tinyows configuration file. <layer retrievable="1" writable="1" ns_prefix="tows" ns_uri="http://www.vizexperts.com/"...
3
votes
1answer
177 views

Need WFS-T for field work on GeoServer/PostGIS

I'm using a Boundless install of OpenGeo Suite on Ubuntu Server 12.04 with Tomcat 7. I need to allow remote access to update from the field. I can edit features fine on network, but not remotely. *...
2
votes
0answers
138 views

Geoserver wfst ajax call

I am writing a feature into postgis behind geoserver using wfst and using jquery ajax call. When the user is authenticated it successfully adds a feature. When user is not authenticated it still ...
2
votes
1answer
2k views

Geoserver WFS-T “Feature type 'Workspace:Layer' is not available” Error on update / delete

I am using the following code for insert / update (changed from this source: https://medium.com/@goldrydigital/wfs-t-with-openlayers-3-16-6fb6a820ac58): var formatWFS = new ol.format.WFS(); // GML ...
1
vote
1answer
207 views

ZoomIN to Feature with ol3

I have a requirement, upon user action I need to zoomin to the polygon/feature on layer. To achieve this Getting the feature object based on unique Id by using wfs?request=GetFeature Getting ...
2
votes
1answer
306 views

No layers when configuring TinyOWS with MapServer

Am trying to expose a vector layer (loaded from shapefile into PostGIS) as a WFS layer using TinyOWS. Following the instructions in the mapserver/tinyows documentation, here is the .map file I have ...
1
vote
2answers
945 views

Error in saving polygon with openlayers-3 and geoserver 2.7?

I'm using OpenLayers 3.8.2. I have wfs layer. I insert a feature. I save this feature as follow(I use geoserver 2.7-SNAPSHOT in server side): var features = source.getFeatures(); var insertedArr = [];...
2
votes
1answer
380 views

Problem in openlayers wfs-t with geoserver 2.7?

I'm using OpenLayers-3. I have a wfs layer. I want to sync this layer with my server as follow(I use geoserver 2.7-SNAPSHOT and my datastore's type is shapefile): var opt = { featureType: "Calk:...
1
vote
0answers
207 views

WFS-T with Geoserver and a Shapefile

I have read that Geoserver fully supports WFS-Transactions. But for example here somebody also mentioned that shapefile-datastores would not be the best choice for using Transactions in Geoserver, and ...
3
votes
1answer
884 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 = "http://localhost:8080/geoserver/wfs?&service=WFS&...
0
votes
1answer
1k views

Problem with WFS various versions in OpenLayers

I'm developing an application using OpenLayers-3.8.2 and geoserver-2.7.2. I defined a wfs layer as follow: var url = "http://localhost:8084/geoserver/wfs?&service=WFS&" + "version=...
1
vote
1answer
919 views

How to set version of wfs-t in openlayers-3?

I'm using wfs-t in OpenLayers-3.6 according to here. I modified a feature and then sent a wfs request as follows: var properties = modifiedFeature.getProperties(); delete properties.boundedBy; ...
3
votes
1answer
2k 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 u="http://localhost:...
2
votes
2answers
5k 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?&" + "service=wfs&version=1.1.0&request=GetFeature&...
1
vote
0answers
39 views

WFS updating a geometries points

I'm trying to work out on how I can insert or overwrite points that are stored in a features/ Layer? I've created a String/Text document which is already converted into GML/XML ready to be pushed to a ...
0
votes
1answer
329 views

Using WFS-T when layer dimensions don't match with geometry dimensions

We are able to Delete features from OpenLayers and it is successfully deleting them from spatial table. However we are unsuccessful doing add/edit from OpenLayers and saving the features in the ...
4
votes
1answer
859 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 ...
0
votes
1answer
543 views

GeoServer namespace URI causing invalid WFS transaction requests

Is there any naming conventions with GeoServer's namespace URI/settings that need to be changed to allow their proper use? I have a WFS-T that is being edited in QGIS - after a lot of issues getting '...
2
votes
1answer
2k views

How to set up wfs-t service in Geoserver using openlayers from postgis data?

I published my postgis data layers into Geoserver. I have enabled wfs in the edit workspace > services. Still the "layer preview" does not show any options under wfs. See the image. How can we set up ...
3
votes
1answer
350 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 ...
0
votes
0answers
729 views

How send wfs transaction data on json format in Openlayers?

I use a wfs layer in my project with openlayers as follows: var saveStrategy = new OpenLayers.Strategy.Save(); me.point = new OpenLayers.Layer.Vector("Editable Features", { strategies: [new ...
7
votes
4answers
2k 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 http://x.x.x.x:80/...
5
votes
1answer
3k 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 ...
1
vote
1answer
296 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 ...
0
votes
2answers
325 views

Wfs-T Change Polygon Style

i use this example for doing my own wfs-T example. . And my code are same under link. My only problem is i don't change polygon default style. it gives error when i use openlayers style map. How can i ...
0
votes
1answer
1k views

A way to generate random/fake sensor data

First, what I'm trying to achieve is to implement a gis-based platform in the context of a smartcity. So basically I'll need many layers, some are static like gaz,water circuits, hospitals ...., some ...
0
votes
1answer
329 views

OpenLayers WFS-T tinyows insert transaction: error GID value [closed]

I try to implement insertion of new point using Openlayers v2.13 saveStrategy calling tinyows which implements the WFS-T transaction; I use the example from http://mapserver.org/tinyows/...
0
votes
1answer
216 views

WFS response Format

I want to develop a WFS Server. When a client request read a layer, What the response of format should be? Note: The language of this project is java servlet.
1
vote
1answer
630 views

Openlayers2 how to display WFS with projection other than EPSG:4326

Here is some OpenLayers code: var projection = "EPSG:3009"; map = new OpenLayers.Map('map', { // projection: "EPSG:900913", // displayProjection: projection, // displayProjection: "EPSG:...
2
votes
1answer
116 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 ...
1
vote
0answers
318 views

Update WFS Layer with QGIS - Commit errors

In QGis: Importing WFS Layer from Server, changing Attributes, trying to save. I get Commit errors: Could not commit changes to layer ah_neu:mylayer. The geoservers logfile says: 2015-01-21 11:40:...
2
votes
2answers
504 views

WFS 2.0 transaction

I am using WFS-T in a mobile application to commit changes to a postgis database via geoserver 2.6. I build the http requests myself (not using any framework like geotools or openlayers). I already ...
2
votes
0answers
424 views

Editing WFS-T layers from ArcGIS Server in QGIS? [closed]

I'm trying to edit layers from a service in ArcGIS Server through WFS-T in QGIS. But the AGS only allows writing in version 1.1 of WFS, while QGIS only connects to the WFS Server in version 1.0, ...
2
votes
1answer
872 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: ...
1
vote
1answer
760 views

QGIS does not update data in Geoserver WFS-T

I am trying to edit a WFS from geoserver (using PostGIS data) within QGIS. This is the request as recorded by Fiddler <Transaction xmlns="http://www.opengis.net/wfs" xmlns:xsi="http://...
5
votes
2answers
399 views

Building a ol3 web application with dynamic content and user registration

My set-up: Currently I’m using a PostGIS database, with a GeoServer service and displaying the data with OpenLayers 3. I use WFS data to display the features in clusters and I’m able to edit them ...
3
votes
1answer
1k 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 ...
1
vote
0answers
152 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 ...