Re: [gdal-dev] GDAL open flags

2025-02-06 Thread Michał Kowalczuk via gdal-dev
It make sense. If I find an unusual case, I'll write here :-) Thanks! czw., 6 lut 2025 o 09:19 Javier Jimenez Shaw napisał(a): > I would say that 0 is the default. Read only and all drivers. > If you want anything else, then specify it. > > On Thu, 6 Feb 2025, 09:10 Michał Kowalczuk via gdal-dev

Re: [gdal-dev] GDAL open flags

2025-02-06 Thread Javier Jimenez Shaw via gdal-dev
I would say that 0 is the default. Read only and all drivers. If you want anything else, then specify it. On Thu, 6 Feb 2025, 09:10 Michał Kowalczuk via gdal-dev, < gdal-dev@lists.osgeo.org> wrote: > Hi GDAL devs, > does anyone know why GDAL_OF_ALL and GDAL_READONLY consts have the same > value?

[gdal-dev] GDAL open flags

2025-02-06 Thread Michał Kowalczuk via gdal-dev
Hi GDAL devs, does anyone know why GDAL_OF_ALL and GDAL_READONLY consts have the same value? Both are used by GDALOpenEx as nOpenFlags param so shouldn't they be distinguishable? *#define GDAL_OF_READONLY 0x00* *#define GDAL_OF_ALL 0x00* https://github.com/OSGeo/gdal/blob/5248a30e9a84998dd0416ab7

[gdal-dev] GDAL open flags

2025-01-14 Thread Michał Kowalczuk via gdal-dev
Hi gdal-group! Does GDAL_OF_READONLY / GDAL_OF_UPDATE have any impact on performance, especially when reading common vector files (shp, gpkg, gml)? There is no recommendation on this in docs. Best regards, Michał Kowalczuk ___ gdal-dev mailing list gdal