Re: [gdal-dev] [WKTRaster] WKT Raster band to GDAL band

2010-03-08 Thread Jorge Arevalo
On Mon, Mar 8, 2010 at 5:42 PM, Pierre Racine pierre.rac...@sbf.ulaval.ca wrote: 4.- Add default geotransform to GDAL empty dataset: {0.0, 1.0, 0.0, 0.0, 0.0,1.0 }; (I can't get geotransform from WKT Raster Band) Why? You can get all the parameters with (in order):

[gdal-dev] [WKTRaster] WKT Raster band to GDAL band

2010-03-05 Thread Jorge Arevalo
Hello, I've created a WKTRasterBand-to-GDALRasterBand conversor, in the frame of WKT Raster project. I'm not sure if the results are correct. You can get the code from here https://svn.osgeo.org/postgis/spike/wktraster/rt_core/rt_api.c, but basically, the steps are: 1.- Register GDAL/OGR drivers