Re: [Qgis-developer] Vector buffer commitChanges (was Interaction between QGis and ArcGis)

2013-04-28 Thread Radim Blazek
On Fri, Apr 26, 2013 at 10:09 AM, Martin Dobias wrote: > On Wed, Apr 24, 2013 at 12:20 PM, Radim Blazek wrote: >>> >>> Maybe better, but we are already using startEditing() and >>> commitChanges() in vector layer so I would prefer to use the same. >> >> I added to QgsVectorDataProvider: >> >> vir

Re: [Qgis-developer] Vector buffer commitChanges (was Interaction between QGis and ArcGis)

2013-04-26 Thread Martin Dobias
On Wed, Apr 24, 2013 at 12:20 PM, Radim Blazek wrote: >> >> Maybe better, but we are already using startEditing() and >> commitChanges() in vector layer so I would prefer to use the same. > > I added to QgsVectorDataProvider: > > virtual bool startEditing(); > virtual bool rollBack(); > virtual bo

Re: [Qgis-developer] Vector buffer commitChanges (was Interaction between QGis and ArcGis)

2013-04-24 Thread Radim Blazek
On Sun, Apr 21, 2013 at 11:41 AM, Radim Blazek wrote: > On Sun, Apr 21, 2013 at 9:34 AM, Martin Dobias wrote: >> Hi Radim >> >> On Sat, Apr 20, 2013 at 8:39 AM, Radim Blazek wrote: >>> On Fri, Apr 19, 2013 at 12:07 PM, JVerholle >>> wrote: Hi all, If I want to open the same shap

Re: [Qgis-developer] Vector buffer commitChanges (was Interaction between QGis and ArcGis)

2013-04-22 Thread Radim Blazek
On Sun, Apr 21, 2013 at 11:13 AM, Radim Blazek wrote: > On Sat, Apr 20, 2013 at 9:03 PM, Olivier Dalang > wrote: >> Is this a solution for http://hub.qgis.org/issues/7540 ? > > Probably. Sorry, probably not. The problem could be that not edited layer keeps something in memory (shx - shapes inde

Re: [Qgis-developer] Vector buffer commitChanges (was Interaction between QGis and ArcGis)

2013-04-21 Thread Radim Blazek
On Sun, Apr 21, 2013 at 9:34 AM, Martin Dobias wrote: > Hi Radim > > On Sat, Apr 20, 2013 at 8:39 AM, Radim Blazek wrote: >> On Fri, Apr 19, 2013 at 12:07 PM, JVerholle >> wrote: >>> Hi all, >>> >>> If I want to open the same shapefile in both softwares at the same time, the >>> file is locked

Re: [Qgis-developer] Vector buffer commitChanges (was Interaction between QGis and ArcGis)

2013-04-21 Thread Radim Blazek
On Sat, Apr 20, 2013 at 9:03 PM, Olivier Dalang wrote: > Is this a solution for http://hub.qgis.org/issues/7540 ? Probably. Radim > 2013/4/20 Radim Blazek >> >> On Fri, Apr 19, 2013 at 12:07 PM, JVerholle >> wrote: >> > Hi all, >> > >> > If I want to open the same shapefile in both softwares

Re: [Qgis-developer] Vector buffer commitChanges (was Interaction between QGis and ArcGis)

2013-04-21 Thread Martin Dobias
Hi Radim On Sat, Apr 20, 2013 at 8:39 AM, Radim Blazek wrote: > On Fri, Apr 19, 2013 at 12:07 PM, JVerholle wrote: >> Hi all, >> >> If I want to open the same shapefile in both softwares at the same time, the >> file is locked in ArcGis (even if the edition mode isn't used in QGis). > > QGIS ope

Re: [Qgis-developer] Vector buffer commitChanges (was Interaction between QGis and ArcGis)

2013-04-20 Thread Olivier Dalang
Is this a solution for http://hub.qgis.org/issues/7540 ? 2013/4/20 Radim Blazek > On Fri, Apr 19, 2013 at 12:07 PM, JVerholle > wrote: > > Hi all, > > > > If I want to open the same shapefile in both softwares at the same time, > the > > file is locked in ArcGis (even if the edition mode isn't

[Qgis-developer] Vector buffer commitChanges (was Interaction between QGis and ArcGis)

2013-04-19 Thread Radim Blazek
On Fri, Apr 19, 2013 at 12:07 PM, JVerholle wrote: > Hi all, > > If I want to open the same shapefile in both softwares at the same time, the > file is locked in ArcGis (even if the edition mode isn't used in QGis). QGIS opens layers (files) in update mode ("r+") if possible (file permission + OG