NAMEgdaltindex - gdaltindex builds a shapefile as a raster tileindex
SYNOPSISgdaltindex [-tileindex field_name] [-write_absolute_path] [-skip_different_projection] index_file [gdal_file]*
DESCRIPTIONThis program builds a shapefile with a record for each input raster file, an attribute containing the filename, and a polygon geometry outlining the raster. This output is suitable for use with MapServer as a raster tileindex. o The shapefile (index_file) will be created if it doesn't already exist, otherwise it will append to the existing file. o The default tile index field is 'location'. o Raster filenames will be put in the file exactly as they are specified on the commandline unless the option -write_absolute_path is used. o If -skip_different_projection is specified, only files with same projection ref as files already inserted in the tileindex will be inserted. o Simple rectangular polygons are generated in the same coordinate system as the rasters.
EXAMPLEgdaltindex doq_index.shp doq/*.tif
AUTHORFrank Warmerdam <firstname.lastname@example.org> GDALTINDEX(1)