[gdal-dev] Raster from temporary tiles

Matthias Kuhn matthias at opengis.ch
Tue Jul 19 22:29:06 PDT 2016


Hi,

I have a question regarding creating raster data (geopackage). It's
trivial to create files with gdal_translate if there is already an
existing source raster file (e.g. geotiff).

What I need to do is to download tiles and "feed" them to a geopackage
raster file.
I guess I could just download them and then create a VRT or use
gdal_merge to stitch them together before sending them to gdal_translate.

Now I wonder if it's possible to incrementally populate the geopackage.
This way the cpu could already be spend some useful cycles on reencoding
while still imagery is still being downloaded.
Looking at the docs of geopackage [1] I think "support for
IWriteBlocks()" seems to indicate that this is possible but I'm not
completely sure.

A similar request would be to manually set the overview images. With
gdaladdo, the high-res imagery can be downsampled. But if that's
possible, I assume it should also be possible to "inject" different
raster tiles (e.g. of generalized maps).

Best regards
Matthias

[1] http://www.gdal.org/drv_geopackage_raster.html


More information about the gdal-dev mailing list