[Qgis-user] Re: Rasterlite db with many raster tables

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Mon Mar 12 15:04:56 PDT 2012


Paolo Cavallini <cavallini at ...> writes:

> 
> Il 12/03/2012 17:43, Jukka Rahkonen ha scritto:
> > Hi,
> > 
> > Is QGis supposed to find rasters from rasterlite database which 
contains several
> > raster tables? I have managed to open all my test maps if I 
convert them to
> 
> it should, and it did some times ago.

I made a two-table sample with GDAL 1.9.0 by using the following commands

gdal_translate -of rasterlite -a_srs epsg:3067 tile_1f.tif
rasterlite:multitable.sqlite,table=raster_1

gdal_translate -of rasterlite -a_srs epsg:3067 tile_1g.tif
rasterlite:multitable.sqlite,table=raster_2

gdaladdo rasterlite:multitable.sqlite,table=raster_1 2 4 8 16

gdaladdo rasterlite:multitable.sqlite,table=raster_2 2 4 8 16

The result is here

http://latuviitta.org/documents/multitable.sqlite (12 MB)

Error I get from QGis:
"Cannot get GDAL raster band:"

-Jukka Rahkonen-

-Jukka Rahkonen-




More information about the Qgis-user mailing list