<div>Hi Frank,</div>
<div> </div>
<div>I am trying now the following two options:</div>
<div> </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 "TILED=YES" should be good enough for my application.</div>
<div> </div>
<div>thanks</div>
<div> </div>
<div>zhonghai<br> </div>
<div><span class="gmail_quote">On 5/23/06, <b class="gmail_sendername">Frank Warmerdam</b> <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>> 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>> Hi guys,<br>><br>> I've posted this question in the MapServer list, but I did not get any
<br>> reasonable solution, I'd like to post it here again, hope somebody<br>> can give me some clues.<br>><br>> I have a subfolder of GIF raster image, and each GIF file has a<br>> corresponding TAB file, which specifies the coordinate information for
<br>> the GIF image, the content of the TAB is something like this:<br>><br>> ***<br>> !table<br>> !version 300<br>> !charset WindowsLatin1<br>><br>> Definition Table<br>> File "m_1_1_1000.gif"
<br>> Type "RASTER"<br>> (5.290517,48.2308475) (1392,987) Label "Pt 1",<br>> (5.25001439194036,48.25) (0,0) Label "Pt 2",<br>> (5.25001439194036 ,48.211695) (0,1974) Label "Pt 3",
<br>> (5.33101960805964,48.25) (2784,0) Label "Pt 4",<br>> (5.33101960805964,48.211695) (2784,1974) Label "Pt 5"<br>> CoordSys Earth Projection 1, 104<br>> Units "degree"<br>
> ***<br>><br>> but if I perform the gdaltindex command to create a tile shapefile for<br>> the images, an error occurs:<br>><br>> >>no georeferencing info available for the images file, performance
<br>> will be skipped.<br>><br>> and I also get some info from the "Raster Data Access" document, "The<br>> only way to georeference GIF files is with a world file. ", is it really<br>> so?if it's true, there will be a huge project for me to change all the
<br>> TAB files.<br>><br>> hope that someone can help.<br>><br>> 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 | 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 | President OSGF,
<a href="http://osgeo.org">http://osgeo.org</a><br><br></blockquote></div><br>