Re: [Qgis-user] QGIS and FileGDB

2024-03-10 Thread Totò Fiandaca via QGIS-User
Thanks Andrea for the details.
I will try to understand a little better and study the phenomenon carefully
so that I can better detail the problem.

thank you all.

I always use OSgeo4W, the data update that caused me to lose the data was
done via the field calculator.

Il giorno sab 9 mar 2024 alle ore 09:21 Andrea Giudiceandrea via QGIS-User <
qgis-user@lists.osgeo.org> ha scritto:

> > Totò Fiandaca pigrecoinfinito at gmail.com
> > Tue Mar 5 00:15:20 PST 2024
>
> > I noticed that by modifying
> > the FileGDBs created by ArcGIS PRO in QGIS:
> > 1. saving is particularly slow;
> > 2. I often lose data, i.e. if I have an active data selection and I try
> to
> > update only the selection, QGIS updates the entire dataset resulting in
> > data loss.
>
> Hi Totò,
> as you already know, QGIS handles ESRI File Geodatabase layer via the
> GDAL/OGR library.
> The GDAL/OGR library has two different drivers for the ESRI File
> Geodatabase forma: the built-int driver "OpenFileGDB" [1] (which is
> available on all systems) and the "FileGDB" driver (available on Windows
> through OSGeo4W) which depends on the ESRI FileGDB API SDK [2].
> Using which driver does the issue occurs?
>
> How do you update the data?
>
> I think you should inform the GDAL/OGR developers about the issue. Since
> you experience the issue often, it shouldn't be so difficult to provide
> a sample ESRI File Geodatabase layer and exact steps in order to
> replicate the issue.
>
> Best regards.
>
> Andrea Giudiceandrea
>
>
> [1] https://gdal.org/drivers/vector/openfilegdb.html
> [2] https://gdal.org/drivers/vector/filegdb.html
> ___
> QGIS-User mailing list
> QGIS-User@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>


-- 
*Ing. Salvatore Fiandaca*
*mobile*.:+39 327.493.8955
*m*: *pigrecoinfin...@gmail.com *
*C.F*.: FNDSVT71E29Z103G
*P.IVA*: 06597870820
*membro QGIS Italia - http://qgis.it/ *
*socio GFOSS.it - *http://gfoss.it/
*member OSGeo* - *https://www.osgeo.org/member/fiandaca/*

*blog:*
* https://pigrecoinfinito.com/  FB: Co-admin
- https://www.facebook.com/qgis.it/ **
 *
*TW:  **https://twitter.com/totofiandaca
*

43°51'0.54"N  10°34'27.62"E - EPSG:4326

“Se la conoscenza deve essere aperta a tutti,
perchè mai limitarne l’accesso?”
R. Stallman

Questo documento, allegati inclusi, contiene informazioni di proprietà di
FIANDACA SALVATORE e deve essere utilizzato esclusivamente dal destinatario
in relazione alle finalità per le quali è stato ricevuto. E' vietata
qualsiasi forma di riproduzione o divulgazione senza l'esplicito consenso
di FIANDACA SALVATORE. Qualora fosse stato ricevuto per errore si prega di
informare tempestivamente il mittente e distruggere la copia in proprio
possesso.
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS and FileGDB

2024-03-09 Thread Andrea Giudiceandrea via QGIS-User

Totò Fiandaca pigrecoinfinito at gmail.com
Tue Mar 5 00:15:20 PST 2024



I noticed that by modifying
the FileGDBs created by ArcGIS PRO in QGIS:
1. saving is particularly slow;
2. I often lose data, i.e. if I have an active data selection and I try to
update only the selection, QGIS updates the entire dataset resulting in
data loss.


Hi Totò,
as you already know, QGIS handles ESRI File Geodatabase layer via the 
GDAL/OGR library.
The GDAL/OGR library has two different drivers for the ESRI File 
Geodatabase forma: the built-int driver "OpenFileGDB" [1] (which is 
available on all systems) and the "FileGDB" driver (available on Windows 
through OSGeo4W) which depends on the ESRI FileGDB API SDK [2].

