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
1answer
233 views

Failed to update point geometry through WFS-T request when sending it with python

I am trying to update some data on postgis through a WFS request to geoserver. More specifically I want to update the geometry of a point. My XML looks like this and works correctly when I execute it ...
1
vote
1answer
869 views

Update the geometry of a point through WFS-T

I am trying to change a point geometry in a postgis table through geoserver. I use python Requests in order to make the POST request. My xml looks like this: xmlstr = """<wfs:Transaction service="...
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
953 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
178 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
605 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
414 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
586 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
995 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
489 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
327 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
176 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
135 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
301 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
924 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
375 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
199 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
854 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
914 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
38 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
326 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
848 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
523 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
343 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
714 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
288 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
316 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
322 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
207 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
623 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
113 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
313 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
499 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
420 views

Edit WFS-T layers ArcGIS Server in QGIS

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
861 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
747 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
398 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 ...