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

Reply via email to