RE: [mapguide-users] MGOS 2.0: MgUpdateFeatures broken

2010-01-30 Thread andrea tiveron (e-metodi)
-boun...@lists.osgeo.org] On Behalf Of gregboone Sent: venerdì 4 aprile 2008 16.29 To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] MGOS 2.0: MgUpdateFeatures broken I have another recommendation. You should make a call to FdoIFeatureReader-Dispose() after the call to Close() so

Re: [mapguide-users] MGOS 2.0: MgUpdateFeatures broken

2008-04-04 Thread Ismael Cams
The featurereader is closed. The identical code is behaving correct on MGOS 1.2. There is a parallel thread on the forum at the moment which is describing the same problem withe updating and deleting features. Might be a bug or changed behaviour ? did you open a feature reader and not close

Re: [mapguide-users] MGOS 2.0: MgUpdateFeatures broken

2008-04-04 Thread Zac Spitzer
if your refering to the thread 'Please try your operation later as the resource was busy' from Adam it was indeed a feature reader problem On Fri, Apr 4, 2008 at 5:45 PM, Ismael Cams [EMAIL PROTECTED] wrote: The featurereader is closed. The identical code is behaving correct on MGOS 1.2.

Re: [mapguide-users] MGOS 2.0: MgUpdateFeatures broken

2008-04-04 Thread Ismael Cams
You are right. It was indeed a FeatureReader problem. I was closing it, but only after having done the update. Somehow it did not give problems in MGOS 1.2. I have moved the close() before the deletion/update of the feature and it is working fine now. Thanks for the help. zspitzer wrote:

Re: [mapguide-users] MGOS 2.0: MgUpdateFeatures broken

2008-04-04 Thread Maksim Sestic
Hi Ismael, In case you're using managed wrapper, you may consider reading following thread on FDO wiki: http://www.nabble.com/.net-Wrapper-quirks-to16318694s18162.html including related Ticket: http://trac.osgeo.org/fdo/ticket/284 Regards, Maksim Sestic Ismael Cams wrote: You are right.

Re: [mapguide-users] MGOS 2.0: MgUpdateFeatures broken

2008-04-04 Thread gregboone
I have another recommendation. You should make a call to FdoIFeatureReader-Dispose() after the call to Close() so that the garbage collection can happen immediately and all allocated SQLite resources freed. Greg Maksim Sestic wrote: Hi Ismael, In case you're using managed wrapper, you

Re: [mapguide-users] MGOS 2.0: MgUpdateFeatures broken

2008-04-03 Thread Zac Spitzer
did you open a feature reader and not close it? On Thu, Apr 3, 2008 at 11:57 PM, Ismael Cams [EMAIL PROTECTED] wrote: Hello, I have written some code for inserting polygon, lines and points in SDF files. This code was working fine on MGOS 1.2, but in MGOS 2.0 UpdateFeatures does not