[Gvsig_english] editing with WFS-T

Jorge Piera Llodrá jpiera at prodevelop.es
Fri Sep 24 14:26:32 CEST 2010


Hello.

I agree with you Jukka. Maybe in next WFS specification all this 
problems will be fixed. Maybe....

Regards,
Jorge.


On 09/24/2010 02:04 PM, Rahkonen Jukka wrote:
> Hi,
>
> Yes, we are talking about the same thing: doing real work with WFS-T is not as simple as it may feel.
> I have not found a "prolong locking" feature from WFS specs. Having too short locking time may cause troubles, and too long locking times are not good either. User selectable locking time is good compromise for my mind. Perhaps WFS-T client could also have a stop watch running and sending alarms to users: You have unsaved WFS features whose locking will be freed after two minutes on layer(s)... . Consider saving your edits!
>
> -Jukka-
>
>    
>> -----Alkuperäinen viesti-----
>> Lähettäjä: gvsig_internacional-bounces at listserv.gva.es
>> [mailto:gvsig_internacional-bounces at listserv.gva.es] Puolesta
>> Jorge Piera Llodrá
>> Lähetetty: 24. syyskuuta 2010 14:51
>> Vastaanottaja: gvsig_internacional at listserv.gva.es
>> Aihe: Re: [Gvsig_english] editing with WFS-T
>>
>> Hello Jukka.
>>
>> Your solution works, but you have your own implementation for
>> a WFS server.
>>
>> gvSIG is a standard client and we "only" use the WFS specification to
>> develope the WFS client. We can not assume that the WFS servers works
>> like your server and the concurrence problem exists in the
>> specification
>> if you don't use the GetFeatureWithLock operation.
>>
>> Regards,
>> Jorge.
>>
>>
>>
>>
>> On 09/24/2010 01:39 PM, Rahkonen Jukka wrote:
>>      
>>> Hi,
>>>
>>> I do not believe that uDig by default is using
>>>        
>> GetFeatureWithLock or LockFeature at all. That means that
>> even using WFS-T with uDig feels simple, many people editing
>> the same area at the same time could mean a total mess.
>>      
>>> We considered using WFS-T with locks but we did not feel it
>>>        
>> was reliable enough with our server-client combination.
>> Therefore we implemented our own optimistic locking on the
>> server side. We have a version counter and WFS-client gets
>> the version number with GetFeature. Trigger is advancing the
>> version number every time the feature is updated. Update from
>> WFS-T is possible only if the WFS message contains the same
>> version number that is the current one in the database.
>> Otherwise the transaction is not accepted and user must
>> reload the feature again.
>>      
>>> -Jukka Rahkonen-
>>>
>>>
>>>
>>>        
>>>> -----Alkuperäinen viesti-----
>>>> Lähettäjä: gvsig_internacional-bounces at listserv.gva.es
>>>> [mailto:gvsig_internacional-bounces at listserv.gva.es] Puolesta
>>>> Jorge Piera Llodrá
>>>> Lähetetty: 24. syyskuuta 2010 10:51
>>>> Vastaanottaja: gvsig_internacional at listserv.gva.es
>>>> Aihe: Re: [Gvsig_english] editing with WFS-T
>>>>
>>>> Hello.
>>>>
>>>> The WFS-T functionality for gvSIG was made few years ago like
>>>> a proof of
>>>> concept. When we developed it, we found several problems
>>>>          
>> with the WFS
>>      
>>>> specification.
>>>>
>>>> One of them is that a client has to select the number of
>>>> minutes that he
>>>> need to lock the features that he want to edit. If he doesn't
>>>> finish the
>>>> edition before this time stamp, the locked features are
>>>>          
>> unlocked and
>>      
>>>> other user could update them. When we develop the client, we
>>>> didn't find
>>>> a server that allowed to renew the time for the locked features.
>>>>
>>>> We didn't find a solution for these concurrence problem,
>>>>          
>> and we think
>>      
>>>> that was better to add the time manually that having the
>>>> possibility to
>>>> have not synchronized features in the client side.
>>>>
>>>> The WFS-T client for gvSIG has not been tested and this is
>>>>          
>> the reason
>>      
>>>> because it is disabled by default in gvSIG 1.1.2.
>>>>
>>>> Regards,
>>>> Jorge.
>>>>
>>>>
>>>> On 09/22/2010 04:27 PM, GeoGEOrge wrote:
>>>>
>>>>          
>>>>> I am trying to decide between using uDig or svSIG to do
>>>>>
>>>>>            
>>>> WFS-T editing.
>>>>
>>>>          
>>>>> UDig WFS-T editing is straightforward, you start editing,
>>>>>
>>>>>            
>>>> make changes, and
>>>>
>>>>          
>>>>> then commit those changes to save them and make them
>>>>>
>>>>>            
>>>> available on the
>>>>
>>>>          
>>>>> server.
>>>>> I am very impressed with the additional functionality
>>>>>
>>>>>            
>>>> available in gvSIG,
>>>>
>>>>          
>>>>> but the requirement to enter the number of minutes that I
>>>>>
>>>>>            
>>>> am going to be
>>>>
>>>>          
>>>>> WFS-T editing before i begin is VERY awkward.
>>>>> The 1.10beta version also does not seem to work with
>>>>>
>>>>>            
>>>> GeoServer 2.0.2, while
>>>>
>>>>          
>>>>> uDig 1.2.0 works fine.
>>>>> Has anyone had success using svSIG WFS-T with GeoServer? I
>>>>>
>>>>>            
>>>> really would
>>>>
>>>>          
>>>>> rather use svSIG, but I feel like uDIG is going to better
>>>>>
>>>>>            
>>>> serve my needs at
>>>>
>>>>          
>>>>> the moment.
>>>>>
>>>>>
>>>>>            
>>>> -- 
>>>> Jorge Piera Llodrá
>>>> gvSIG Development Team
>>>> PRODEVELOP
>>>> Plaza Don Juan de Villarrasa, 14 - 5
>>>> 46001 Valencia
>>>> Tel: +34 963510612
>>>> Fax: +34 963510908
>>>> e-mail: jpiera at prodevelop.es
>>>> http://www.prodevelop.es
>>>> http://www.gvsig.org
>>>>
>>>> _______________________________________________
>>>> Gvsig_internacional mailing list
>>>> Gvsig_internacional at listserv.gva.es
>>>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>>>>
>>>>
>>>>          
>>> _______________________________________________
>>> Gvsig_internacional mailing list
>>> Gvsig_internacional at listserv.gva.es
>>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>>>
>>>        
>>
>> -- 
>> Jorge Piera Llodrá
>> gvSIG Development Team
>> PRODEVELOP
>> Plaza Don Juan de Villarrasa, 14 - 5
>> 46001 Valencia
>> Tel: +34 963510612
>> Fax: +34 963510908
>> e-mail: jpiera at prodevelop.es
>> http://www.prodevelop.es
>> http://www.gvsig.org
>>
>> _______________________________________________
>> Gvsig_internacional mailing list
>> Gvsig_internacional at listserv.gva.es
>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>>
>>      
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>    


-- 
Jorge Piera Llodrá
gvSIG Development Team
PRODEVELOP
Plaza Don Juan de Villarrasa, 14 - 5
46001 Valencia
Tel: +34 963510612
Fax: +34 963510908
e-mail: jpiera at prodevelop.es
http://www.prodevelop.es
http://www.gvsig.org



More information about the Gvsig_internacional mailing list