[Gdal-dev] GDALOpenShared error

Frank Warmerdam warmerdam at pobox.com
Fri Oct 23 09:45:12 EDT 2009


alfreale wrote:
> Hi,
> 
> When I import a HDF file with gdal, I've this error:
> 
> A dataset opened by GDALOpenShared should have the same filename.....
> 
> -------------------------------------------------
> 
> GRASS 6.4.0RC5 (wgs84_lat_long):~ > i.in.spotvgt -a --overwrite --verbose
> file=/media/Archivio_Esterno/DE_archivio/cartografia/satellite/spot_vegetation_Africa/V1KRNS10__19980401_NDVI__Africa/0001/0001_NDV.HDF
> rast=ndvi_test
> Importing SPOT VGT NDVI map...
> Warning 6: A dataset opened by GDALOpenShared should have the same filename
> (/media/Archivio_Esterno/DE_archivio/cartografia/satellite/spot_vegetation_Africa/V1KRNS10__19980401_NDVI__Africa/0001/0001_NDV.HDF)
> and description
> (HDF4_SDS:UNKNOWN:"/media/Archivio_Esterno/DE_archivio/cartografia/satellite/spot_vegetation_Africa/V1KRNS10__19980401_NDVI__Africa/0001/0001_NDV.HDF":0) 
> 
> -------------------------------------------------

Alfreale,

This is a non-critical message just indicated that subsequent GDALOpenShared
calls for this file will not share dataset handles.  I have filed a ticket on
the issue so we can try and improve the HDF4 driver, but the issue should
not affect your activities.  You may disregard the warning.

   http://trac.osgeo.org/gdal/ticket/3200

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list