-dev@lists.osgeo.org
*Subject:* Re: [gdal-dev] GDALOpenEx() not failing silently
Hi,
you can surround the call to GDALOpenEx() with
CPLPushErrorHandler(CPLQuietErrorHandler);
... GDALOpenEx() here ...
CPLPopErrorHandler();
Le 29/06/2025 à 21:20, Joaquim Manuel Freire Luís via gdal-dev a écrit :
29, 2025 8:24 PM
To: Joaquim Manuel Freire Luís ; gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] GDALOpenEx() not failing silently
Hi,
you can surround the call to GDALOpenEx() with
CPLPushErrorHandler(CPLQuietErrorHandler);
... GDALOpenEx() here ...
CPLPopErrorHandler();
Le 29/06/2025 à 21
Hi,
you can surround the call to GDALOpenEx() with
CPLPushErrorHandler(CPLQuietErrorHandler);
... GDALOpenEx() here ...
CPLPopErrorHandler();
Le 29/06/2025 à 21:20, Joaquim Manuel Freire Luís via gdal-dev a écrit :
Hi,
Again the Julia wrapper. In it to find if a file holds a raster or a
v
Hi,
Again the Julia wrapper. In it to find if a file holds a raster or a vector I
first open it with GDAL_OF_RASTER and see it the return pointer is NULL. This
has been working well and SILENTLY when it fail (because a OGR vector file name
was passed in). But with these Meteostat .csv.gz files