[gdal-dev] gdal_translate and PostGIS

Martin Landa landa.martin at gmail.com
Fri Apr 3 02:31:09 PDT 2015


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, 11119

fails with

ERROR 6: PostGISRasterDataset::CreateCopy() only works on source
datasets that are PostGISRaster

Thanks, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list