Usage
gdaltindex(index_file, gdal_file, f, tileindex, write_absolute_path,
skip_different_projection, t_srs, src_srs_name, src_srs_format, lyr_name,
output_Vector = FALSE, ignore.full_scan = TRUE, verbose = FALSE)
Arguments
index_file
Character. The name of the output file to create/append to. The default shapefile will be created if it doesn't already exist, otherwise it will append to the existing file.
gdal_file
Character. The input GDAL raster files, can be multiple files separated by spaces. Wildcards my also be used. Stores the file locations in the same style as specified here, unless -write_absolute_path option is also used.
f
Character. format. The OGR format of the output tile index file. Default is Esri Shapefile.
tileindex
Character. field_name. The output field name to hold the file path/location to the indexed rasters. The default tile index field name is location.
write_absolute_path
Logical. The absolute path to the raster files is stored in the tile index file. By default the raster filenames will be put in the file exactly as they are specified on the command line.
skip_different_projection
Logical. Only files with same projection as files already inserted in the tileindex will be inserted (unless -t_srs is specified). Default does not check projection and accepts all inputs.
t_srs
Character. target_srs. Geometries of input files will be transformed to the desired target coordinate reference system. Using this option generates files that are not compatible with MapServer < 6.4. Default creates simple rectangular polygons in the same
src_srs_name
Character. field_name. The name of the field to store the SRS of each tile. This field name can be used as the value of the TILESRS keyword in MapServer >= 6.4.
src_srs_format
Character. type. The format in which the SRS of each tile must be written. Types can be AUTO, WKT, EPSG, PROJ.
lyr_name
Character. name. Layer name to create/append to in the output tile index file.
output_Vector
Logical. Return output dst_filename as a Spatial* object. Currently only works with f="ESRI Shapefile".
ignore.full_scan
Logical. If FALSE, perform a brute-force scan if other installs are not found. Default is TRUE.
verbose
Logical. Enable verbose execution? Default is FALSE.