Tag Info

Hot answers tagged

3

You need to use WFS-T, the T standing for transactional, which is what's required to be able to write-back. Both Openlayers and GeoServer support this. This question may help on the script side - WFS-T: changes not saved on an OpenLayers map There's also a sample tutorial here: ...


2

when you add a point with new OpenLayers.Control.DrawFeature(wfs, OpenLayers.Handler.Point), by default feature state set to "Insert" but when you add a point with vectorLayer.addFeatures() command, the feature state is null. when OpenLayers wants to save change, it see to the state of the feature, and you have to set the added feature state to ...


2

I use GeoServer in OpenGeo Suite 4.1. In this package, the "Service access rules list" page has a rule that only "ADMIN" roles have permission for WFS-Transaction. wfs.Transation --> ADMIN You must delete this rule.


2

From the WFS 1.1.0 specification which is freely available in the net: Individual exception messages are contained within the element. The mandatory code attribute may be used to associate an exception code with the accompanying message. The optional locator attribute may be used to indicate where an exception was encountered in the request that ...


1

I've been trying against a Geoserver / Windows server 2003 installation, and it works. Doesn't work when it's a Geoserver / Centos Installation. With Udig WFS-T updates against a Geoserver / Centos are commited. Please also refer to: QGIS WFS Error - Could not commit changes to layer


1

I've stumbled upon a very similar situation, so I'll add the information I have here with the hopes of contributing to a solution. My setup: On a Debian linux server: PostGIS 2.0/PostgreSQL 8.4 GeoServer 2.4.0 On Windows 7 x64: QGIS 2.6.0-Brighton For testing purposes I'm trying to edit (tried both insert and delete) the demo layer tiger:poi in ...


1

Just testes with a recent Geoserver 2.5 snapshot - update request with a fid that does not exist does not create a new feature - default fid handling in Geoserver is that server is creating the fid; it is taken from a sequence or if sequence is not defined the new fid will be Max(fid)+1. Conclusion: Update does not behave as Insert, not Insert as Update. If ...


1

The problem is related to your schema. OpenLayers uses it in xsi:schemaLocation, and It seems GeoServer doesn't like it. See http://jira.codehaus.org/browse/GEOS-6406.


1

I had originally thought that perhaps the problem was that your internalProjection and externalProjection values were reversed (and just to note that internalProjection would be used for the map background and external for your data and are used as like this format: new OpenLayers.Format.GeoJSON({ internalProjection: new ...


1

WFS locking is so seldom used that the best documentation about the usage can be found from the WFS standards. Locks are only released after successful transaction or after the expiry period is passed. In WFS standard 1.1.0 default expiry time for locks is 5 minutes <xsd:attribute name="expiry" type="xsd:positiveInteger" use="optional" default="5"/> ...


1

I know that this question is 3 years old, but I think it will help future people reading this subject. You can find an OpenLayers implementation of topology here: http://dev.openlayers.org/sandbox/bjornharrtell/eventbasedtopology2/examples/topology.html



Only top voted, non community-wiki answers of a minimum length are eligible