Re: [gdal-dev] gdal_translate and PostGIS

2015-04-03 Thread Martin Landa
Hi Even, 2015-04-03 11:37 GMT+02:00 Even Rouault : > As the error message suggests, no, not at the time with the PostGISRaster > driver which basically only supports creation of a new raster through > duplicatin an existing postgisraster table thanks to SQL copy mechanisms. > > You have to use ras

Re: [gdal-dev] gdal_translate and PostGIS

2015-04-03 Thread Even Rouault
Le vendredi 03 avril 2015 11:31:09, Martin Landa a écrit : > Hi, > > is it possible to import raster data into PostGIS using gdal_translate? > > $ gdal_translate -of PostGISRaster dmt.tif PG:dbname=pokusnik > Input file size is 19615, 9 > > fails with > > ERROR 6: PostGISRasterDataset::Crea

[gdal-dev] gdal_translate and PostGIS

2015-04-03 Thread Martin Landa
Hi, is it possible to import raster data into PostGIS using gdal_translate? $ gdal_translate -of PostGISRaster dmt.tif PG:dbname=pokusnik Input file size is 19615, 9 fails with ERROR 6: PostGISRasterDataset::CreateCopy() only works on source datasets that are PostGISRaster Thanks, Martin