[Gdal-dev] modis sinusoidal tiles: bug in gdal?

Norman Vine nhv at cape.com
Tue Nov 6 09:26:14 EST 2007


Vincent Schut writes:
> 
> Frank Warmerdam wrote:
> > Vincent Schut wrote:
> >> The puzzle:
> >> Then I tried to merge some modis tiles by using VRT, using 
> vrt_merge.py.
> >> I was very puzzeled when I got an error message telling me 
> it wouldn't
> >> merge my tiles because they did not have the same scale. 
> >
> > Vincent,
> >
> > vrt_merge.py isn't part of GDAL - could you provide a pointer to the
> > version you are using?
> I know that. It is however a very valuable tool for me :-)
> I think I picked it up from the ml somewhere sometime long ago... Not
> easy to provide a pointer. Might have been this one:
> http://www.vso.cape.com/~nhv/files/gdal/gdal_vrtmerge.py, but I'm not
> sure. And I've adapted it to correct for an index error in the
> colortable support somewhere, if I remember correctly. And for
> ngbindings instead of ogbindings. I can send you a copy if you'd like.


AFAIK this is now part of the gdal distribution

http://trac.osgeo.org/gdal/browser/trunk/gdal/pymod/samples/gdal_vrtmerge.py

I can't remember when I fixed the 'precision' to match the GDAL 'C'
expectations

So I would try the version above might get lucky  :-)

Cheers

Norman




More information about the gdal-dev mailing list