Tiff files appearing in the wrong location because of tfw format

Feb 1, 2013 at 12:46 PM
Hi,
I have just upgraded my Access mapwindow application to OCX 4.8.
In the previous version running 4.7, I would load a series of Tiff files on the map without any problems.
With 4.8, the Tiff files load but they all end up in the left bottom corner of the map.
I figured out this was due to the structure of the tfw files associated with the Tiff files.
My tfw files are tab delimited (example below) and it seems that the OCX 4.8 does not read them properly
5   0   0   -5  420003  179998
However, if I change the structure of the file and put each piece of information on a separate line as below, it seems to display correctly.
             5.00000000000000 
               0.00000000000000 
               0.00000000000000 
            -5.00000000000000 
          420003.00000000000000 
          179998.00000000000000 
Is this a bug? Why was it working in 4.7 and not in 4.8?
What is the solution?
Obviously I could reformat 100s of tfw files but it would be slightly overkill.
Thanks for your help
Marc
Coordinator
Feb 1, 2013 at 2:04 PM
Hi Marc,

This sounds like a bug to me.
Can you report this to the codeplex issue tracker or to our old issue tracker at MapWindow: http://bugs.mapwindow.org
In both cases please attach some sample data, two tiff files would be sufficient.

Thanks,
Paul
Feb 1, 2013 at 2:25 PM
Edited Feb 1, 2013 at 2:25 PM
Thanks Paul,
I have done so on Codeplex and attached 2 tiff files as requested.
Best wishes
Marc
Coordinator
Feb 4, 2013 at 10:27 AM
Hi Marc,

I'll let you know when it is fixed.

Paul
Feb 4, 2013 at 11:24 AM
<div dir="ltr"> <div style="font-family:'Calibri'; color:#000000; font-size:12pt"> <div>Hi Paul,</div> <div>thanks.</div> <div> <div style="font-style:normal; display:inline; font-family:'Calibri'; color:#000000; font-size:small; font-weight:normal; text-decoration:none"> Best wishes</div> </div> <div> <div style="font-style:normal; display:inline; font-family:'Calibri'; color:#000000; font-size:small; font-weight:normal; text-decoration:none"> </div> <div style="font-style:normal; display:inline; font-family:'Calibri'; color:#000000; font-size:small; font-weight:normal; text-decoration:none"> Marc</div> </div> <div> <div style="font-style:normal; display:inline; font-family:'Calibri'; color:#000000; font-size:small; font-weight:normal; text-decoration:none"> </div> <div style="font:10pt tahoma"> <div style="background:#f5f5f5"> <div style=""><b>From:</b> [email removed] </div> <div><b>Sent:</b> Monday, February 04, 2013 11:28 AM</div> <div><b>To:</b> [email removed] </div> <div><b>Subject:</b> Re: Tiff files appearing in the wrong location because of tfw format [mapwingis:431671]</div> </div> </div> <div></div> </div> <div style="font-style:normal; display:inline; font-family:'Calibri'; color:#000000; font-size:small; font-weight:normal; text-decoration:none"> <p>From: pmeems</p> <div id="ThreadNotificationPostBody">Hi Marc, I'll let you know when it is fixed. -- Paul</div> </div> </div> </div>