Using which driver does the issue occurs?

How do you update the data?

I think you should inform the GDAL/OGR developers about the issue. Since 
you experience the issue often, it shouldn't be so difficult to provide 
a sample ESRI File Geodatabase layer and exact steps in order to 
replicate the issue.


Best regards.

Andrea Giudiceandrea


[1] https://gdal.org/drivers/vector/openfilegdb.html
[2] https://gdal.org/drivers/vector/filegdb.html
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS and FileGDB

2024-03-06 Thread Adam Nielsen via QGIS-User
> I will try to understand the problem better and maybe in the future I
> will open an issue.

I googled FileGDB as I don't know much about it, and came across this
info:

> The driver implements transactions at the database level, through an
> emulation. This works by backing up the current state of the modified
> parts of a geodatabase after StartTransaction(force=TRUE) is called.
> If the transaction is committed, the backup copy is destroyed. If the
> transaction is rolled back, the backup copy is restored.
>
> Note that this emulation has an unspecified behavior in case of
> concurrent updates (with different connections in the same or another
> process).

This means that if you have more than one connection to the same file
(e.g. perhaps two layers coming from the same file, or have it open in
QGIS and another program at the same time), there is a risk of the file
being corrupted upon write.

It sounds like this data format might be one to avoid for datasets you
want to modify with QGIS.

Cheers,
Adam.
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS and FileGDB

2024-03-06 Thread Totò Fiandaca via QGIS-User
Hi Emma,
Thanks for the reply.

As I wrote in the initial email, there are many variables at play and I
cannot always reproduce the problem, opening an issue in these conditions
is not the best choice as it would be closed immediately.

I will try to understand the problem better and maybe in the future I will
open an issue.

I wrote the email so that other users could be careful if they used this
format.

Il giorno gio 7 mar 2024 alle ore 00:38 Emma Hain  ha
scritto:

