On 1/8/06, David Baker <[EMAIL PROTECTED]> wrote: > On 9 Jan 2006 at 12:47, David Baker <[EMAIL PROTECTED]> wrote: > > > Just wondering if anyone knows of a TFW to TAB converter for MapInfo 4.5? > > I've > > found a TAB to TFW MBX but this will only work for 5.5 & above, and goes > > the wrong > > way for me anyway. > > Actually a Google search pulled up tfwread-48.zip in www.directionsmag.com but > interestingly the Directions Mag own search engine doesn't find any file when > I search > on TFW - no idea what is going on there... > > Slight problem - tfwread-48.zip doesn't seem to work, but I'm wondering > whether I > have been supplied with bad TFW files? > > One TFW file looks like this: > > > 0.00050000000000000001 > 0 > 0 > -0.00050000000000000001 > 108.23932078473548 > 4.7244404076516631 > > consisting of 6 lines. tfwread-48 converts it to: > > !table > !version 300 > !charset WindowsLatin1 > Definition Table > File "BINTULU.tif" > Type "RASTER" > (108.23932078,4.72444041) (0,0) Label "Pt 1", > (108.23982078,4.72444041) (1,0) Label "Pt 2", > (108.23932078,4.72394041) (0,1) Label "Pt 3" > CoordSys Earth Projection 1, 104 > > Anyone know the definition for TWF files? My TIFF is 9962x7056 pixels, so the > 0,0 and > 1,0 and 0,1 don't look right to me.
The world file looks looks generally correct, but remember that you must supply the correct projection. The world file does not know what projection the imagery is in, you need to know that beforehand, and supply the correct projection when asked. I also wrote a MapBasic program some years ago which creates MapInfo TAB files from world files. It is available at: http://www.greenwoodmap.com/software/ Newer versions of MapInfo can read the world files and do not need any additional software, but in any case, you need to know the projection because that is not defined in the world file. HTH -- Richard Greenwood [EMAIL PROTECTED] www.greenwoodmap.com _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
