Re: [Qgis-user] Georeferencer to create temp file as .VRT
Il 16/12/2013 00:36, Jukka Rahkonen ha scritto: > The first gdal_translate creates a temporaty file as an uncompressed tiff > file. However, it is unnecessary to write a new physical image file. Instead > it would be usually much faster and thus better to write the temporary > output as GDAL .VRT file. VRT file is a short text file (about 2 kB in size) > that contains a reference to the original image file. Thanks for the hint. In fact, the georeferencer would need some love (several long standing issues have still to be fixed). Any supporter for this job? All the best. -- Paolo Cavallini - www.faunalia.eu QGIS & PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Georeferencer to create temp file as .VRT
Hi, Georeferencer creates and runs gdal_translate and gdalwarp commands like here: gdal_translate -of GTiff -gcp 461.252 682.521 2.54e+06 6.69e+06 -gcp 6355.1 671.222 2.55e+06 6.69e+06 -gcp 6367.18 6586.15 2.55e+06 6.68e+06 -gcp 472.062 6599.32 2.54e+06 6.68e+06 "C:/Users/test/test_scan.jpg" "C:/Users/test/AppData/Local/Temp/test_scan.jpg" gdalwarp -r near -order 1 -co COMPRESS=DEFLATE "C:/Users/test/AppData/Local/Temp/test_scan.jpg" "C:/Users/test/test_scan.tif" The first gdal_translate creates a temporaty file as an uncompressed tiff file. However, it is unnecessary to write a new physical image file. Instead it would be usually much faster and thus better to write the temporary output as GDAL .VRT file. VRT file is a short text file (about 2 kB in size) that contains a reference to the original image file. I know that I can catch the commands, edit by hand and run from GDAL command line afterwards but average users probably do not know that. -Jukka Rahkonen- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user