GDAL
Posts  1 - 2  of  2
David1980
I need GDAL with both Shapefile and HDF4-Support, best in 64 bit.

First Ive downloaded the source code from http://trac.osgeo.org/gdal/wiki/DownloadSource.
If I compile it without changes, I get a GDAL-folder with a new GDAL19.dll. If I try to use this whole folder in my C#-project, I get a error. But if I only copy the new GDAL19.dll over the old one in the existing GDAL(32 bit)-folder it works. Is this how it should be or is something going wrong here already ?
(Its the same after changing to 64bit)

But then I cant do the third step, including HDF4. I found and changed the following section in nmake.opt, but it didnt work:
# Uncomment the following and update to enable NCSA HDF Release 4 support.
HDF4_PLUGIN = NO
HDF4_DIR = C:\HDF
HDF4_LIB = /LIBPATH:$(HDF4_DIR)\lib Ws2_32.lib

Can anybody give a step by step tutorial "How to compile GDAL with HDF4" ?
I need to know which HDF4-files I need, where to get them, and what I have to write in nmake.opt.
Save
Cancel
Reply
replied to:  David1980
David1980
Replied to:  I need GDAL with both Shapefile and HDF4-Support, best in 64...
PS.:
I found out that the GDAL-version used in FW-Tools has HDF4 and Shapefile-Support, but I cant use the vector-formats in C#.

Ive got a C#-project with gdal-bindings that works with new version of GDAL, but not with FW-Tools-GDAL. (both 32 bit)

Maybe I need an other/older version of the bindings ?
Has anyone used FW-Tools-GDAL with Shapefiles in C# ?
Save
Cancel
Reply
 
x
OK