[Gdal-dev] does gdaltindex support MapInfo GIF+GIF format?

Zhonghai Wang zhonghaiw at gmail.com
Tue May 23 11:20:36 EDT 2006


Hi Frank,

I am trying now the following two options:

1. use script to create worldfiles for the GIFs,
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.

thanks

zhonghai

On 5/23/06, Frank Warmerdam <warmerdam at pobox.com> wrote:
>
> Zhonghai Wang wrote:
> > Hi guys,
> >
> > I've posted this question in the MapServer list, but I did not get any
> > reasonable solution, I'd like to post it here again, hope somebody
> > can give me some clues.
> >
> > I have a subfolder of GIF raster image, and each GIF file has a
> > corresponding TAB file, which specifies the coordinate information for
> > the GIF image, the content of the TAB is something like this:
> >
> > ***
> > !table
> > !version 300
> > !charset WindowsLatin1
> >
> > Definition Table
> >   File "m_1_1_1000.gif"
> >   Type "RASTER"
> >   (5.290517,48.2308475) (1392,987) Label "Pt 1",
> >   (5.25001439194036,48.25) (0,0) Label "Pt 2",
> >   (5.25001439194036 ,48.211695) (0,1974) Label "Pt 3",
> >   (5.33101960805964,48.25) (2784,0) Label "Pt 4",
> >   (5.33101960805964,48.211695) (2784,1974) Label "Pt 5"
> >   CoordSys Earth Projection 1, 104
> >   Units "degree"
> > ***
> >
> > but if I perform the gdaltindex command to create a tile shapefile for
> > the images, an error occurs:
> >
> >  >>no georeferencing info available for the images file, performance
> > will be skipped.
> >
> > and I also get some info from the "Raster Data Access" document, "The
> > only way to georeference GIF files is with a world file. ", is it really
> > so?if it's true, there will be a huge project for me to change all the
> > TAB files.
> >
> > hope that someone can help.
> >
> > thanks so much for any info.
>
> Zhonghai,
>
> As I think was explained on the mapserver list, GDAL does not currently
> support mapinfo tab files as a source of georeferencing for raster files.
> So you will need to manually or by script create world files for from the
> .tab files.
>
> Good luck,
>
> --
>
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | President OSGF, http://osgeo.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060523/a561572b/attachment.html


More information about the Gdal-dev mailing list