[Gdal-dev] Create HDF5 Problem

Tamas Szekeres szekerest at gmail.com
Wed May 13 06:02:06 EDT 2009


Sunny,


The HDF5 driver doesn't support the dataset creation at the moment.


Best regards,

Tamas



2009/5/13 Sunny K <shkwak74 at nate.com>

>
> Hi,
>
> I want to create HDF5 format file.
> So, I programmed as following C# source code.
>
> But, when I call Create() method, the following error message was happend.
>   "GDALDriver::Create()... no create method implemted for this format"
>
> I don't know that GDAL libray cannot support HDF5 creation or I used wrong
> method.
>
> I'd appreciate it if you would tell me some information to solve this
> problem.
>
>
> -----------------------------------------------------------------------------------------------
>        public void CreateData(string strPath)
>        {
>            OSGeo.GDAL.Driver drv = Gdal.GetDriverByName("HDF5");
>
>            int w = 512;
>            int h = 512;
>            Dataset ds = drv.Create(strPath, w, h, 1, DataType.GDT_Byte,
> null);        }
>
>
> -----------------------------------------------------------------------------------------------
>
> Best regards,
> - sunny
> --
> View this message in context:
> http://n2.nabble.com/Create-HDF5-Problem-tp2880597p2880597.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090513/9c14f833/attachment.html


More information about the gdal-dev mailing list