<div>Hi guys,</div>
<div> </div>
<div>I get some info again from the "Raster Dat Access" document, and it indicates that:</div>
<div> </div>
<div>****</div>
<div>GIF: If GD is configured with GIF (OUTPUT=GIF) support, then MapServer will also be able to read GIF files for raster layers. The only way to georeference GIF files is with a world file.
<p class="last">If GD is not configured with GIF support, it may still be available in GDAL</p>
<p class="last">****</p>
<p class="last">Is it true that GIF raster images can only be georeferenced with a worldfiles? TAB files are not supported?</p>
<p class="last">zhonghai</p></div>
<div><span class="gmail_quote">On 5/22/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>
<p>Hi guys,</p>
<p>I've found a way to do that, like this:</p>
<p>c:\.....rasterdata>dir /b /s tem\*.gif > index.txt<br>c:\.....rasterdata>gdaltindex index.shp --optfile index.txt</p>
<p>and this works well.</p>
<p>but georeferencing information in the TAB file can not be found by the command, an error message is something like:</p>
<p>>>>no georeferencing info is available, gdaltindex performance will be skipped.</p>
<p>actually there is georeferencing info in the TAB file, for each small gif image there is a corresponding TAB, e.g.:<br>***<br>!table<br>!version 300<br>!charset WindowsLatin1</p>
<p>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>***</p>
<p>why can it not be read by gdal?</p>
<p>thanks a lot</p></div>
<div><span class="sg">
<div>zhonghai</div></span></div>
<div><span class="e" id="q_10b5c79e06b3e7e0_2">
<div> </div>
<div><span class="gmail_quote">On 5/22/06, <b class="gmail_sendername">Mateusz Loskot</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mateusz@loskot.net" target="_blank">mateusz@loskot.net</a>
> wrote:</span></div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Rahkonen Jukka wrote:<br>> Very first you can try giving the full path to your images, I mean<br>> c:\...\rasterdata\tem\*.gif. Let's see what happens.
<br><br>It should not be the case.<br>I've checked gdaltindex from latest FWTools on Windows and<br>it works with relative and absolute paths.<br>Also, you can use forward or back slash:<br><br>gdaltindex test.shp data/*.tif
<br><br>gdaltindex test.shp data\*.tif<br><br>Although, gdaltindex usage message suggests to use the former version<br>with Unix-like forward slash.<br><br>Cheers<br>--<br>Mateusz Łoskot<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mateusz.loskot.net/" target="_blank">
http://mateusz.loskot.net</a><br></blockquote></div><br></span></div></blockquote></div><br>