I think I might have come up with a workaround for this. > I'm georeferencing some images and the first two worked fine (and > continue to work fine) however the third one refuses to work, with the > QGIS Georeferencer saying: > > Transform Failed: Could not create destination file.
I ran QGIS from the console and got an additional error message: ERROR 1: Attempt to create -2147483648x-2147483648 dataset is illegal, sizes must be larger than zero. The problem seems to be something to do with the CRS - QGIS isn't just mapping a pixel in the raster image to a point on the map, it also needs the source image to have a valid CRS for some reason. I set the CRS to EPSG:3857 (which wasn't enough on its own), then reprojected it to my project's CRS, and then tried to georeference the reprojected file and this worked. I'm not quite sure why it failed with the original CRS, or having no CRS at all but I must confess I really don't understand the way a CRS interacts with QGIS. For the time being it looks like reprojecting everything to a different CRS before georeferencing will serve as a usable workaround. Cheers, Adam. _______________________________________________ QGIS-User mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