> HI Totò
> Are you able to add this as an Issue here please.
> https://github.com/qgis/QGIS/issues
>
> Thanks
> Em
>
> On Tue, 5 Mar 2024 at 18:16, Totò Fiandaca via QGIS-User <
> qgis-user@lists.osgeo.org> wrote:
>
>> I use OSGeo4W on win 11 64 bit and got the problem in QGIS 3.28 and 3.34
>>
>> For work I use both QGIS and ArcGIS PRO 3.2.2, I noticed that by
>> modifying the FileGDBs created by ArcGIS PRO in QGIS:
>> 1. saving is particularly slow;
>> 2. I often lose data, i.e. if I have an active data selection and I try
>> to update only the selection, QGIS updates the entire dataset resulting in
>> data loss.
>>
>> I have already noticed the malfunctioning of FileGDB in QGIS for some
>> time, but I want to leave this trace, unfortunately it is not easy to
>> reproduce.
>>
>> Greetings
>>
>> --
>>
>> “Se la conoscenza deve essere aperta a tutti,
>> perchè mai limitarne l’accesso?”
>> R. Stallman
>>
>> Questo documento, allegati inclusi, contiene informazioni di proprietà di
>> FIANDACA SALVATORE e deve essere utilizzato esclusivamente dal destinatario
>> in relazione alle finalità per le quali è stato ricevuto. E' vietata
>> qualsiasi forma di riproduzione o divulgazione senza l'esplicito consenso
>> di FIANDACA SALVATORE. Qualora fosse stato ricevuto per errore si prega
>> di informare tempestivamente il mittente e distruggere la copia in proprio
>> possesso.
>>
>>
>> ___
>> QGIS-User mailing list
>> QGIS-User@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
> --
> Emma Hain — Product Manager/Senior GIS Analyst
> e...@north-road.com
> [image: https://north-road.com]
> *North Road*
> Cartography • Development • Spatial Analysis
> --
> *north-road.com* 
> 
> 
> 
>
>

-- 

“Se la conoscenza deve essere aperta a tutti,
perchè mai limitarne l’accesso?”
R. Stallman

Questo documento, allegati inclusi, contiene informazioni di proprietà di
FIANDACA SALVATORE e deve essere utilizzato esclusivamente dal destinatario
in relazione alle finalità per le quali è stato ricevuto. E' vietata
qualsiasi forma di riproduzione o divulgazione senza l'esplicito consenso
di FIANDACA SALVATORE. Qualora fosse stato ricevuto per errore si prega di
informare tempestivamente il mittente e distruggere la copia in proprio
possesso.
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS and FileGDB

2024-03-06 Thread Emma Hain via QGIS-User
HI Totò
Are you able to add this as an Issue here please.
https://github.com/qgis/QGIS/issues

Thanks
Em

On Tue, 5 Mar 2024 at 18:16, Totò Fiandaca via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> I use OSGeo4W on win 11 64 bit and got the problem in QGIS 3.28 and 3.34
>
> For work I use both QGIS and ArcGIS PRO 3.2.2, I noticed that by modifying
> the FileGDBs created by ArcGIS PRO in QGIS:
> 1. saving is particularly slow;
> 2. I often lose data, i.e. if I have an active data selection and I try to
> update only the selection, QGIS updates the entire dataset resulting in
> data loss.
>
> I have already noticed the malfunctioning of FileGDB in QGIS for some
> time, but I want to leave this trace, unfortunately it is not easy to
> reproduce.
>
> Greetings
>
> --
>
> “Se la conoscenza deve essere aperta a tutti,
> perchè mai limitarne l’accesso?”
> R. Stallman
>
> Questo documento, allegati inclusi, contiene informazioni di proprietà di
> FIANDACA SALVATORE e deve essere utilizzato esclusivamente dal destinatario
> in relazione alle finalità per le quali è stato ricevuto. E' vietata
> qualsiasi forma di riproduzione o divulgazione senza l'esplicito consenso
> di FIANDACA SALVATORE. Qualora fosse stato ricevuto per errore si prega
> di informare tempestivamente il mittente e distruggere la copia in proprio
> possesso.
>
>
> ___
> QGIS-User mailing list
> QGIS-User@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>


-- 
Emma Hain — Product Manager/Senior GIS Analyst
e...@north-road.com
[image: https://north-road.com]
*North Road*
Cartography • Development • Spatial Analysis
--
*north-road.com* 



___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] QGIS and FileGDB

2024-03-05 Thread Totò Fiandaca via QGIS-User
I use OSGeo4W on win 11 64 bit and got the problem in QGIS 3.28 and 3.34

For work I use both QGIS and ArcGIS PRO 3.2.2, I noticed that by modifying
the FileGDBs created by ArcGIS PRO in QGIS:
1. saving is particularly slow;
2. I often lose data, i.e. if I have an active data selection and I try to
update only the selection, QGIS updates the entire dataset resulting in
data loss.

I have already noticed the malfunctioning of FileGDB in QGIS for some time,
but I want to leave this trace, unfortunately it is not easy to reproduce.

Greetings

-- 

“Se la conoscenza deve essere aperta a tutti,
perchè mai limitarne l’accesso?”
R. Stallman

Questo documento, allegati inclusi, contiene informazioni di proprietà di
FIANDACA SALVATORE e deve essere utilizzato esclusivamente dal destinatario
in relazione alle finalità per le quali è stato ricevuto. E' vietata
qualsiasi forma di riproduzione o divulgazione senza l'esplicito consenso
di FIANDACA SALVATORE. Qualora fosse stato ricevuto per errore si prega di
informare tempestivamente il mittente e distruggere la copia in proprio
possesso.
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user