[Gdal-dev] netCDF Support

Frank Warmerdam warmerdam at pobox.com
Wed Jan 7 23:49:39 EST 2004


Ben Discoe wrote:
> Frank,
> 
> How will the dependencies work on Windows?  Currently vtdata calls the
> NetCDF library to read netCDF, and calls GDAL for other formats.  I'm happy
> to simplify by just calling GDAL.  You're using the netcdf DLL on Windows?
> I presume there is a new option to build GDAL with or without NetCDF support
> in order to toggle this dependency?
> 
> The big question is, will i (and other people building with vtdata/GDAL)
> still need  to have netcdf.lib on their machine, or is this bundled up into
> GDAL's library?  I.e. is the import library bundled or unbundled.  Bundling
> would simplify things further for us, as that's one less .lib that needs to
> be distributed.

Ben,

I haven't actually built it yet on windows, but I would assume I would use
a netcdf.dll.  Presumely in the short term this could coexist with other
users of netcdf.dll and in the longer term you might migrate to using
GDAL's netcdf support.  However, it isn't too sophisticated yet, so be a bit
wary.  This was an unfunded development (read: quick hack).

I have no intention of including an internal copy of netcdf lib in the same
way that I did for libungif, libpng, and some of the other "in the source
tree" libraries.  I am sure it could be done that way, but I hate to drag
too much more into the GDAL DLL itself.

I hope that answers your questions.

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