[gdal-dev] accessing netCDF files with /vsicurl fails
Even Rouault
even.rouault at mines-paris.org
Mon Apr 28 11:50:26 PDT 2014
Le lundi 28 avril 2014 20:40:05, Joaquim Luis a écrit :
> Even,
>
> I don't need it badly but it would be nice to have, so I will try to see
> how far I'll be able to reach.
> But do you mention the HDF4 lib? The issue happened with netCDF. Did you
> mean HDF5?
Ah sorry I got confused with another thread that was about HDF4. But the 3
brothers netCDF, HDF4 and HDF5 are in the same situation regarding that issue.
>
> > 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