[gdal-dev] accessing netCDF files with /vsicurl fails

Even Rouault even.rouault at mines-paris.org
Mon Apr 28 10:55:59 PDT 2014


Le lundi 28 avril 2014 15:34:02, Joaquim Luis a écrit :
> Thanks for the remainder Etienne, ... but the "Linux only" is a killing
> feature for me.

Well, if you really badly need it and are ready to do some development effort, 
you could still edit the HDF4 sources and basically add some #ifdef's in a 
global include file that they would all include

#define fopen VSIFOpenL
#define fclose VSIFCloseL
#define fread VSIFReadL
etc etc. you got the point.

More points for you if you can do this in a cleaner way by defining a I/O API 
in HDF4 lib that would default to the standard C API (fopen, etc...), but 
could be overriden by GDAL to plug the VSI Large File API in it, and manage to 
make it accepted by HDF4 mainteners.

Even

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list