[Gdal-dev] Virtual FilesystemHandler???

Frank Warmerdam warmerdam at pobox.com
Mon Oct 15 15:28:32 EDT 2007


sanjay boddhu wrote:
> Hi All,
>          I have just started using GDAL lib for image reading and 
> writing purpose only. Right now i have the images located on the local 
> machine and i'm trying to extend the GDAL usage over the remotely 
> located images on the network. But i have a filesystemHandler (different 
> from win32) which i need to use to go thru to access the remote image data.
> 
> I have read the Virtual Filesystemhandler  which supports  run time 
> install  of different filesystemhandlers and was able to hook a new file 
> system class(using the win32 default file handle)  by experimenting with 
> the source. If anyone on the group can direct me to some more 
> information or sample implementations, (hooking new filesystem , other 
> than /vsimem/ I.E. memhandle) that would make this new filesystem 
> hooking process less error-prone, i would really appreciate the guidance.

Sanjay,

There is no tutorial on writing virtual filesystem handler stuff.  The
"real" and "/vsimem/" file systems are the best examples to look at.  The
patches implement access to stuff in zip files might also be of interest
(in http://trac.osgeo.org/gdal/ticket/1369)

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    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list