<div>Hi All,</div>
<div> </div>
<div>yesterday I've solve this problem with the first solution. I summarize below how I've done it.</div>
<div> </div>
<div>first of all, the second soluttion is not possible, because if you use the gdal_merge.py command, the projection information i.e. wld files are required at the same time.</div>
<div> </div>
<div>I've programmed with VB6:</div>
<div>1. read the *.txt file into the TextStream object</div>
<div>2. analyse the TextStream, get the useful info for the worldfile</div>
<div>3. write the data with the roration information to a new text file with the .wld extension</div>
<div>4. convert all the GIFs to TIFs --- this step is optional</div>
<div>5. tile the images</div>
<div> </div>
<div>that's it.</div>
<div> </div>
<div>best regards</div>
<div> </div>
<div>zhonghai<br><br> </div>
<div><span class="gmail_quote">On 5/23/06, <b class="gmail_sendername">Zhonghai Wang</b> <<a href="mailto:zhonghaiw@gmail.com">zhonghaiw@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<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><span class="sg">
<div> </div>
<div>zhonghai<br> </div></span></div>
<div><span class="e" id="q_10b61d54a000bf6b_2">
<div><span class="gmail_quote">On 5/23/06, <b class="gmail_sendername">Frank Warmerdam</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:warmerdam@pobox.com" target="_blank">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 onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://pobox.com/~warmerdam" target="_blank">
http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush | President OSGF, <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://osgeo.org/" target="_blank">http://osgeo.org</a><br><br></blockquote>
</div><br></span></div></blockquote></div><br>