On Thursday 06 December 2007 2:31 pm, Marco Hugentobler wrote:
> Hi Magnus and Peter
>
> > Last time I checked, it onwly wrote TIFF-file. So, if you had a JPG file
> > as input, and tell it to write th output to transformed.jpg, it is
> > actually written as TIFF-file. And that means that the world file ending
> > with .jgw didn't get picked up, as it was looking for a .tgw.
>
> I changed that such that always a .wld file is written. Afaik that
> extension is fine for the most common formats.
>
> Peter, if you fill a bug report, it would be important to have as much info
> as possible, like QGIS version, example image file, file created by qgis
> that contains the reference points.

Hi Marco, Magnus and Tim,

I've been using version 0.8.1, installed as an rpm from Mandriva's 2008.0 
distro. I just did the same test on 0.9.0 in WinXP and it worked perfectly!

As Magnus suggested, in my test on 0.8.1, I renamed the resulting .jpw file 
to .tfw and the raster loaded in the right extent (with UTM coordinates). 
It's off by 881 meters, but it at least I can see both the vector and the 
raster at the same time. There is still a difference in the world files: 

On 0.8.1:

1.000000000000000
0
0
-1.000000000000000
363627.895052257168572
5513436.481880596838892


On 0.9:

1.225077210994433
0
0
-1.225077210994433
363599.692818554292899
5513435.925615184940398


Just to see what would happen, I used the WinXP 0.9.0 world file on the Linux 
0.8.1 test raster and it lined up perfectly. So, that means there are are 
possibly two issues, which have been fixed in (the windows version of) 0.9. 
The world file doesn't get written correctly and it doesn't get loaded in 
0.8.1 because qgis is looking for a .tfw, but the world file is called .jpw.


-- 
Peter Pankonin, digitalcrucible

There are 10 kinds of people in the world,
those who understand binary, and those who don't.
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user

Reply via email to