gdaltindex problem

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Wed May 31 05:49:20 PDT 2006


Shouldn't you use a DOS for loop, eg:

for %i in (path_to_data\*.ecw) do gdaltindex name_of_shapefile %i

?

Best regards,
Bart

>                      Dear MapServer Users,     I am trying to create an
> index for a mosaic of ERS images, when I submit the
> command a shapefile and dbf file are generated but
> when I open the dbf file there are no pathways to the
> ERS images specified even though I specify this is
> the command e.g.      gdaltindex.exe
> name_of_shapefile path_to_data\*.ecw     I have
> checked that ecw is supported by using the gdalinfo
> command and mapser.exe –v command.     I have
> also tried the gdaltindex command for just one image
> in the directory to see if it was a corrupt file that
> was causing the issue but even for one file the
> shapefile index is not being generated correctly with
> no pathway in the dbf specified.      If anyone has
> any suggestions for why this might be happening I
> would really appreciate the advice. This
> functionality worked fine on the previous server but
> now I have installed GDAL on a new windows server
> this issue has arisen??     Gail Millin     Geodata
> Interoperability Support Officer  The University  of
> Manchester  Kilburn Building  Oxford Road  M13 9PL
>  Tel: +44 (0) 161 275 0581  E-mail:
> Gail.Millin at manchester.ac.uk  Website:
> http://www.landmap.ac.uk



More information about the MapServer-users mailing list