This project is read-only.

How to export a raster in geotiff format?

Jul 11, 2011 at 4:38 PM

Dear all,

after importing a (ascii) raster (a digital elevation model) with dotspatial (GDAL), is it possible to export it in geotiff format easily?

I am thinking of using the "raster.createraster" command in which I will refer to geotiff format, but I don't know what value I should give to all the required parameters.

Did anyone try to do that already?

Any advice on where I can find useful informations?

Thank you

Oscar

 

Jul 11, 2011 at 7:46 PM

I am using DotSpatial.Data.Raster.SaveAs to save a raster in another format.

There has been some recent work making this better. Test it out for yourself and see if it is currently working for your rasters.

Jul 12, 2011 at 1:47 PM

well, actually I cannot find the method you indicated. I just see the createraster method.

I am using dotspatial beta release 1.0.2011.5, is there something missing in this version? or am I doing something wrong?

 

Thank you

Jul 12, 2011 at 2:04 PM

ops! I found it! sorry...

thank you

Oscar