[gdal-dev] hdf5 to esri shape-file converter

2009-06-17 Thread Chandra Shekhar Kumar
Hi, I was looking for a converter tool to convert a given hdf5 file (.mh5) to esri shape-files(.shp) and vice versa. Does anyone has any idea about the same? Does anyone see any utility in developing this(if it doesn't exists already somewhere)? Thanks, Chandra

RE: [gdal-dev] hdf5 to esri shape-file converter

2009-06-17 Thread Chandra Shekhar Kumar
Steffen, Hi Chandra, I was looking for a converter tool to convert a given hdf5 file (.mh5) to esri shape-files(.shp) and vice versa. GDAL supports reading of HDF5 raster data. [Chandra ] this is really cool news for me. But Shape files are vector data. The process to convert from raster to

RE: [gdal-dev] Errors in compiling GDAL on a 64bits Linux

2009-06-18 Thread Chandra Shekhar Kumar
/afs/isis.unc.edu/pkg/oracle-1020/client//lib/libexpat.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[1]: *** [libgdal.la] Error 1 [Chandra ] it looks like it is getting linked against 32-bit libexpat.so Can you check the same by file

[gdal-dev] OGR API for ESRI Shapefile writer

2009-06-29 Thread Chandra Shekhar Kumar
Hi All, I was trying to create a shapefile using the code below: It looks like though the fieldnames are getting created but the values (I tried just one row) are not getting created: OGRRegisterAll(); OGRSFDriver *poDriver = OGRSFDriverRegistrar::GetRegistrar()-GetDriverByName(ESRI

RE: [gdal-dev] OGR API for ESRI Shapefile writer

2009-06-29 Thread Chandra Shekhar Kumar
-Original Message- From: Even Rouault [mailto:even.roua...@mines-paris.org] Almost perfect, but you've made a classical error : you've just forgotten to properly close the dataset with OGRDataSource::DestroyDataSource( poDS ); Quoting http://gdal.org/ogr/ogr_apitut.html: Finally we need