<div>Hi Frank,</div>
<div>&nbsp;</div>
<div>I am trying now the following two options:</div>
<div>&nbsp;</div>
<div>1. use script to create worldfiles for the GIFs,</div>
<div>2. merge the GIFs using gdal_merge.py, and create a single *tfw for the output tif file. After that a single gdaltindex command with &quot;TILED=YES&quot; should be good enough for my application.</div>
<div>&nbsp;</div>
<div>thanks</div>
<div>&nbsp;</div>
<div>zhonghai<br>&nbsp;</div>
<div><span class="gmail_quote">On 5/23/06, <b class="gmail_sendername">Frank Warmerdam</b> &lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Zhonghai Wang wrote:<br>&gt; Hi guys,<br>&gt;<br>&gt; I've posted this question in the MapServer list, but I did not get any
<br>&gt; reasonable solution, I'd like to post it here again, hope somebody<br>&gt; can give me some clues.<br>&gt;<br>&gt; I have a subfolder of GIF raster image, and each GIF file has a<br>&gt; corresponding TAB file, which specifies the coordinate information for
<br>&gt; the GIF image, the content of the TAB is something like this:<br>&gt;<br>&gt; ***<br>&gt; !table<br>&gt; !version 300<br>&gt; !charset WindowsLatin1<br>&gt;<br>&gt; Definition Table<br>&gt;&nbsp;&nbsp; File &quot;m_1_1_1000.gif&quot;
<br>&gt;&nbsp;&nbsp; Type &quot;RASTER&quot;<br>&gt;&nbsp;&nbsp; (5.290517,48.2308475) (1392,987) Label &quot;Pt 1&quot;,<br>&gt;&nbsp;&nbsp; (5.25001439194036,48.25) (0,0) Label &quot;Pt 2&quot;,<br>&gt;&nbsp;&nbsp; (5.25001439194036 ,48.211695) (0,1974) Label &quot;Pt 3&quot;,
<br>&gt;&nbsp;&nbsp; (5.33101960805964,48.25) (2784,0) Label &quot;Pt 4&quot;,<br>&gt;&nbsp;&nbsp; (5.33101960805964,48.211695) (2784,1974) Label &quot;Pt 5&quot;<br>&gt;&nbsp;&nbsp; CoordSys Earth Projection 1, 104<br>&gt;&nbsp;&nbsp; Units &quot;degree&quot;<br>
&gt; ***<br>&gt;<br>&gt; but if I perform the gdaltindex command to create a tile shapefile for<br>&gt; the images, an error occurs:<br>&gt;<br>&gt;&nbsp;&nbsp;&gt;&gt;no georeferencing info available for the images file, performance
<br>&gt; will be skipped.<br>&gt;<br>&gt; and I also get some info from the &quot;Raster Data Access&quot; document, &quot;The<br>&gt; only way to georeference GIF files is with a world file. &quot;, is it really<br>&gt; so?if it's true, there will be a huge project for me to change all the
<br>&gt; TAB files.<br>&gt;<br>&gt; hope that someone can help.<br>&gt;<br>&gt; thanks so much for any info.<br><br>Zhonghai,<br><br>As I think was explained on the mapserver list, GDAL does not currently<br>support mapinfo tab files as a source of georeferencing for raster files.
<br>So you will need to manually or by script create world files for from the<br>.tab files.<br><br>Good luck,<br><br>--<br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up&nbsp;&nbsp; | Frank Warmerdam, 
<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/~warmerdam">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush&nbsp;&nbsp;&nbsp;&nbsp;| President OSGF, 
<a href="http://osgeo.org">http://osgeo.org</a><br><br></blockquote></div><br>