Hi,
 
There has been some work done with the versioning WFS and Geoserver but I have 
an impression that it is not production ready for critical tasks.  Locks can be 
used but we did not find a brilliant way to handle how to release them.  We 
ended up to building an optimistic locking on the database side.  Client gets 
the current version number when reading features through WFS.  Saving a feature 
with WFS-T triggers database to increase the the version number. Then there is 
a constraint preventing update if the version number suggested by WFS-T is not 
the same as the current version in the database.
 
- User A reads feature 1 from the database, it is of version 1.
- User B reads feature 1 from the database, it is of version 1.
- User B sends update for version 1 through WFS-T (version is included in the 
message)
- Database checks that the current version is 1, update is for version 1 -> 
accepts and trigger forwards version into 2
- User A sends update for version 1 through WFS-T (version is included in the 
message)
- Database checks that the current version is 2 and denies the update
- User A must reload the feature of version 2 from WFS, redo the edits and try 
again to update the feature
 
It gets more complicated if lots of people are editing the same area and if the 
result should be of high quality because neighbouring features may have been 
edited in between and that can lead to poor topological quality. Our 
application is reading the current situation from WFS just before sendind 
transactions. It helps because users can check if the situation has changed in 
the neighbourhood.  The application is also doing topological checks.  We have 
been satisfied with this approach so far but for us it is not normal that users 
(total number is a few hundred) are working on the same area.
  
-Jukka Rahkonen-
 
________________________________

Lähettäjä: Roman Isitua [mailto:[email protected]] 
Lähetetty: 8. maaliskuuta 2011 11:29
Vastaanottaja: geoserver users
Aihe: [Geoserver-users] Geoserver WFS - T capabilities



Hello,


I will like to ask if multi user editing is possible using WFS - T. i.e. 
multiple users editing the same map data simultaneously ? is this possible in 
geoserver ? How is it supported ? I will like a list of all WFS - T capable gis 
clients out there if possible.


Cheers,

Roman.


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to